Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Deployment of Qml based project

Deployment of Qml based project

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 3 Posters 339 Views
  • 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.
  • E Offline
    E Offline
    eoreyg
    wrote on last edited by eoreyg
    #1

    When I deploy the project, myfile .exe file opens and works fine but besides this, black window that consist of warnings on the application output is openning also. How can I turn off this window. For example in pyqt there are some keywords to not open to this black window. But in this side, I could not figure out this prolem.

    I used the windeployqt as: windeployqt --qmldir "qml source locations" myfile.exe

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This is not related to QML at all.

      If using qmake, make sure you have this in your .pro:

      TEMPLATE+=app
      CONFIG+=windows
      

      And make sure you don't have any of these:

      CONFIG+=console cmdline
      

      (Z(:^

      1 Reply Last reply
      5
      • E Offline
        E Offline
        eoreyg
        wrote on last edited by
        #3

        Thank you so much.

        When I looked to .pro file, I saw that this situation was based on QT += testlib which in the .pro file.

        Solved.

        Pablo J. RoginaP 1 Reply Last reply
        2
        • E eoreyg

          Thank you so much.

          When I looked to .pro file, I saw that this situation was based on QT += testlib which in the .pro file.

          Solved.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @eoreyg said in Deployment of Qml based project:

          Solved.

          great! So please don't forget to mark you r post as solved

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          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