Skip to content

Commit

Permalink
bugfix fixes dylibs not working in qtcreator if consoleApplication is…
Browse files Browse the repository at this point in the history
… true. (#6458)

* bugfix fixes dylibs not working in qtcreator if consoleApplication is true. closes #6420

* bugfix fixes dylibs not working in qtcreator if consoleApplication is true.
  • Loading branch information
ofTheo authored Nov 16, 2019
1 parent 20cb26d commit 2e573e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ CppApplication{
return FileInfo.joinPaths(product.destinationDirectory, input.fileName)
}
if( product.platform == "osx" ){
return FileInfo.joinPaths(product.destinationDirectory, product.targetName + ".app", "Contents/MacOS", input.fileName);
if( product.consoleApplication ){
return FileInfo.joinPaths(product.destinationDirectory, input.fileName);
}else{
return FileInfo.joinPaths(product.destinationDirectory, product.targetName + ".app", "Contents/MacOS", input.fileName);
}
}

}
Expand Down

0 comments on commit 2e573e1

Please sign in to comment.