Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Deployment of Qml based project



  • 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


  • Moderators

    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
    


  • 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.



  • @eoreyg said in Deployment of Qml based project:

    Solved.

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


Log in to reply