-
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

OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives
$149.95

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US
$29.88

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.30

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US
$49.50

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99