@@ -6,7 +6,7 @@ import qbs.TextFile
6
6
import "../../../libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp
7
7
8
8
Project {
9
- property string of_root: " ../../.."
9
+ property string of_root: ' ../../..'
10
10
11
11
ofApp {
12
12
name: { return FileInfo .baseName (path) }
@@ -17,9 +17,15 @@ Project{
17
17
' src/ofApp.h' ,
18
18
]
19
19
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
+ // ]
23
29
24
30
// additional flags for the project. the of module sets some
25
31
// flags by default to add the core libraries, search paths...
@@ -30,7 +36,7 @@ Project{
30
36
of .cxxFlags : [] // flags passed to the c++ compiler
31
37
of .linkerFlags : [] // flags passed to the linker
32
38
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
34
40
35
41
// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
36
42
// eg: this will enable ccache when compiling
@@ -54,3 +60,4 @@ Project{
54
60
55
61
references: [FileInfo .joinPaths (of_root, " /libs/openFrameworksCompiled/project/qtcreator/openFrameworks.qbs" )]
56
62
}
63
+
0 commit comments