Building Qt5 with Vs2012 - native opengl
Hello, I am trying to build qt5 from source with vs2012. I thought I could just import the .pro file and build it directly in Vs2012. Fortunately I got a error message which reminded me of the ANGLE...
View ArticleUIC bug?
I just noticed the following platform-specific #ifdefs in some of the uic-generated code in my project: verticalLayout = new QVBoxLayout(); #ifndef Q_OS_MAC...
View ArticleHow to implement mouse gesture by python or pyqt ?
It would be better to give me some examples .thanks in advance ! P.S. which module or lib are needed ?
View ArticleI Need help in cross compiling Qt with firebird step by step
How do I cross compile and set up Qt Configuration with firebird? I’m currently using this configuration: ./configure -embedded arm -prefix /mypath -xplatform qws/linux-arm-none-gnueabi -qt-sql-ibase I...
View Articlehow to add dependency to a lib?
I found when my *.lib is re-created, the main project will not auto-build. How to add dependency to a lib file in .pro?
View ArticleQt5 - QODBC driver not loaded error even though ODBC driver is available
Hi, I am trying to use ODBC driver in my Qt 5.0 project. I compiled QODBC driver and copied the driver dlls to the Qt\Qt5.0.0\5.0.0\msvc2010\plugins\sqldrivers folder. When I try the following code....
View ArticleAdd new, C++ class, can not find QGLWidget in Base class scroll list
Hi, I am a newbie and following opengl tutorial in below link, http://www.thasler.org/blog/?p=10 but, my Qt Creator do not showing QGLWidget in C++ Class Wizard, do I need to install something? or is...
View ArticleBest source for MinGW
I am looking to set up Qt 4.8 using MinGW tools. There appears to be various sources to get the compiler and set it up. Is there a preferred location to set up the MinGW compiler for Qt? I currently...
View ArticleCreate a dialog box with QDesigner
Regards I am working with QDesigner to create a simple dialog box, as yet not allocate space to create the effect you want. I want to create a dialog box divided into two parts, where the first occupy...
View Articleanimation when changing qml pages
Hello, How are you? I need help about adding animation when changing qml pages. How can I manage to do that please?. thanks in advance.
View ArticleProject manager file for VS10E
Gtkmm has its own project manager file for VS10E, that makes things very easy for us, is there something similar in Qt5? TIA
View ArticleMy app hangs when i try custom slots
With that really simple code the app hangs when i click the button, but the examples included in QT works fine, and i don’t see differences. I’ve tryed using different widgets with and without layouts,...
View ArticleHow to remove a file which has opended by other app
I know that linux can remove a file in using by system support ,but how can I do it use Qt in windows? QFile::remove it dosen’t work. any help, thanks!
View ArticleIs this a bug on the Model-View (QTableView-QSqlQueryModel)?
Last time on one of my projects I encountered an odd problem. I used QTableView and QSqlQueryModel. At first when it is created, “currentIndex” will be NULL (not point to any indexes/items) since no...
View Article[Solved] How to get the KeyPressEvent for . (Dot) key ?
Hi… I have a QLineEdit in that if I enter a . (Dot), That . (Dot Value) should be changed to “ (Quote symbol) in the Line Edit. I Tried using the Qt::Key_Period for getting the . (Dot value). But its...
View ArticleCompilation with QT5.0 and Mac Os 10.8
Hello all, I am writing an application with QT5 and Windows and this morning I am trying to build this application for Mac Os 10.8 but I am taking an error :...
View ArticleReversing the Alpha Blending
Hello, My embedded graphics ASIC uses 0=opaque and 255=transparent, which is the opposite of QT. Therefore I currently reverse this in my custom screen driver (255-alpha). Is there a way to make QT...
View ArticleWhatsthis for application main window
Hi How can I implement WhatsThis functionality for my applications main window? I have a simple app with some buttons; I set the whats this text in designer but they dont show when I run the app Any...
View Articlewhere to report qt blog plagiarism?
Hi, recently I was looking for some info about QHeaderView and found this blog page [cprogramingbyvinodannu.blogspot.com.es]. It contains some useful information and I asked a couple of questions....
View Articleتغییر جهت QTableWidget
سلام میخوام جهت QTableWidget رو تغییر بدم. از این دستور استفاده کردم: qw->setLayoutDirection(Qt::RightToLeft); اما جدول رو خراب کرد! تصویر: حاشیه سمت راست جدول رفته – وقتی سلولی رو انتخاب میکنم،...
View Article