Skip to content
Snippets Groups Projects
Commit 4e2ae88c authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #6526: Added howto for using the qtcreator with the Scheduler

parent 5766edb3
No related branches found
No related tags found
No related merge requests found
......@@ -4414,6 +4414,7 @@ SAS/OTDB/test/tBrokenHardware.cc -text
SAS/OTDB/test/tMetadata.cc -text
SAS/OTDB/test/tQueryPIC.cc -text
SAS/Scheduler/src/.default_settings.set -text
SAS/Scheduler/src/README-qtcreator -text
SAS/Scheduler/src/conflictdialog.ui -text
SAS/Scheduler/src/dataslotdialog.ui -text
SAS/Scheduler/src/digitalbeamdialog.ui -text
......
The qtcreator GUI design tool can be used to edit, run, and debug the Scheduler. To do so, follow these steps:
-----------------
Build in qtcreator
-----------------
0) Go to the SAS/Scheduler/src source directory
1) Run `qtcreator'
2) Open the menu:
File -> Open File or Project...
3) Select
'CMakeLists.txt',
click
'Open'.
4) Set the build directory to (remove the full path)
'gnu_debug' or 'gnu_opt',
click
'Next >'
5) CMake arguments:
../../../.. -DBUILD_PACKAGES=Scheduler,
6) Click 'Run CMake', and scan the output for errors
7) Click 'Finish'
Note that the build will be running in the src/gnu_{debug,opt}/SAS/Scheduler/src directory.
-----------------
First run
-----------------
The Scheduler needs to have the .default_settings.set available in the running directory.
To make it available, simply symlink it from the source directory. In SAS/Scheduler/src, run:
ln -sf `pwd`/.default_settings.set gnu_*/SAS/Scheduler/src/
(Note that gnu_* will match either gnu_debug or gnu_opt).
Enjoy!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment