Important: Please read the Qt Code of Conduct -

Generate Visual Studio Solution in another directory

  • Hi

    I have a c++ project that i can generate de visual studio solution by qmake.

    The solution is generated in the same directory of my source project and it's bad. because i want to work in an organized way.

    How can I generate in a separate directory?

    My project:


    I want to generate solution in c:\project\vs2005dir


    Best Regards.

  • Hi,

    Run the qmake command from where you want to generate the project file.

    For example,
    If you want to create the project file inside the "vs2005dir", access the folder through command line and run qmake from there.

    qmake <relevant arguments> ../


Log in to reply