Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
4.8.5
-
None
-
Ubuntu 14.04, everything updated, libqt4 is 4.8.5+git192-g085f851+dfsg-2ubuntu4
$ ldd t1
linux-vdso.so.1 => (0x00007fff0fbfe000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f1025190000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f1024cab000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f10249a6000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1024790000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10243ca000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f102418d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1023f6f000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007f1023d57000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1023a4e000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f1023828000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f102360f000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f102336b000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f102311a000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f1022f12000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f1022cf5000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1022ae5000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f10228db000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f10226c8000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1022393000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f102208d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1021e88000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1021c80000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1025e66000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1021a55000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f10217ef000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f10215eb000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f10213ac000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f10211a4000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1020f9f000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1020d7f000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1020b79000)
$ dpkg -l | grep libqt4
ii libqt4-dbus:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 D-Bus module
ii libqt4-declarative:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 Declarative module
ii libqt4-declarative-gestures:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 gestures QML plugin
ii libqt4-declarative-particles:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 particles QML plugin
ii libqt4-designer:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 designer module
ii libqt4-dev 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 development files
ii libqt4-dev-bin 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 development programs
ii libqt4-gui 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 transitional package for Qt 4 GUI runtime libraries
ii libqt4-help:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 help module
ii libqt4-network:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 network module
ii libqt4-opengl:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 OpenGL library development files
ii libqt4-qt3support:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 3 compatibility library for Qt 4
ii libqt4-script:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 script module
ii libqt4-scripttools:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 script tools module
ii libqt4-sql:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SQL module
ii libqt4-sql-sqlite:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SQLite 3 database driver
ii libqt4-svg:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SVG module
ii libqt4-test:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 test module
ii libqt4-xml:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 XML module
ii libqt4-xmlpatterns:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4Ubuntu 14.04, everything updated, libqt4 is 4.8.5+git192-g085f851+dfsg-2ubuntu4 $ ldd t1 linux-vdso.so.1 => (0x00007fff0fbfe000) libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f1025190000) libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f1024cab000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f10249a6000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1024790000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10243ca000) libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f102418d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1023f6f000) libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007f1023d57000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1023a4e000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f1023828000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f102360f000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f102336b000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f102311a000) libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f1022f12000) libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f1022cf5000) libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1022ae5000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f10228db000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f10226c8000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1022393000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f102208d000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1021e88000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1021c80000) /lib64/ld-linux-x86-64.so.2 (0x00007f1025e66000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1021a55000) libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f10217ef000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f10215eb000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f10213ac000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f10211a4000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1020f9f000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1020d7f000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1020b79000) $ dpkg -l | grep libqt4 ii libqt4-dbus:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 D-Bus module ii libqt4-declarative:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 Declarative module ii libqt4-declarative-gestures:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 gestures QML plugin ii libqt4-declarative-particles:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 particles QML plugin ii libqt4-designer:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 designer module ii libqt4-dev 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 development files ii libqt4-dev-bin 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 development programs ii libqt4-gui 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 transitional package for Qt 4 GUI runtime libraries ii libqt4-help:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 help module ii libqt4-network:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 network module ii libqt4-opengl:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 OpenGL module ii libqt4-opengl-dev 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 OpenGL library development files ii libqt4-qt3support:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 3 compatibility library for Qt 4 ii libqt4-script:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 script module ii libqt4-scripttools:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 script tools module ii libqt4-sql:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SQL module ii libqt4-sql-sqlite:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SQLite 3 database driver ii libqt4-svg:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 SVG module ii libqt4-test:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 test module ii libqt4-xml:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 amd64 Qt 4 XML module ii libqt4-xmlpatterns:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
Description
I have compiled the helloworld program from http://doc.qt.digia.com/4.4/tutorials-tutorial-t1.html
I have two X displays: The normal display of my laptop :0 and an Xnest at :66. For this test I have run Xnest like this "Xnest :66".
My DISPLAY variable ":0". When I start the helloworld program with "./t1 -display :66" it opens on the Xnest display. So far everything seems fine.
If I do "unset DISPLAY" and run the program I get this:
---------------------------
$ ./t1 -display :66
(t1:28278): Gtk-WARNING **: cannot open display:
---------------------------
So providing -display tells the program to use the Xserver at :66 but it obviously still requires $DISPLAY to open on the provided display. It seems that $DISPLAY is opened before -display is parsed.
(that Gtk message is also strange, what is going on there?)
Attachments
Issue Links
- relates to
-
QTBUG-66043 GTK3 theme ignores command line options and terminates application
- Open