Ticket #2103 (closed defect: worksforme)

Opened 10 years ago

Last modified 10 years ago

Compilation - moc error

Reported by: Zielony Owned by:
Priority: critical Component: other
Version: VirtualBox 2.0.0 Keywords:
Cc: 4.2.3 Guest type: Linux
Host type: Linux

Description (last modified by frank) (diff)

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

comment:1 Changed 10 years ago by Zielony

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

comment:2 Changed 10 years ago by frank

  • 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?

comment:3 Changed 10 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

No response, closing.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use