Skip to content

Commit

Permalink
Add option to create console window in QtCreator wizards (#6105)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilive authored and arturoc committed Aug 10, 2018
1 parent b9f664c commit 6127e9f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Project{
of.frameworks: [] // osx only, additional frameworks to link with the project
of.staticLibraries: [] // static libraries
of.dynamicLibraries: [] // dynamic libraries

// create a console window when the application start
consoleApplication: %{ConsoleWindow}

// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
// eg: this will enable ccache when compiling
Expand Down
18 changes: 18 additions & 0 deletions scripts/qtcreator/templates/wizards/openFrameworks/wizard.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,24 @@
}
]
},
{
"trDisplayName": "Console windows",
"trShortTitle": "Console",
"typeId": "Fields",
"data" :
[
{
"name": "ConsoleWindow",
"trDisplayName": "Create a console window when application start",
"type": "CheckBox",
"data": {
"checkedValue": "true",
"uncheckedValue": "false",
"checked": "false"
}
}
]
},
{
"trDisplayName": "Addons",
"trShortTitle": "Addons",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Project{
of.frameworks: [] // osx only, additional frameworks to link with the project
of.staticLibraries: [] // static libraries
of.dynamicLibraries: [] // dynamic libraries

// create a console window when the application start
consoleApplication: %{ConsoleWindow}

// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
// eg: this will enable ccache when compiling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Project{
of.frameworks: [] // osx only, additional frameworks to link with the project
of.staticLibraries: [] // static libraries
of.dynamicLibraries: [] // dynamic libraries

// create a console window when the application start
consoleApplication: %{ConsoleWindow}

// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
// eg: this will enable ccache when compiling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,24 @@
}
]
},
{
"trDisplayName": "Console windows",
"trShortTitle": "Console",
"typeId": "Fields",
"data" :
[
{
"name": "ConsoleWindow",
"trDisplayName": "Create a console window when application start",
"type": "CheckBox",
"data": {
"checkedValue": "true",
"uncheckedValue": "false",
"checked": "false"
}
}
]
},
{
"trDisplayName": "Kit Selection",
"trShortTitle": "Kits",
Expand Down

0 comments on commit 6127e9f

Please sign in to comment.