Re: QT Designer errors (SOLVED)
Jan Schledermann wrote: Marc Shapiro wrote: Jan Schledermann wrote: Those headers should reside in /usr/include/qt3, in a standard debian install. snip the program compiled without error, but... Can anyone tell me what I need to set in Designer so that it will use libqt-mt automatically, for all compiles, so that I don't have to remember to manually change Makefile each time? What I always do, is to only install the multi-threaded stuff. Then yu get it by default. Compiling other peoples stuff most of the time involves running the configure script which also correctly sees the mt libraries. regards Jan I only have the multi-threaded stuf installed. I just tried it again, after deleting the executable and Makefile, and it worked correctly. I think what must have happened is that I originally ran qmake before I realised that I did not have libqt3-mt-dev installed. It, therefore created a makefile using the default libqt3, instead of libqt3-mt. Now that I have the -dev package installed it seems to be creating Makefile correctly. Thanks, everyone. -- Marc Shapiro No boom today. Boom tomorrow. There's always a boom tomorrow. What?! Look, somebody's got to have some damn perspective around here. Boom. Sooner or later ... boom! - Susan Ivanova: B5 - Grail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
QT Designer errors
I am trying to go through the Quick Start tutorial for QT Designer, but I am receiving errors. I have gone through the entire Qucick Start section, up through running qmake, with no errors. The Makefile has been created. When I try to run make, however, I get the following errors: :~/Projects/metric$ make /usr/share/qt3/bin/uic conversionform.ui -o .ui/conversionform.h g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/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:1: /usr/include/qt3/qglobal.h:756:21: qconfig.h: No such file or directory /usr/include/qt3/qglobal.h:766:22: qmodules.h: No such file or directory In file included from main.cpp:2: .ui/conversionform.h:27: error: base class `QDialog' has incomplete type .ui/conversionform.h:31: error: type specifier omitted for parameter `WFlags' .ui/conversionform.h:31: error: parse error before `=' token .ui/conversionform.h:27: warning: `class ConversionForm' has virtual functions but non-virtual destructor main.cpp: In function `int main(int, char**)': main.cpp:8: error: `show' undeclared (first use this function) main.cpp:8: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [.obj/main.o] Error 1 :~/Projects/metric$ Am I missing something? I can not find a file named qmodules.h, nor one named qconfig.h, anywhere on my system. I have tried uninstalling and reinstalling QT Designer, to no avail. I have looked for a package containing either of these files with dpkg -S, also with no luck. Does anyone know what I am missing? What have I done wrong? Is this a bug that should be reported? -- Marc Shapiro No boom today. Boom tomorrow. There's always a boom tomorrow. What?! Look, somebody's got to have some damn perspective around here. Boom. Sooner or later ... boom! - Susan Ivanova: B5 - Grail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QT Designer errors
Marc Shapiro schrieb: I am trying to go through the Quick Start tutorial for QT Designer, but I am receiving errors. I have gone through the entire Qucick Start section, up through running qmake, with no errors. The Makefile has been created. When I try to run make, however, I get the following errors: :~/Projects/metric$ make /usr/share/qt3/bin/uic conversionform.ui -o .ui/conversionform.h g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/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:1: /usr/include/qt3/qglobal.h:756:21: qconfig.h: No such file or directory /usr/include/qt3/qglobal.h:766:22: qmodules.h: No such file or directory Am I missing something? I can not find a file named qmodules.h, nor one named qconfig.h, anywhere on my system. I have tried uninstalling and reinstalling QT Designer, to no avail. I have looked for a package containing either of these files with dpkg -S, also with no luck. AFAIK, dpkg -S gives you only a file-package mapping for files which has been already installed on your system. Since these files are missing on your system, dpkg -S can not give the package where these files are contained. Use apt-file instead (you should do an apt-file update before using it). apt-file search your-missing-file told me that these two files belong to the libqt3-mt-dev package (I use testing/unstable). Maybe you like to (re?)install this package. HTH, Andre -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QT Designer errors
Marc Shapiro wrote: I am trying to go through the Quick Start tutorial for QT Designer, but snip Am I missing something? I can not find a file named qmodules.h, nor one named qconfig.h, anywhere on my system. I have tried uninstalling and reinstalling QT Designer, to no avail. I have looked for a package containing either of these files with dpkg -S, also with no luck. Does anyone know what I am missing? What have I done wrong? Is this a bug that should be reported? Those headers should reside in /usr/include/qt3, in a standard debian install. The package providing these hearders is: libqt3-mt-dev. I suppose that if you are not using the multi-threaded model they would be in libqt3-dev. Best regards Jan -- ** Do not use the reply-to address. It'll end up in the trash can ** Mail me at: janATschledermann.orREMOVE_THISg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QT Designer errors
Marc Shapiro wrote: I am trying to go through the Quick Start tutorial for QT Designer, but I am receiving errors. I have gone through the entire Qucick Start section, up through running qmake, with no errors. The Makefile has been created. When I try to run make, however, I get the following errors: :~/Projects/metric$ make /usr/share/qt3/bin/uic conversionform.ui -o .ui/conversionform.h g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/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:1: /usr/include/qt3/qglobal.h:756:21: qconfig.h: No such file or directory /usr/include/qt3/qglobal.h:766:22: qmodules.h: No such file or directory snip You did not specify what you have installed. But on Sarge with: ii libqt3-dev 3.3.4-3Qt development files ii libqt3-headers 3.3.4-3Qt3 header files ii libqt3c102 3.3.4-3Qt GUI Library, Version 3 ii libqt3c102-mt 3.3.4-3Qt GUI Library (Threaded runtime version), Version 3 ii libqthreads-12 1.6.7-1QuickThreads library for Guile and ii qt3-dev-tools 3.3.4-3Qt3 development tools ii qt3-doc3.3.4-3Qt3 API documentation I have: [EMAIL PROTECTED]:/usr/share/qt3/include$ ls -l qconf* -rw-r--r-- 1 root root 403 2005-04-15 08:39 qconfig.h H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QT Designer errors
Jan Schledermann wrote: Those headers should reside in /usr/include/qt3, in a standard debian install. The package providing these hearders is: libqt3-mt-dev. I suppose that if you are not using the multi-threaded model they would be in libqt3-dev. Thanks, Jan (and also Andre), I had neglected to install the -dev package. It seems to me that it should be included as a dependancy for QT Designer. Installing libqt3-mt-dev solved that problem, but Makefile was set up to use libqt, instead of libqt-mt. I changed that line and the program compiled without error, but... Can anyone tell me what I need to set in Designer so that it will use libqt-mt automatically, for all compiles, so that I don't have to remember to manually change Makefile each time? -- Marc Shapiro No boom today. Boom tomorrow. There's always a boom tomorrow. What?! Look, somebody's got to have some damn perspective around here. Boom. Sooner or later ... boom! - Susan Ivanova: B5 - Grail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QT Designer errors
Marc Shapiro wrote: Jan Schledermann wrote: Those headers should reside in /usr/include/qt3, in a standard debian install. snip the program compiled without error, but... Can anyone tell me what I need to set in Designer so that it will use libqt-mt automatically, for all compiles, so that I don't have to remember to manually change Makefile each time? What I always do, is to only install the multi-threaded stuff. Then yu get it by default. Compiling other peoples stuff most of the time involves running the configure script which also correctly sees the mt libraries. regards Jan -- ** Do not use the reply-to address. It'll end up in the trash can ** Mail me at: janATschledermann.orREMOVE_THISg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]