Your message dated Fri, 12 May 2006 09:50:10 -0400
with message-id <[EMAIL PROTECTED]>
and subject line libqt3-mt-dev: helloworld program doesn't compile
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: libqt3-mt-dev
Version: 3:3.1.1-8
Severity: normal
Tags:
I tried to compile a simple helloworld program (from a qt tutorial)
to see if the qt stuff was working, but it doesn't seem to be able
to find the right header files, even though they are there. The program
and errors follow (I changed the #include statements from
<qappication.h> to <qt3/qapplication.h> because until I did that it
couldn't seem to find the qt stuff at all.) The files it can't find
(qconfig.h and qfeatures.h) are definitely there, so I don't understand
why it can't find them.
[EMAIL PROTECTED]:~/qttutorials> cat main.cpp
/****************************************************************
* **
* ** Qt tutorial 1
* **
* ****************************************************************/
#include <qt3/qapplication.h>
#include <qt3/qpushbutton.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hello( "Hello world!", 0 );
hello.resize( 100,30 );
a.setMainWidget(&hello);
hello.show();
return;
a.exec();
}
[EMAIL PROTECTED]:~/qttutorials> ls
main.cpp
[EMAIL PROTECTED]:~/qttutorials>
qmake -project
[EMAIL PROTECTED]:~/qttutorials>
qmake
[EMAIL PROTECTED]:~/qttutorials>
make
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG
-I/usr/share/qt3/mkspecs/default -I.
-I. -I/include -o main.o main.cpp
In file included from /usr/include/qt3/qobjectdefs.h:42,
from /usr/include/qt3/qwindowdefs.h:43,
from /usr/include/qt3/qwidget.h:42,
from /usr/include/qt3/qdesktopwidget.h:40,
from /usr/include/qt3/qapplication.h:42,
from main.cpp:7:
/usr/include/qt3/qglobal.h:710:21: qconfig.h: No such file or directory
/usr/include/qt3/qglobal.h:773:23: qfeatures.h: No such file or
directory
make: *** [main.o] Error 1
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux schnauzer 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libqt3-mt-dev depends on:
ii libc6-dev 2.3.1-17 GNU C Library: Development
Librari
ii libfreetype6-dev 2.1.4-4 FreeType 2 font engine,
developmen
ii libjpeg62-dev 6b-8 Development files for the
IJG JPEG
ii libmng-dev 1.0.5-1 M-N-G library (Development
headers
ii libpng12-dev [libpng12-0-dev] 1.2.5.0-4 PNG library - development
ii libqt3-headers 3:3.1.1-8 Qt3 header files
ii libqt3c102-mt 3:3.1.1-8 Qt GUI Library (Threaded
runtime v
ii libxft2-dev 2.1.1-2 advanced font drawing
library for
ii qt3-dev-tools 3:3.1.1-8 Qt3 development tools
ii xlibmesa-gl-dev [libgl-dev] 4.2.1-9 Mesa 3D graphics library
developme
ii xlibmesa-glu-dev [libglu-dev] 4.2.1-9 Mesa OpenGL utility library
develo
ii xlibs-dev 4.2.1-9 X Window System client
library dev
ii zlib1g-dev 1:1.1.4-13 compression library -
development
-- no debconf information
--- End Message ---
--- Begin Message ---
The suggested .pc file changes seem to have been made, and the qt
tutorials seem to build so far. If this is still an issue, let us know!
--- End Message ---