Skip to content

Commit

Permalink
bugfix for qtcreator wizard. closes #6461 (#6462)
Browse files Browse the repository at this point in the history
support qtcreator 4.10

#changelog #qtcreator
  • Loading branch information
ofTheo authored and arturoc committed Nov 20, 2019
1 parent 637dbe8 commit 8d8c8ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions scripts/qtcreator/templates/wizards/openFrameworks/qtcreator.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import qbs.TextFile
import "%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}/libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp

Project{
property string of_root: %{JS: %{CorrectInitialOFPath}?'\'../../..\'':'\'%{OFPath}\''}
property string of_root: '%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}'

ofApp {
name: { return FileInfo.baseName(sourceDirectory) }
Expand All @@ -19,16 +19,16 @@ Project{

of.addons: [
%{JS:
[].concat(%{ofx3DModelLoader} ? ['\'ofx3DModelLoader\''] : [])
.concat(%{ofxAssimpModelLoader} ? ['\'ofxAssimpModelLoader\''] : [])
.concat(%{ofxGui} ? ['\'ofxGui\''] : [])
.concat(%{ofxKinect} ? ['\'ofxKinect\''] : [])
.concat(%{ofxNetwork} ? ['\'ofxNetwork\''] : [])
.concat(%{ofxOpenCv} ? ['\'ofxOpenCv\''] : [])
.concat(%{ofxOsc} ? ['\'ofxOsc\''] : [])
.concat(%{ofxSvg} ? ['\'ofxSvg\''] : [])
.concat(%{ofxVectorGraphics} ? ['\'ofxVectorGraphics\''] : [])
.concat(%{ofxXmlSettings} ? ['\'ofxXmlSettings\''] : []).toString()
[].concat(%{ofx3DModelLoader} ? ["'ofx3DModelLoader'"] : [])
.concat(%{ofxAssimpModelLoader} ? ["'ofxAssimpModelLoader'"] : [])
.concat(%{ofxGui} ? ["'ofxGui'"] : [])
.concat(%{ofxKinect} ? ["'ofxKinect'"] : [])
.concat(%{ofxNetwork} ? ["'ofxNetwork'"] : [])
.concat(%{ofxOpenCv} ? ["'ofxOpenCv'"] : [])
.concat(%{ofxOsc} ? ["'ofxOsc'"] : [])
.concat(%{ofxSvg} ? ["'ofxSvg'"] : [])
.concat(%{ofxVectorGraphics} ? ["'ofxVectorGraphics'"] : [])
.concat(%{ofxXmlSettings} ? ["'ofxXmlSettings'"] : []).toString()
}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import qbs.TextFile
import "%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}/libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp

Project{
property string of_root: %{JS: %{CorrectInitialOFPath}?'\'../../..\'':'\'%{OFPath}\''}
property string of_root: '%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}'

ofApp {
name: { return FileInfo.baseName(sourceDirectory) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import qbs.TextFile
import "%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}/libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp

Project{
property string of_root: %{JS: %{CorrectInitialOFPath}?'\'../../..\'':'\'%{OFPath}\''}
property string of_root: '%{JS: %{CorrectInitialOFPath}?'../../..':'%{OFPath}'}'

ofApp {
name: { return FileInfo.baseName(sourceDirectory) }
Expand Down

0 comments on commit 8d8c8ff

Please sign in to comment.