@@ -6,7 +6,7 @@ import qbs.TextFile
66import "../../../libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp
77
88Project {
9- property string of_root: " ../../.."
9+ property string of_root: ' ../../..'
1010
1111 ofApp {
1212 name: { return FileInfo .baseName (path) }
@@ -17,9 +17,15 @@ Project{
1717 ' src/ofApp.h' ,
1818 ]
1919
20- of .addons : [
21- ' ../ofxProjectGenerator' ,
22- ]
20+ // This project is using addons.make to include the addons
21+ // since it was imported from old code. To change it to include
22+ // the addons from the qbs file change the following lines to
23+ // the list of used addons in array format. eg:
24+ //
25+ // of.addons: [
26+ // 'ofxGui',
27+ // 'ofxOpenCv',
28+ // ]
2329
2430 // additional flags for the project. the of module sets some
2531 // flags by default to add the core libraries, search paths...
@@ -30,7 +36,7 @@ Project{
3036 of .cxxFlags : [] // flags passed to the c++ compiler
3137 of .linkerFlags : [] // flags passed to the linker
3238 of .defines : [] // defines are passed as -D to the compiler
33- // and can be checked with #ifdef or #if in the code
39+ // and can be checked with #ifdef or #if in the code
3440
3541 // other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
3642 // eg: this will enable ccache when compiling
@@ -54,3 +60,4 @@ Project{
5460
5561 references: [FileInfo .joinPaths (of_root, " /libs/openFrameworksCompiled/project/qtcreator/openFrameworks.qbs" )]
5662}
63+
0 commit comments