Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-26-2005, 11:23 AM   #1
LQ Newbie
Registered: Aug 2004
Distribution: Debian, Sarge
Posts: 23

Rep: Reputation: 15
qt moc


I am trying to install qtella, and whe I do "./configure" it seems to run OK until it hits and error. The error prompt looks like this:

checking for Qt moc...
Qt's moc not found! If you have installed Qt in an
unusual place, please use the "--with-qt-moc=" option

I did some reading of previous posts but I couldn't find anything on this exact subject:

I have qt installed in > /usr/lib/qt-3.1

Help would be greatly appreciated.
Old 03-26-2005, 12:25 PM   #2
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
looks like configure is looking for the moc executable. It is part of qt, althrought not a library. QT uses this program to parse your code, find the slots, and automaticly generated the headers he needs.

You should check where is the program, it shoudl be acessible throught the PATH. If not, you can try passing the --with-qt-moc=PATH_TO_MOC argument to configure

For exemple,
"./configure --with-qt-moc=/usr/bin/moc"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moc!! aposig Linux - Newbie 4 01-28-2005 08:21 AM
Compiling Error (MOC) Dijon Linux - Newbie 0 02-14-2004 11:32 AM
Moc!? What Is Moc mrmojo Linux - Newbie 1 11-07-2003 01:38 PM
moc problems parapente Programming 1 01-17-2002 04:20 PM
.moc? micke.prag Programming 2 01-02-2002 12:55 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration