Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.6.3
-
None
-
None
-
I linked the Qt libraries static, so the right Qt libraries (4.6.3) are used at link- and runtime.
I installed the following packages:
* GCC the sysytem GNU compiler
* GCC C++ the system GNU C compiler
* make
* xorg-x11-devel Include Files and Libraries mandatory for X11 Development
* GTK2-development files (for GTK-theme)
* CUPS development files (for printing)
I configured Qt as follows:
./configure -prefix /usr/local/Trolltech/Qt-static-4.6.3 -static -release -fast -no-qt3support -largefile -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -no-exceptions -no-multimedia -no-javascript-jit -no-script -cups -nomake demos -nomake examples -nomake tools -no-webkit -no-phonon -no-phonon-backend -no-xmlpatterns -no-declarative -no-dbus -gtkstyle -no-opengl -no-openvg -no-nas-sound -no-scripttools -no-openssl -no-nis
On ubuntu & Gnome I get the native file-dialog. On openSUSE & KDE4 not.I linked the Qt libraries static, so the right Qt libraries (4.6.3) are used at link- and runtime. I installed the following packages: * GCC the sysytem GNU compiler * GCC C++ the system GNU C compiler * make * xorg-x11-devel Include Files and Libraries mandatory for X11 Development * GTK2-development files (for GTK-theme) * CUPS development files (for printing) I configured Qt as follows: ./configure -prefix /usr/local/Trolltech/Qt-static-4.6.3 -static -release -fast -no-qt3support -largefile -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -no-exceptions -no-multimedia -no-javascript-jit -no-script -cups -nomake demos -nomake examples -nomake tools -no-webkit -no-phonon -no-phonon-backend -no-xmlpatterns -no-declarative -no-dbus -gtkstyle -no-opengl -no-openvg -no-nas-sound -no-scripttools -no-openssl -no-nis On ubuntu & Gnome I get the native file-dialog. On openSUSE & KDE4 not.
Description
I configured, and compiled the Qt-libraries from source and static.
I linked the Qt-libraries static into my application.
I use the static function of QFileDialog getOpenFileName() in order to get the native filedialogs.
This works with windows XP and with Ubuntu & Gnome. (Qt libs are linked static!)
The problem is that is does not work on openSUSE & KDE4.
On KDE4 I get the nonnative Qt QFileDialog.