-
Junior Member
registered user
QT errors in compiling
why an i getting this qt error when trying to compile a qt program?
i have qt2 and qt3 installed
... [compiling statements] ...
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3, headers /usr/include/qt3 using -mt
checking for moc... not found
configure: error: No Qt meta object compiler (moc) found!
Please check whether you installed Qt correctly.
You need to have a running moc binary.
configure tried to run and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable MOC to the right one before running
configure.
-
compile errors qt header
checking for QT 3.x libraries... /usr/lib
checking for QT 3.x includes... no
configure: error:
I can't find the QT header files.
Install the QT development package, or if you have them installed, override
this check with the --with-qt-includes=... argument, and I'll take your word
for it.
I get the same error, this is from gambas. It compiles fine in Knoppix 1-1-2003. I notice I can install everything with synaptic except libqt3-dev files. apt-get is broken on that one I guess. I that necessary? libqt3-headers are installed.
Please reply here!!!!!!!!!!!!!
-
If apt-get is broken, you could always go straight to the packages website and search for the qt libs. Here's the page you're looking for. http://packages.debian.org/cgi-bin/s...ll&release=all
-
Re: QT errors in compiling

Originally Posted by
athlonthunder
why an i getting this qt error when trying to compile a qt program?
i have qt2 and qt3 installed
... [compiling statements] ...
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3, headers /usr/include/qt3 using -mt
checking for moc... not found
configure: error: No Qt meta object compiler (moc) found!
Please check whether you installed Qt correctly.
You need to have a running moc binary.
configure tried to run and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable MOC to the right one before running
configure.
I've got this messages too. What should I do ?
-
s
export MOC=/usr/share/qt3/bin/moc && configure --with-qt-dir=/usr --with-qt-includes=/usr/include/qt3 -with-qt-libraries=/usr/lib/qt3 --enable-mt
hope this helps
Similar Threads
-
By kurt_meier in forum General Support
Replies: 10
Last Post: 09-02-2005, 06:46 PM
-
By Kowood in forum MS Windows & New to Linux
Replies: 1
Last Post: 04-17-2005, 10:44 AM
-
By kepler in forum MS Windows & New to Linux
Replies: 2
Last Post: 11-01-2004, 11:34 PM
-
By mikekgr in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-30-2004, 08:01 AM
-
By pr0gm4 in forum Customising & Remastering
Replies: 0
Last Post: 08-27-2003, 02:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS ROG STRIX X870E-E GAMING WIFI
$289.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99