Qt 5.3 adding @debug/mocinclude.tmp to the MOC.exe in windows port



  • i try to port mac application to windows , using Qt 5.3 windows 7 and visual studio 2012 . i done several simple projects and all worked fine .
    but now i try to port mac application after creating with qmake the VS sulotion
    im getting this MOC.exe error :

    @D:\Qt\Qt5.3.0\5.3\msvc2012_opengl\bin\moc.exe -DUNICODE -DWIN32 -DQT_NO_KEYWORDS -DCC_TARGET_QT5 -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D__QT__ -DCC_UNDER_QT -DCOCOS2D_DEBUG=1 -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_MSC_VER=1700 -D_WIN32 @debug/mocinclude.tmp ....\cocos\2d\platform\qt\CCApplication.h -o debug\moc_CCApplication.cpp

    MOC ..\..\cocos\2d\platform\qt\CCApplication.h
    1>  moc: Cannot open options file specified with'@'
    1>  QCommandLineParser: argument list cannot be empty, it should contain at least the executable name 
    

    @

    when i remove in the command line the @debug/mocinclude.tmp and execute the moc.exe , it generate me the file.

    what is wrong here and what im missing ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.