64bit/Help/Qt Prefs: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
# click the "Projects" wrench icon on the left
# click the "Projects" wrench icon on the left
# under the Kit (eg: "64") pick "Build"
# under the Kit (eg: "64") pick "Build"
# ensure "Shadow Build" is checked
## ensure "Shadow Build" is checked
# in the "Shadow Build Directory" make sure it matches what's in step 3
## in the "Shadow Build Directory" make sure it matches what's in step 3
# under the Kit pick "Run"
## ensure "Working Directory is set to "%{sourceDir}/../build/mac_%{CurrentKit:Name}_%{CurrentBuild:Type}"
## ensure "Executable" is set to "%{CurrentRun:WorkingDir}/%{CurrentBuild:Name}.app/Contents/MacOS/%{CurrentBuild:Name}"

Revision as of 20:39, 19 August 2020

  1. go to Qt Prefs (mac: "Qt Creator->Preferences...", win: "Tools->Options...")
  2. go to "Build & Run"->"Default Build Properties"
  3. set "Default build directory" to "./{plat}_%{CurrentKit:Name}-%{CurrentBuild:Name}", where "{plat}" is either "mac" or "win")
  4. Open the project (eg: CFTest or kJams)
  5. click the "Projects" wrench icon on the left
  6. under the Kit (eg: "64") pick "Build"
    1. ensure "Shadow Build" is checked
    2. in the "Shadow Build Directory" make sure it matches what's in step 3
  7. under the Kit pick "Run"
    1. ensure "Working Directory is set to "%{sourceDir}/../build/mac_%{CurrentKit:Name}_%{CurrentBuild:Type}"
    2. ensure "Executable" is set to "%{CurrentRun:WorkingDir}/%{CurrentBuild:Name}.app/Contents/MacOS/%{CurrentBuild:Name}"