qt
  • windows-7
  • static-libraries
  • qt5
  • visual-studio-2010
  • 2014-04-24 35 views 2 likes 
    2

    我已經獲得了Win 7 x64,並且我正嘗試從源碼winth MSVC 2010 x86構建靜態qt5.2.1。 問題是無法使用MSVC 2010構建qt5.2.1 static x86

    Generating Code... 
         link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS " 
    /MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' versio 
    n='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture 
    ='*'" /MANIFEST /MANIFESTFILE:release\musicplayer.exe.embed.manifest /OUT:releas 
    e\musicplayer.exe @C:\Users\AuST\AppData\Local\Temp\nm7949.tmp 
        Creating library release\musicplayer.lib and object release\musicplayer.exp 
         mt.exe /nologo /manifest release\musicplayer.exe.embed.manifest /outputr 
    esource:release\musicplayer.exe;1 
         cd quickplayer\ && (if not exist Makefile E:\Lib\qt521static\qtbase\bin 
    \qmake E:\Lib\qt521static\qtwinextras\examples\winextras\quickplayer\quickplayer 
    .pro -o Makefile) && "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BI 
    N\nmake.exe" -f Makefile 
    Project ERROR: Plugin qml_winextras is missing a classname entry, please add one 
    to the qmldir file. 
    NMAKE : fatal error U1077: 'cd' : return code '0x3' 
    Stop. 
    NMAKE : fatal error U1077: 'cd' : return code '0x2' 
    Stop. 
    NMAKE : fatal error U1077: 'cd' : return code '0x2' 
    Stop. 
    NMAKE : fatal error U1077: 'cd' : return code '0x2' 
    Stop. 
    

    我該如何解決這個問題?

    +0

    請勿編譯示例:) –

    回答

    2

    爲了防止有人遇到同樣的問題,不編譯示例將無法正常工作,儘管它似乎是一個明顯的解決方案。 .qmake.conf在qtwinextras而在另一個模塊的目錄比較之後,我添加了以下行.qmake.conf(好像有與配置這個模塊中的錯誤):

    CONFIG += qt_example_installs 
    CONFIG += warning_clean 
    

    之後,編譯繼續罰款 - 當然沒有例子。

    相關問題