Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Generate Visual Studio Solution in another directory
Qt 6.11 is out! See what's new in the release blog

Generate Visual Studio Solution in another directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 843 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PauloFilho
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • sanojsubranS Offline
      sanojsubranS Offline
      sanojsubran
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved