Opened 16 years ago
Closed 16 years ago
#2103 closed defect (worksforme)
Compilation - moc error
| Reported by: | Zielony | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 2.0.0 |
| Keywords: | Cc: | 4.2.3 | |
| Guest type: | Linux | Host type: | Linux |
Description (last modified by )
kmk[4]: Entering directory `/tmp/virtualbox/virtualbox-2.0.0/ ......
kBuild: moc VirtualBox4 - src/VBoxSelectorWnd.cpp
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
kmk[4]: *** [/tmp/virtualbox/virtualbox-2.0.0/ou .... Error 1
The failing command:
@/usr/bin/moc -I./include .....
kmk[4]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox/Frontends/VirtualBox4'
kmk[3]: *** [pass_dlls_after] Error 2
kmk[3]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox/Frontends'
kmk[2]: *** [pass_dlls_before] Error 2
kmk[2]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox'
kmk[1]: *** [pass_dlls_before] Error 2
kmk[1]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src'
kmk: *** [pass_dlls_before] Error 2
Qt 3.3.8b and 4.4.1. This moc comes from 3.
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Description: | modified (diff) |
|---|
I've stripped the output because the ticket was nearly unreadable with my browser.
Which Linux distribution is that? Please could you the configure.log file?
Note:
See TracTickets
for help on using tickets.


Works with moc from 4. It's needed to give prefix for Qt 4, not 3.