Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3083

Qt Installer Framework (current master) does not build with Qt-6.2.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 4.7.0
    • 4.7.0
    • Building
    • ce9f07703 (master)

    Description

      I noticed that QTIFW-1829 (QtIFW does not build with Qt6) was Closed for master. To test, I cloned master from https://github.com/qtproject and attempted to build on MacOS/M1 based on a static build of Qt-6.2.4 and got the following errors (clang system compiler, Ventura 13.4):

      {{In file included from /Users/franke/git/installer-framework/src/libs/installer/packagemanagercore.cpp:44:
      /Users/franke/git/installer-framework/src/libs/installer/remotefileengine.h:60:77: error: non-virtual member function marked 'override' hides virtual member function
      std::optional<QFile::Permissions> permissions = std::nullopt) override;
      ^
      /usr/local/dev/qt/6.2.4/static/include/QtCore/6.2.4/QtCore/private/qabstractfileengine_p.h:125:18: note: hidden overloaded virtual function 'QAbstractFileEngine::open' declared here: different number of parameters (1 vs 2)
      virtual bool open(QIODevice::OpenMode openMode);
      ^
      In file included from /Users/franke/git/installer-framework/src/libs/installer/packagemanagercore.cpp:44:
      /Users/franke/git/installer-framework/src/libs/installer/remotefileengine.h:78:84: error: non-virtual member function marked 'override' hides virtual member function
      std::optional<QFile::Permissions> permissions = std::nullopt) const override;
      ^
      /usr/local/dev/qt/6.2.4/static/include/QtCore/6.2.4/QtCore/private/qabstractfileengine_p.h:138:18: note: hidden overloaded virtual function 'QAbstractFileEngine::mkdir' declared here: different number of parameters (2 vs 3)
      virtual bool mkdir(const QString &dirName, bool createParentDirectories) const;
      ^
      2 errors generated.
      }}

      Please let me know if there is anything I can help with, being able to build a installer packages on M1 Macs gets really important for me. Thank you.

      Attachments

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

        Activity

          People

            installerteam Installer Team
            dfranke Daniel Franke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes