Hacking:Tools:QtCreator:Ubuntu: Difference between revisions
Content deleted Content added
Improved phrase - Valentina build & run project window |
Ronanletiec (talk | contribs) Changing valentina to seamly / seamly2D |
||
Line 10:
** custom compiler kit
** system environment library variables
* Configure
** compile with custom compiler kit
** compile for Release or Debug
Line 16:
Qt Creator's definitions for a custom compiler, custom compiler kit, and custom library paths may be overwritten during an upgrade.<br />
The custom compiler & custom compiler kit are required to take advantage of multiprocessors.<br />
The library paths are required to enable libraries to be found at run-time during qmake and make steps when compiling
== Upgrade to Qt 5.7 ==
Line 95:
* Click on '''Apply''' to save, then '''OK''' to close the window.
== Configure
In Qt Creator, select '''File/Open File or Project'''. The
If the '''Configure Project''' window opens:<br />
* Check the box next to your custom compiler kit<br />
* Click '''Configure Project''' at bottom of window to save and close. The '''Build & Run''' project window will open. <br />
In the
* Click on '''Projects''' in left side menu. The
In the
* Click on the 'Build' half of the '''Build | Run''' button near the top of the window. The 'Build' half of the button will turn light grey. <br />
* In '''Build Settings, Edit build configuration''' section, select '''Release''' from the picklist. (''"Release" is best for building the nightly code, "Debug" is used for debugging your code if you are a code contributor to
* In '''General''' section, check the box next to '''Shadow build'''.<br />
* In '''Build Steps, Make''' section, click on '''Details'''.<br />
Line 127:
* Confirm that '''Compiler''' is your custom compiler and '''Qt Version''' is correct.<br />
* Click the '''Make Default''' button. <br />
* Click '''Apply''' then '''OK''' to save and return to the
In the
* Click on the '''Monitor''' icon in the lower left side menu. A dark box appears showing three columns '''Project''', '''Build''', '''Run'''. <br />
** Under 'Project' select '
** Under 'Build' select 'Release'<br />
** Under 'Run' select '
* Select '''File/Save All''' from QT Creator top bar menu.<br />
|