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:

    c:\project\project.pro

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

    Thanks!

    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> ../project.pro

    Regards,
    San


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.