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. Deployment not working on Ubuntu 24.04
Qt 6.11 is out! See what's new in the release blog

Deployment not working on Ubuntu 24.04

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 159 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.
  • Q Offline
    Q Offline
    Qt-Lehrling
    wrote last edited by
    #1

    Hello,

    i wrote a simplte Qt.6.11 App with Qtcreator on Linux. The App runs perfekt within Qtcreator.

    In my Cmake.txt i wrote the following script:

    qt_generate_deploy_qml_app_script(
    TARGET MyApp
    OUTPUT_SCRIPT deploy_script
    )
    install(SCRIPT ${deploy_script})

    This is from the example:

    On installation, the application binary will be deployed, including the QML files and the shared libraries and assets of Qt that are used by the project. Again, the resulting directory is self-contained and can be packaged by tools like cpack.

    Running with qtcreator gives no error. The deployment status bar gets green.

    But where is the resulting directory. I can find it nowhere.

    What i am doing wrong?

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

      Hi,

      Which resulting directory are talking about ?

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

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qt-Lehrling
        wrote last edited by
        #3

        Hi,
        i think the folder with the files i can put on a computer without qt and run the application.

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

          It should be located in the build folder

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

          1 Reply Last reply
          0
          • Q Qt-Lehrling

            Hello,

            i wrote a simplte Qt.6.11 App with Qtcreator on Linux. The App runs perfekt within Qtcreator.

            In my Cmake.txt i wrote the following script:

            qt_generate_deploy_qml_app_script(
            TARGET MyApp
            OUTPUT_SCRIPT deploy_script
            )
            install(SCRIPT ${deploy_script})

            This is from the example:

            On installation, the application binary will be deployed, including the QML files and the shared libraries and assets of Qt that are used by the project. Again, the resulting directory is self-contained and can be packaged by tools like cpack.

            Running with qtcreator gives no error. The deployment status bar gets green.

            But where is the resulting directory. I can find it nowhere.

            What i am doing wrong?

            Q Offline
            Q Offline
            Qt-Lehrling
            wrote last edited by
            #5

            @Qt-Lehrling said in Deployment not working on Ubuntu 24.04:

            qt_generate_deploy_qml_app_script(
            TARGET MyApp
            OUTPUT_SCRIPT deploy_script
            )
            install(SCRIPT ${deploy_script})

            This i added to my cmakeLists.text file.

            After deployment there must be a folder named deploy_script but there is nothing.

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

              That's a generated script in the build folder.

              It's called automatically for you. If you want to see its content, there are hidden folders in the build folder.

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

              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