LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: 15
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.
 
Old 03-26-2005, 11:25 AM   #2
BoldKiller
Member
 
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"
 
  


Reply


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 07:21 AM
Compiling Error (MOC) Dijon Linux - Newbie 0 02-14-2004 10:32 AM
Moc!? What Is Moc mrmojo Linux - Newbie 1 11-07-2003 12:38 PM
moc problems parapente Programming 1 01-17-2002 03:20 PM
.moc? micke.prag Programming 2 01-02-2002 11:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:29 PM.

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