Additional transparent Window when using QFileDialog::getOpenFileName
-
So both Ubuntu's own Qt and the one you compiled yourself gives you this strange window ? Qt 5 also ?
-
Yep I've install QT Creator with QT 4, and then compile QT5 Libs. I've notice this strange windows recently, so I've recompile QT 4 and QT 5 Libs e.g. i've followed this steps http://qt-project.org/wiki/Building_Qt_5_from_Git but it won't work.
-
If you have built Qt 5.2 or greater, it won't work with Qt Creator 2.8.1 you need at least Qt Create 3
-
Qt Creator 2.8.1
Based on Qt 5.0.2 (GCC 4.6.3, 64 bit)Built on Sep 16 2013 at 12:03:05
-
With 2.8.1 you can't run code from 5.2 or greater. Since you have built from Git you should have something like 5.3
-
So, since I can't install QT Creator 3 on linux, all I must to do is completely remove all my QT file (Creator and Libs), and install it from scratch??
-
No need to go that extreme, you can also just build Qt Creator by hand, it's able to handle several Qt versions at the same time
-
But now, with this line (greaterThan(QT_MAJOR_VERSION, 4): QT += widgets) in my .pro file, shouldn't that solve my problem?
-
Hi,
Are you in a virtual machine? VirtualBox is known to cause graphics issues with Qt and OpenGL. (I'm not sure if this is related to your issue though, since you are using widgets)
[quote]But now, with this line (greaterThan(QT_MAJOR_VERSION, 4): QT += widgets) in my .pro file, shouldn’t that solve my problem?[/quote]I don't think that's related to anything discussed in this thread so far.
-
No, I'm using ubuntu every day, so I don't use virtual machine.