[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




Reply to: