Installation on Gentoo: QT3, QT4 and moc
Hi,
I am using Gentoo Linux, and I have both QT3 and QT4 installed. The tagaini install script goes well, until it uses the 'moc' command. It gives this result:
/usr/qt/3/bin/moc -Isrc -I/usr/include/qt4 -I/usr/
Qt meta object compiler
moc: Invalid argument
Usage: moc [options] <header-file>
-o file Write output to file rather than stdout
-f[file] Force #include, optional file name
-p path Path prefix for included file
-i Do not generate an #include statement
-k Do not stop on errors
-nw Do not display warnings
-v Display version of moc
The problem is that the used 'moc' command is the QT3 one, not the QT4. It is strange, because the '/usr/bin/moc' is the correct version (QT4), so the script uses instead '/usr/qt/
I solved the problem by doing a temporary symlink from '/usr/qt/3/bin/moc' to '/usr/bin/moc' but it is not a very pretty solution.
It is the first time I use scons, so I do not know if the problem comes from Gentoo, scons, QT or tagaini, maybe you can help me ;-)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- kwaito
- Solved:
- Last query:
- Last reply: