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

Qt Creator giving me deployment.pri for a plain C project



  • My environment

    Qt Creator 3.2.1
    Based on Qt 5.3.2 (GCC 4.6.1, 64 bit)
    Fedora 21 kernel 3.18.3-201.fc21.x86_64

    Creating a Plain C Project, I am getting a deployment.pri file with targets in which I have no interest, android, w32, etc.

    The .pro looks like this...
    @
    EMPLATE = app
    CONFIG += console
    CONFIG -= app_bundle
    CONFIG -= qt

    SOURCES += main.c

    include(deployment.pri)
    qtcAddDeployment()
    @

    What setting turns this off so I can just get back to building for the native desktop and not get the deployment.pri file? I wasn't getting that in a project I created just a couple weeks ago?


  • Moderators

    Not sure what option might have turned it on for you, but it is (most probably) entirely safe to just remove those 2 lines form your .pro file.



  • Yes, that's what I ended up doing.

    All is normal, now.


Log in to reply