Results 1 to 5 of 5

Thread: QT errors in compiling

  1. #1
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    20

    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.

  2. #2
    Member registered user
    Join Date
    Jan 2003
    Location
    Northridge, California
    Posts
    48

    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!!!!!!!!!!!!!

  3. #3
    Member registered user
    Join Date
    Mar 2003
    Posts
    95
    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

  4. #4
    Junior Member
    Join Date
    Jul 2003
    Posts
    1

    Re: QT errors in compiling

    Quote 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 ?

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    1

    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

  1. compiling applications
    By kurt_meier in forum General Support
    Replies: 10
    Last Post: 09-02-2005, 06:46 PM
  2. Compiling
    By Kowood in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 04-17-2005, 10:44 AM
  3. Compiling C files
    By kepler in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 11-01-2004, 11:34 PM
  4. Many Errors at .xsession-errors file ...
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-30-2004, 08:01 AM
  5. compiling cloop
    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
  •  


DEC Vintage Module/Board Collectable Vintage chip - 1 BROKEN LEG (BO) picture

DEC Vintage Module/Board Collectable Vintage chip - 1 BROKEN LEG (BO)

$200.00



Vintage DEC VT100 Series Terminal (Powers On) picture

Vintage DEC VT100 Series Terminal (Powers On)

$499.99



Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW picture

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW

$299.99



DEC T2053-DE MS65A-DA 128MB VAX 6000 Memory Board Gold Scrap Vintage picture

DEC T2053-DE MS65A-DA 128MB VAX 6000 Memory Board Gold Scrap Vintage

$74.99



6 Vintage DEC Digital System Building Blocks - Flip Chips  picture

6 Vintage DEC Digital System Building Blocks - Flip Chips

$145.00



Vintage DEC Digital Equipment Flip-Chip Module Lot Parts picture

Vintage DEC Digital Equipment Flip-Chip Module Lot Parts

$59.99



DEC Digital DECmate III PC238 PDP-8 6120 RX50 Dual Floppy Vintage Computer picture

DEC Digital DECmate III PC238 PDP-8 6120 RX50 Dual Floppy Vintage Computer

$649.95



Vintage DEC (Digital Equipment Corp) TK-50 Tape Drive picture

Vintage DEC (Digital Equipment Corp) TK-50 Tape Drive

$80.00



Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7) picture

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)

$279.99



DEC DIGITAL VINTAGE M7544 picture

DEC DIGITAL VINTAGE M7544

$100.00