Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-975

Current HEAD of the 1.1 branch does not compile on WinXP and Win7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 1.1.0
    • 1.1.1
    • Multimedia
    • None
    • Win7 with Qt 4.7.0 / WinXP with Qt 4.7.1
    • 647fda40f72d0b54f9e06f718693969143f11cb5

    Description

      The multimedia modules fails to compile. On the same machines I can compile 1.2 HEAD just fine, so that shouldn't be the problem. The error is from Windows 7, but on WinXP it's basically the same. Everything compiled with mingw (32bit).

      g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SHARED -DQTM_PLUGIN_PATH=\"C:/QtMobility/plugins\" -DQT_MAKEDLL -DQT_BUILD_MULTIMEDIA_LIB -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\2010.05\qt\include\QtCore" -I"c:\Qt\2010.05\qt\include\QtNetwork" -I"c:\Qt\2010.05\qt\include\QtGui" -I"c:\Qt\2010.05\qt\include\QtOpenGL" -I"c:\Qt\2010.05\qt\include" -I"..\global" -I"." -I"audio" -I"video" -I"effects" -I"c:\Qt\2010.05\qt\include\ActiveQt" -I"..\..\build\Debug\QtMultimediaKit\moc" -I"c:\Qt\2010.05\qt\mkspecs\win32-g++" -o ..\..\build\Debug\QtMultimediaKit\qaudiodeviceinfo_win32_p.o audio\qaudiodeviceinfo_win32_p.cpp
      audio\qaudiodeviceinfo_win32_p.cpp: In static member function 'static QList<QByteArray> QAudioDeviceInfoInternal::availableDevices(QAudio::Mode)':audio\qaudiodeviceinfo_win32_p.cpp:382: error: 'CLSID_AudioInputDeviceCategory' was not declared in this scope
      audio\qaudiodeviceinfo_win32_p.cpp:388: error: 'IPropertyBag' was not declared in this scope
      audio\qaudiodeviceinfo_win32_p.cpp:388: error: 'pPropBag' was not declared in this scope
      audio\qaudiodeviceinfo_win32_p.cpp:407: error: 'StringCchCopyW' was not declared in this scope
      mingw32-make[3]: *** [../../build/Debug/QtMultimediaKit/qaudiodeviceinfo_win32_p.o] Error 1
      mingw32-make[3]: Leaving directory `C:/Users/tourschall/workspace/qt-mobility/src/multimedia'
      mingw32-make[2]: *** [debug-all] Error 2
      mingw32-make[2]: Leaving directory `C:/Users/tourschall/workspace/qt-mobility/src/multimedia'
      mingw32-make[1]: *** [sub-multimedia-make_default] Error 2
      mingw32-make[1]: Leaving directory `C:/Users/tourschall/workspace/qt-mobility/src'
      mingw32-make: *** [sub-src-make_default-ordered] Error 2

      Attachments

        Issue Links

          Activity

            People

              ling.hu@nokia.com Ling Hu (closed Nokia identity) (Inactive)
              conny Cornelius Hald
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: