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

OSX Building: Project ERROR: Module does not define version.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.1.0 Beta 1
    • Build tools: Other
    • None
    • macOS

    Description

      Trying to build from QT 5.1 stable branch. Error occurs with or without the -w flag (also having trouble getting QTWebkit to work when building from 5.1 alpha sources).

      qtrepotools/bin/qt5_tool -c -u -b -w
      
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/../Frameworks/CoreImage.framework/Headers/CIContext.h:45:1: note:
            method 'contextWithCGLContext:pixelFormat:options:' declared here
      + (CIContext *)contextWithCGLContext:(CGLContextObj)ctx
      ^
      1 warning generated.
      qpaintervideosurface.cpp:224:10: warning: 'APIENTRYP' macro redefined
      # define APIENTRYP *
               ^
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:92:9: note: previous definition is here
      #define APIENTRYP APIENTRY *
              ^
      1 warning generated.
      In file included from qvideowidget.cpp:42:
      ./qvideowidget_p.h:219:25: warning: private field 'm_aspectRatioMode' is not used [-Wunused-private-field]
          Qt::AspectRatioMode m_aspectRatioMode;
                              ^
      1 warning generated.
      qt7serviceplugin.h:73: Warning: Class QT7ServicePlugin implements the interface QMediaServiceSupportedFormatsInterface but does not list it in Q_INTERFACES. qobject_cast to QMediaServiceSupportedFormatsInterface will not work!
      In file included from avfcameracontrol.mm:43:
      ./avfcameracontrol.h:76:23: warning: private field 'm_service' is not used [-Wunused-private-field]
          AVFCameraService *m_service;
                            ^
      1 warning generated.
      In file included from avfcamerametadatacontrol.mm:42:
      ./avfcamerametadatacontrol.h:66:23: warning: private field 'm_service' is not used [-Wunused-private-field]
          AVFCameraService *m_service;
                            ^
      1 warning generated.
      In file included from avfimagecapturecontrol.mm:43:
      ./avfimagecapturecontrol.h:76:23: warning: private field 'm_service' is not used [-Wunused-private-field]
          AVFCameraService *m_service;
                            ^
      1 warning generated.
      In file included from avfvideodevicecontrol.mm:43:
      ./avfvideodevicecontrol.h:79:23: warning: private field 'm_service' is not used [-Wunused-private-field]
          AVFCameraService *m_service;
                            ^
      1 warning generated.
      In file included from avfaudioinputselectorcontrol.mm:43:
      ./avfaudioinputselectorcontrol.h:76:23: warning: private field 'm_service' is not used [-Wunused-private-field]
          AVFCameraService *m_service;
                            ^
      1 warning generated.
      avfvideorenderercontrol.mm:90:35: warning: unused parameter 'numBytes' [-Wunused-parameter]
          uchar *map(MapMode mode, int *numBytes, int *bytesPerLine)
                                        ^
      avfvideorenderercontrol.mm:90:50: warning: unused parameter 'bytesPerLine' [-Wunused-parameter]
          uchar *map(MapMode mode, int *numBytes, int *bytesPerLine)
                                                       ^
      2 warnings generated.
      Info: creating cache file /Users/david/Code/qt/qt5-latest-sources/qtactiveqt/.qmake.cache
      Project MESSAGE: ActiveQt is a Windows-only module. Will just generate a docs target.
      Info: creating cache file /Users/david/Code/qt/qt5-latest-sources/qt3d/.qmake.cache
      Project ERROR: Module does not define version.
      make[2]: *** [sub-threed-make_first-ordered] Error 3
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qt3d-make_first] Error 2
      make failed 512: at qtrepotools/bin/qt5_tool line 228.
      

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            rawberg David Feinberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes