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

Confusion about extesions in my project



  • Hello, guys.
    I've been working with Qt Creator since 3 or 4 weeks and I hadn't realized that in every project I have created exist two kind of configurations files. The first one is filename.pro and second one is filename.pro.user. I would like to know what are the differences between these two files.
    BTW I realized of the existence of those files when I started adding them to a VCS so also I would like to know which file should I add to the VCS: filename.pro or filename.pro.user


  • Lifetime Qt Champion

    Hi,

    The .pro.user file is generated by Qt Creator to store the settings you made related to your project. It's specific to your machine and should stay there. Don't add it to your revision control system.

    The .pro file is the actual project file from which the build instructions will be generated.



  • @SGaist Thank you!


Log in to reply