Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
On 18.11.05 13:44:29, Brian Nelson wrote: > Andreas Pakulat <[EMAIL PROTECTED]> writes: > > On 18.11.05 10:20:54, Brian Nelson wrote: > >> Andreas Pakulat <[EMAIL PROTECTED]> writes: > >> > >> > Building QT4 apps using > >> > > >> > CONFIG += debug > >> > > >> > breaks the loading of any icons in the application. Remove debug and > >> > everythings fine. This not only happens to the icons created for that > >> > app, but also for the icons in standard dialog, like the QFileDialog. > >> > >> Hmm, I can't reproduce this. Can you test some of the examples from Qt > >> and see if you can reproduce it with any of those. The stuff under > >> mainwindows/ seem like good candidates. > > > > Sure, just take the "application" example, add > > > > CONFIG += debug > > > > and run qmake-qt4 && make. The program won't display any icon, except the > > one for paste. This is with an up to date sid and I'm having Qt3 as > > default Qt (i.e. qmake == qmake-qt3). > > > > QTDIR is set to point to /usr/share/qt3, but changing to /usr/share/qt4 > > doesn't help either. > > OK, I see it now. Strange I couldn't reproduce it the first time I > tried. > > I wonder if this is a consequence of this bug: > http://www.trolltech.com/developer/tasktracker.html?method=entry&id=86441 Hi, I thought you might be interested in my findings with the current rc1 of Qt 4.1.0... This bug (33776) seems to be gone, using the application example all icons are shown when building it in debug-only mode (i.e. CONFIG+=debug CONFIG-=release). The problems with the custom widget's plugins are resolved kind of a "strange" way I think. The release-mode-designer still can't load debug-built-plugins, but qmake now has a debug_and_release config option which creates a Makefile, a Makefile.debug and a Makefile.release probably the same as when building Qt4 itself. Then you also need the following CONFIG(debug, debug|release) { unix: TARGET = $$join(TARGET,,,_debug) else: TARGET = $$join(TARGET,,d) } To make the debug-plugin have a "_debug" in it. Then both lib* can reside in the same plugins-dir and designer loads the right one. So the summary is: You can probably close all three bugs when you package the next release, however I'd suggest to add a note to README.Debian that tells the user that debian's packages are built with -debug-and-release config switch and that therefore everybody who needs a debug version of his plugins should add debug_and_release and the above mention CONFIG-lines to the .pro-file. As this is a summary for all three bug reports I CC the other two. Andreas -- Beauty and harmony are as necessary to you as the very breath of life. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
On 18.11.05 13:44:29, Brian Nelson wrote: > Andreas Pakulat <[EMAIL PROTECTED]> writes: > > On 18.11.05 10:20:54, Brian Nelson wrote: > >> Andreas Pakulat <[EMAIL PROTECTED]> writes: > >> > >> > Building QT4 apps using > >> > > >> > CONFIG += debug > >> > > >> > breaks the loading of any icons in the application. Remove debug and > >> > everythings fine. This not only happens to the icons created for that > >> > app, but also for the icons in standard dialog, like the QFileDialog. > >> > >> Hmm, I can't reproduce this. Can you test some of the examples from Qt > >> and see if you can reproduce it with any of those. The stuff under > >> mainwindows/ seem like good candidates. > > > > Sure, just take the "application" example, add > > > > CONFIG += debug > > > > and run qmake-qt4 && make. The program won't display any icon, except the > > one for paste. This is with an up to date sid and I'm having Qt3 as > > default Qt (i.e. qmake == qmake-qt3). > > > > QTDIR is set to point to /usr/share/qt3, but changing to /usr/share/qt4 > > doesn't help either. > > OK, I see it now. Strange I couldn't reproduce it the first time I > tried. > > I wonder if this is a consequence of this bug: > http://www.trolltech.com/developer/tasktracker.html?method=entry&id=86441 It's not, at least not really. I just fetched a Qt4.1 snapshot (20051118) and built that using -debug-and-release. Rebuilding the application example against it I still have only 1 icon, only now it is the one for new file, instead of paste. Let's hope that Trolltech will have a fix in the final release (I have heard a rc1 was sent to the customers this week). Andreas -- Afternoon very favorable for romance. Try a single person for a change. pgpUmNqFNXOOT.pgp Description: PGP signature
Processed: Re: Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
Processing commands for [EMAIL PROTECTED]: > tag 337764 confirmed Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading There were no tags set. Tags added: confirmed > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
tag 337764 confirmed thanks Andreas Pakulat <[EMAIL PROTECTED]> writes: > On 18.11.05 10:20:54, Brian Nelson wrote: >> Andreas Pakulat <[EMAIL PROTECTED]> writes: >> >> > Building QT4 apps using >> > >> > CONFIG += debug >> > >> > breaks the loading of any icons in the application. Remove debug and >> > everythings fine. This not only happens to the icons created for that >> > app, but also for the icons in standard dialog, like the QFileDialog. >> >> Hmm, I can't reproduce this. Can you test some of the examples from Qt >> and see if you can reproduce it with any of those. The stuff under >> mainwindows/ seem like good candidates. > > Sure, just take the "application" example, add > > CONFIG += debug > > and run qmake-qt4 && make. The program won't display any icon, except the > one for paste. This is with an up to date sid and I'm having Qt3 as > default Qt (i.e. qmake == qmake-qt3). > > QTDIR is set to point to /usr/share/qt3, but changing to /usr/share/qt4 > doesn't help either. OK, I see it now. Strange I couldn't reproduce it the first time I tried. I wonder if this is a consequence of this bug: http://www.trolltech.com/developer/tasktracker.html?method=entry&id=86441 Examining the strace, it does look like it's loading both the debug and non-debug versions of the plugins. -- Captain Logic is not steering this tugboat. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
On 18.11.05 10:20:54, Brian Nelson wrote: > Andreas Pakulat <[EMAIL PROTECTED]> writes: > > > Building QT4 apps using > > > > CONFIG += debug > > > > breaks the loading of any icons in the application. Remove debug and > > everythings fine. This not only happens to the icons created for that > > app, but also for the icons in standard dialog, like the QFileDialog. > > Hmm, I can't reproduce this. Can you test some of the examples from Qt > and see if you can reproduce it with any of those. The stuff under > mainwindows/ seem like good candidates. Sure, just take the "application" example, add CONFIG += debug and run qmake-qt4 && make. The program won't display any icon, except the one for paste. This is with an up to date sid and I'm having Qt3 as default Qt (i.e. qmake == qmake-qt3). QTDIR is set to point to /usr/share/qt3, but changing to /usr/share/qt4 doesn't help either. Andreas -- Among the lucky, you are the chosen one. pgpCjRVke01bA.pgp Description: PGP signature
Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
Andreas Pakulat <[EMAIL PROTECTED]> writes: > Building QT4 apps using > > CONFIG += debug > > breaks the loading of any icons in the application. Remove debug and > everythings fine. This not only happens to the icons created for that > app, but also for the icons in standard dialog, like the QFileDialog. Hmm, I can't reproduce this. Can you test some of the examples from Qt and see if you can reproduce it with any of those. The stuff under mainwindows/ seem like good candidates. You can find the examples in the Qt source, or in the new qt4-doc package I'm about to upload (4.0.1-5). -- Captain Logic is not steering this tugboat. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337764: libqt4-debug: Building apps in debug mode breaks image loading
Package: libqt4-debug Version: 4.0.1-4 Severity: important Hi, Building QT4 apps using CONFIG += debug breaks the loading of any icons in the application. Remove debug and everythings fine. This not only happens to the icons created for that app, but also for the icons in standard dialog, like the QFileDialog. Andreas -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-cherry+radeon+ipw2100+ieee80211 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages libqt4-debug depends on: ii libaudio21.7-3 The Network Audio System (NAS). (s ii libc62.3.5-7 GNU C Library: Shared libraries an ii libfontconfig1 2.3.2-1.1 generic font configuration library ii libfreetype6 2.1.10-1FreeType 2 font engine, shared lib ii libgcc1 1:4.0.2-3 GCC support library ii libglu1-xorg [libglu1] 6.8.2.dfsg.1-10 Mesa OpenGL utility library [X.Org ii libice6 6.8.2.dfsg.1-10 Inter-Client Exchange library ii libjpeg626b-10 The Independent JPEG Group's JPEG ii libmysqlclient14 4.1.15-1mysql database client library ii libpng12-0 1.2.8rel-5 PNG library - runtime ii libpq4 8.0.4-2 PostgreSQL C client library ii libsm6 6.8.2.dfsg.1-10 X Window System Session Management ii libstdc++6 4.0.2-3 The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-10 X Window System protocol client li ii libxcursor1 1.1.3-1 X cursor management library ii libxext6 6.8.2.dfsg.1-10 X Window System miscellaneous exte ii libxi6 6.8.2.dfsg.1-10 X Window System Input extension li ii libxinerama1 6.8.2.dfsg.1-10 X Window System multi-head display ii libxrandr2 6.8.2.dfsg.1-10 X Window System Resize, Rotate and ii libxrender1 1:0.9.0-2 X Rendering Extension client libra ii libxt6 6.8.2.dfsg.1-10 X Toolkit Intrinsics ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-10 Mesa 3D graphics library [X.Org] ii xlibs6.8.2.dfsg.1-10 X Window System client libraries m ii zlib1g 1:1.2.3-6 compression library - runtime libqt4-debug recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]