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

Static MacOS build for Qt6 giving error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.0.0, 6.0.3
    • Build System: CMake
    • None
    • macOS

    Description

      I am trying to build the static libraries of Qt6 for macOS. I downloaded the source as well as tried with git clone. But I get an error during build.

      The configure statement used is:

      ./qt6/configure -release -static -prefix ../mac_lib1 -nomake examples -nomake tests -nomake tools

      I had also tried using "-platform macx-clang"

      I get the below error during "cmake --build ." :

       

      [ 21%] Building CXX object qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/__/__/__/__/qtwayland/qt_Gui_QGifPlugin.cpp.o
      make[2]: *** No rule to make target `qtbase/src/gui/CMakeFiles/Gui_resources_1.dir/.rcc/qrc_qpdf.cpp.o', needed by `qtbase/bin/androidtestrunner'. Stop.
      make[1]: *** [qtbase/src/tools/androidtestrunner/CMakeFiles/androidtestrunner.dir/all] Error 2
      make: *** [all] Error 2
      Abhisheks-MacBook-Pro:mac_build1 abhishek$
      

       

      Is there something wrong I have done or something needs to be done to resolve this error ?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            abhishek.mohata Abhishek Mohata
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes