LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   qt moc (https://www.linuxquestions.org/questions/programming-9/qt-moc-306312/)

jlp1976 03-26-2005 10:23 AM

qt moc
 
Hello,

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.

BoldKiller 03-26-2005 11:25 AM

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"


All times are GMT -5. The time now is 01:43 PM.