64bit/Help/Qt Prefs: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
# go to "Build & Run"->"Default Build Properties"
# go to "Build & Run"->"Default Build Properties"
# set "Default build directory" to "./{plat}_%{CurrentKit:Name}-%{CurrentBuild:Name}", where "{plat}" is either "mac" or "win")
# set "Default build directory" to "./{plat}_%{CurrentKit:Name}-%{CurrentBuild:Name}", where "{plat}" is either "mac" or "win")
# Open the project (eg: CFTest or kJams)
# fore each project in [CFTest, kJams]: open it
# 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
### for each build configuration:
## in the "Shadow Build Directory" make sure it matches what's in step 3
#### ensure "Shadow Build" is checked
# under the Kit pick "Run"
#### in the "Shadow Build Directory" make sure it matches what's in step 3
## ensure "Working Directory is set to "%{sourceDir}/../build/mac_%{CurrentKit:Name}_%{CurrentBuild:Type}"
## under the Kit pick "Run"
## ensure "Executable" is set to "%{CurrentRun:WorkingDir}/%{CurrentBuild:Name}.app/Contents/MacOS/%{CurrentBuild:Name}"
### 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:44, 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. fore each project in [CFTest, kJams]: open it
    1. click the "Projects" wrench icon on the left
    2. under the Kit (eg: "64") pick "Build"
      1. for each build configuration:
        1. ensure "Shadow Build" is checked
        2. in the "Shadow Build Directory" make sure it matches what's in step 3
    3. 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}"