Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. how to disable quick related features in C++ widget application

how to disable quick related features in C++ widget application

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CraZy
    wrote on last edited by
    #1

    Hi,
    I have an application with pure C++ widget (macOS, Qt5.15), and
    no qml,
    no virtual keyboard.

    But when I finished macdeployqt, there are related frameworks in xxx.app/Contents/Frameworks

    QtQml.framework
    QtQmlModels.framework
    QtQuick.framework
    QtVirtualKeyboard.framework
    

    Is there any way to exclude them? In .pro or .qmake.conf ?
    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • C CraZy

      Hi,
      I have an application with pure C++ widget (macOS, Qt5.15), and
      no qml,
      no virtual keyboard.

      But when I finished macdeployqt, there are related frameworks in xxx.app/Contents/Frameworks

      QtQml.framework
      QtQmlModels.framework
      QtQuick.framework
      QtVirtualKeyboard.framework
      

      Is there any way to exclude them? In .pro or .qmake.conf ?
      Thanks.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @CraZy Can you show your pro file? Do you pass -qml parameter to macdeployqt?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • jsulmJ jsulm

        @CraZy Can you show your pro file? Do you pass -qml parameter to macdeployqt?

        C Offline
        C Offline
        CraZy
        wrote on last edited by CraZy
        #3

        @jsulm said in how to disable quick related features in C++ widget application:

        @CraZy Can you show your pro file?

        QT += core gui widgets network printsupport sql
        CONFIG += c++14
        

        Do you pass -qml parameter to macdeployqt?

        macdeployqt xxx.app without any options

        And I'm sure that I do not use qml or virtual Keyboard in my code.

        jsulmJ 1 Reply Last reply
        0
        • C CraZy

          @jsulm said in how to disable quick related features in C++ widget application:

          @CraZy Can you show your pro file?

          QT += core gui widgets network printsupport sql
          CONFIG += c++14
          

          Do you pass -qml parameter to macdeployqt?

          macdeployqt xxx.app without any options

          And I'm sure that I do not use qml or virtual Keyboard in my code.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @CraZy Strange. Maybe somebody else has an idea.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Can you call otool -L on your binary ? AFAIR, macdeployqt should only deploy frameworks linked by your application.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            C 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              Can you call otool -L on your binary ? AFAIR, macdeployqt should only deploy frameworks linked by your application.

              C Offline
              C Offline
              CraZy
              wrote on last edited by CraZy
              #6

              @SGaist
              I checked the output of otool -L of the binary and all 3rd-party libs used in this project.
              No qml or virtual keyboard related lines.

              Interesting problem, the app can work successfully while deleting

              QtQml.framework
              QtQmlModels.framework
              QtQuick.framework
              QtVirtualKeyboard.framework
              

              manually.

              SGaistS 1 Reply Last reply
              0
              • C CraZy

                @SGaist
                I checked the output of otool -L of the binary and all 3rd-party libs used in this project.
                No qml or virtual keyboard related lines.

                Interesting problem, the app can work successfully while deleting

                QtQml.framework
                QtQmlModels.framework
                QtQuick.framework
                QtVirtualKeyboard.framework
                

                manually.

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Just to be sure, which version of 5.15 are you using ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                C 1 Reply Last reply
                0
                • SGaistS SGaist

                  Just to be sure, which version of 5.15 are you using ?

                  C Offline
                  C Offline
                  CraZy
                  wrote on last edited by
                  #8

                  @SGaist said in how to disable quick related features in C++ widget application:

                  Just to be sure, which version of 5.15 are you using ?

                  Qt5.15.10, built from source

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved