Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33883

Error while building/deploying project dwmfeatures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0 Beta1
    • 5.2.0 Alpha
    • Other
    • None
    • Windows 7 32bit VS2010
    • b449a6efebcd2e9cb4744a7ce0c170b774488e99

    Description

      PACKAGE VERSION:
      from 2013-10-01

      STEPS:
      1. Download the installer package.
      2. Install the Qt 5.2 Alpha package.
      3. Run Qt Creator.
      4. Go to the Examples screen.
      5. Find, build and run DWM Features example.

      ACTUAL RESULT:
      ====================================
      12:41:01: Running steps for project dwmfeatures...
      12:41:01: Starting: "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe" clean
      C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe -f Makefile.Debug clean
      del debug\moc_examplewidget.cpp
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\debug\moc_examplewidget.cpp
      del ui_examplewidget.h
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\ui_examplewidget.h
      del debug\main.obj debug\examplewidget.obj debug\moc_examplewidget.obj
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\debug\main.obj
      del debug\dwmfeatures.exp debug\dwmfeatures.ilk vc*.pdb vc*.idb debug\dwmfeatures.exe.embed.manifest debug\dwmfeatures.exe_manifest.rc debug\dwmfeatures.exe_manifest.res
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\debug\dwmfeatures.exp
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\vc*.pdb
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\debug\dwmfeatures.exe.embed.manifest
      C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe -f Makefile.Release clean
      del release\moc_examplewidget.cpp
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\release\moc_examplewidget.cpp
      del ui_examplewidget.h
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\ui_examplewidget.h
      del release\main.obj release\examplewidget.obj release\moc_examplewidget.obj
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\release\main.obj
      del release\dwmfeatures.exp release\dwmfeatures.exe.embed.manifest
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\release\dwmfeatures.exp
      del dwmfeatures.exp
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\dwmfeatures.exp
      del dwmfeatures.ilk
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\dwmfeatures.ilk
      del vc*.pdb
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\vc*.pdb
      del vc*.idb
      Could Not Find C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\vc*.idb
      12:41:01: The process "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe" exited normally.
      12:41:01: Configuration unchanged, skipping qmake step.
      12:41:01: Starting: "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe"
      C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
      C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\bin\uic.exe ..\dwmfeatures\examplewidget.ui -o ui_examplewidget.h
      C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\bin\moc.exe -DUNICODE -DWIN32 -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -D_MSC_VER=1600 -D_WIN32 -I"..\..\..\include" -I"..\..\..\include\QtWinExtras" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2010" ..\dwmfeatures\examplewidget.h -o debug\moc_examplewidget.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtWinExtras" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\main.obj.2924.63.jom
      main.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtWinExtras" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\moc_examplewidget.obj.2924.1766.jom
      moc_examplewidget.cpp
      cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtWinExtras" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtANGLE" -I"..\..\..\include\QtCore" -I"debug" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\qa\AppData\Local\Temp\examplewidget.obj.2924.2235.jom
      examplewidget.cpp
      echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID / 24 / RT_MANIFEST */ "debug\\dwmfeatures.exe.embed.manifest">debug\dwmfeatures.exe_manifest.rc
      if not exist debug\dwmfeatures.exe if exist debug\dwmfeatures.exe.embed.manifest del debug\dwmfeatures.exe.embed.manifest
      if exist debug\dwmfeatures.exe.embed.manifest copy /Y debug\dwmfeatures.exe.embed.manifest debug\dwmfeatures.exe_manifest.bak
      link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST /MANIFESTFILE:debug\dwmfeatures.exe.embed.manifest /OUT:debug\dwmfeatures.exe @C:\Users\qa\AppData\Local\Temp\dwmfeatures.exe.2924.5110.jom
      examplewidget.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static void __cdecl QtWin::setWindowDisallowPeek(class QWidget *,bool)" (imp?setWindowDisallowPeek@QtWin@@SAXPAVQWidget@@_N@Z) referenced in function "private: void __thiscall ExampleWidget::onDisallowPeekClicked(void)" (?onDisallowPeekClicked@ExampleWidget@@AAEXXZ)
      examplewidget.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static void __cdecl QtWin::setWindowExcludedFromPeek(class QWidget *,bool)" (imp?setWindowExcludedFromPeek@QtWin@@SAXPAVQWidget@@_N@Z) referenced in function "private: void __thiscall ExampleWidget::onExcludeFromPeekClicked(void)" (?onExcludeFromPeekClicked@ExampleWidget@@AAEXXZ)
      examplewidget.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static void __cdecl QtWin::setWindowFlip3DPolicy(class QWidget *,enum QtWin::WindowFlip3DPolicy)" (imp?setWindowFlip3DPolicy@QtWin@@SAXPAVQWidget@@W4WindowFlip3DPolicy@1@@Z) referenced in function "private: void __thiscall ExampleWidget::onFlip3DPolicyChanged(void)" (?onFlip3DPolicyChanged@ExampleWidget@@AAEXXZ)
      examplewidget.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static void __cdecl QtWin::extendFrameIntoClientArea(class QWidget *,int,int,int,int)" (imp?extendFrameIntoClientArea@QtWin@@SAXPAVQWidget@@HHHH@Z) referenced in function "private: void __thiscall ExampleWidget::onGlassMarginsChanged(void)" (?onGlassMarginsChanged@ExampleWidget@@AAEXXZ)
      examplewidget.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static void __cdecl QtWin::resetExtendedFrame(class QWidget *)" (imp?resetExtendedFrame@QtWin@@SAXPAVQWidget@@@Z) referenced in function "private: void __thiscall ExampleWidget::onResetGlassFrameClicked(void)" (?onResetGlassFrameClicked@ExampleWidget@@AAEXXZ)
      debug\dwmfeatures.exe : fatal error LNK1120: 5 unresolved externals
      jom: C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\Makefile.Debug [debug\dwmfeatures.exe] Error 1120
      jom: C:\Qt\Qt5.2.0_Alpha_34\5.2.0-alpha\msvc2010\examples\winextras\build-dwmfeatures-Desktop_Qt_5_2_0_MSVC2010_32bit-Debug\Makefile [debug] Error 2
      12:41:06: The process "C:\Qt\Qt5.2.0_Alpha_34\Tools\QtCreator\bin\jom.exe" exited with code 2.
      Error while building/deploying project dwmfeatures (kit: Desktop Qt 5.2.0 MSVC2010 32bit)
      When executing step 'Make'
      12:41:06: Elapsed time: 00:06.
      ====================================

      EXPECTED RESULT:
      The example should be built and run.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              macadder Jason McDonald
              rafal Rafal Motyka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes