Your message dated Mon, 13 Aug 2007 16:59:14 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#437318: libqt4-dev: q3listview.h is unusable
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libqt4-dev
Version: 4.3.1-2
Severity: important
q3listview.h is unusable; just trying to include it at all results in
compiler errors. Below is a two line reproduction example.
--- q3listview_bug.cpp ---
#include <q3listview.h>
int main() {}
--- q3listview_bug.cpp ---
$ g++ -o q3listview_bug q3listview_bug.cpp -I/usr/include/qt4
-I/usr/include/qt4/Qt3Support
/usr/include/qt4/Qt3Support/q3listview.h:130: error: expected ‘,’ or
‘...’ before ‘&’ token
/usr/include/qt4/Qt3Support/q3listview.h:131: error: ISO C++ forbids
declaration of ‘QColorGroup’ with no type
/usr/include/qt4/Qt3Support/q3listview.h:132: error: expected ‘,’ or
‘...’ before ‘&’ token
/usr/include/qt4/Qt3Support/q3listview.h:132: error: ISO C++ forbids
declaration of ‘QColorGroup’ with no type
/usr/include/qt4/Qt3Support/q3listview.h:133: error: expected ‘,’ or
‘...’ before ‘&’ token
/usr/include/qt4/Qt3Support/q3listview.h:133: error: ISO C++ forbids
declaration of ‘QColorGroup’ with no type
/usr/include/qt4/Qt3Support/q3listview.h:497: error: expected ‘,’ or
‘...’ before ‘&’ token
/usr/include/qt4/Qt3Support/q3listview.h:498: error: ISO C++ forbids
declaration of ‘QColorGroup’ with no type
/usr/include/qt4/Qt3Support/q3listview.h:499: error: expected ‘,’ or
‘...’ before ‘&’ token
/usr/include/qt4/Qt3Support/q3listview.h:500: error: ISO C++ forbids
declaration of ‘QColorGroup’ with no type
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libqt4-dev depends on:
ii libaudio-dev 1.9-2+b1 The Network Audio System (NAS). (d
ii libfreetype6-dev 2.3.5-1+b1 FreeType 2 font engine, developmen
ii libgl1-mesa-dev [libgl- 7.0.1-1 A free implementation of the OpenG
ii libglib2.0-dev 2.12.13-1 Development files for the GLib lib
ii libglu1-mesa-dev [libgl 7.0.1-1 The OpenGL utility library -- deve
ii libglu1-xorg-dev 1:7.2-5 transitional package for Debian et
ii libice-dev 2:1.0.3-3 X11 Inter-Client Exchange library
ii libjpeg62-dev 6b-13 Development files for the IJG JPEG
ii libmng-dev 1.0.9-1 M-N-G library (Development headers
ii libpng12-dev [libpng12- 1.2.15~beta5-2 PNG library - development
ii libpq-dev 8.2.4-3 header files for libpq5 (PostgreSQ
ii libqt4-core 4.3.1-2 Qt 4 core non-GUI functionality ru
ii libqt4-gui 4.3.1-2 Qt 4 core GUI functionality runtim
ii libqt4-qt3support 4.3.1-2 Qt 3 compatibility library for Qt
ii libqt4-sql 4.3.1-2 Qt 4 SQL database module
ii libsm-dev 2:1.0.3-1+b1 X11 Inter-Client Exchange library
ii libsqlite0-dev 2.8.17-2 SQLite development files
ii libx11-dev 2:1.0.3-7 X11 client-side library (developme
ii libxcursor-dev 1:1.1.8-2 X cursor management library (devel
ii libxext-dev 1:1.0.3-2 X11 miscellaneous extensions libra
ii libxft-dev 2.1.12-2 FreeType-based font drawing librar
ii libxi-dev 2:1.1.2-1 X11 Input extension library (devel
ii libxinerama-dev 1:1.0.2-1 X11 Xinerama extension library (de
ii libxmu-dev 1:1.0.3-1 X11 miscellaneous utility library
ii libxrandr-dev 2:1.2.1-1 X11 RandR extension library (devel
ii libxrender-dev 1:0.9.2-1 X Rendering Extension client libra
ii libxt-dev 1:1.0.5-3 X11 toolkit intrinsics library (de
ii x11proto-core-dev 7.0.10-2 X11 core wire protocol and auxilia
ii xlibmesa-gl-dev 1:7.2-5 transitional package for Debian et
ii zlib1g-dev 1:1.2.3.3.dfsg-5 compression library - development
Versions of packages libqt4-dev recommends:
ii qt4-dev-tools 4.3.1-2 Qt 4 development tools
-- no debconf information
--- End Message ---
--- Begin Message ---
On Monday 13 August 2007 04:46:03 [EMAIL PROTECTED] wrote:
> hi,
>
> i write a small example in qt3 using qlistview to reproduce the bug you
> have reported. Then, i used qt3to4 tool to convert it to qt4 and by this
> way to q3listview. the small test app works without problem.
>
> have you added:
> QT += qt3support
>
> in you project file (.pro) ?
Well, we had that, but after some searching in the Qt docs, I found that
a -DQT3_SUPPORT compiler flag was needed. Oddly, this wasn't needed for any
other Qt3Support class that was being used!
Anyway, sorry for the noise, looks like a problem on our end. This had a
couple of us stumped trying to port the cheesetracker to Qt4; it probably
would have worked (added the define automatically) if it used qmake, but it
uses it's own build system.
--
Wesley J. Landaker <[EMAIL PROTECTED]> <xmpp:[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
signature.asc
Description: This is a digitally signed message part.
--- End Message ---