Use %{JS: Util.asciify(...)} around the configurable parts of the
default build directory. This prevents encoding issues with the build
directory name that can break the build.
Note: You need to go to Tools>Options>Build & Run>General and Reset
the default build directory for this to take effect for future
projects!
Task-number: QTCREATORBUG-16380
Change-Id: Id4855e2c488aab0c0919af2dc9f0ef89b130fbf7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The Util.asciify(...) method takes a string and returns an
ASCII only string for the input. All ASCII characters are kept as
is, anything non-ASCII is replaced by 'u' followed by the hex
encoded unicode value of the character.
Change-Id: I90b0adeb809bc2f6eb4374ce48851396861d4673
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Qt Quick Controls 2 came with Qt 5.7, so it is save to use
1.3 for layouts.
Change-Id: Idb500154800312de0c1b2664f44113026525581d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Remove a bunch of BlackBerry specific code blocks and functions.
Change most instances of NDK/SDK (the BlackBerry terms) to SDP (the QNX
term). To maintain backward compatibility, some instances of NDK/SDK
that end up in external files have been left as is.
Change-Id: I8f589601542983323e41e7b2dd7822914d971623
Reviewed-by: hjk <hjk@qt.io>
The highlighted bounding rectangle has now the size of the
selection rectangle.
Because both rectangles do not have to match we draw both.
Change-Id: I0d4260e446c552622626153774a2cff489ebf584
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
In the tests we have to react synchronous without using a timer
to QML text changes.
Change-Id: I235a847f47992908aae1ed4b471701e779d434da
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Mark changes in the project that override configuration settings from the kit.
Task-number: QTCREATORBUG-17244
Change-Id: I3452116ad5f4626ffcd85dfcc86715b6946d6572
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Do not put the cmake server-mode socket into the build directory, but
put it into a temporary directory instead.
This makes sure it will not stick around and also avoids polluting the
build directory with Qt Creator specific files.
Task-number: QTCREATORBUG-17320
Change-Id: Id849b1a80d7cba07c026cc2ecd7030435c401884
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Both wrap the corresponding Qt class, but make sure all temporary files
or directories are created inside a "master temporary directory".
Change-Id: I55461be507c828c965224c02863ea5ed9bbf9498
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This fixes Qt build string parsing based on feedback from Thiago.
Also adds unit test for the code that parses the build string so that
we can be more sure that it actually works as expected.
Change-Id: I23cff7125be4c7c87d5eba4b1db7cb47c2479b66
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Use a predicate to check whether any toolchain can be found instead
of searching through all of them.
Change-Id: I6d4417c548b37629dc43c11e313250c24777a5ca
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This should fix:
"defaulted on its first declaration with an
exception-specification that differs from the
implicit declaration"
Change-Id: I10a18a68543894a4ca81f99dab2cdd0ddc6aad07
Reviewed-by: hjk <hjk@qt.io>
The old ones did not convey their meaning very well. In particular,
NormalOutput and MessageOutput were easily confused.
Change-Id: Ia0a8c1b1c366ab3f5c59f751b37b8b1f68f6831d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Keep settings when switching from the temporary build directory to the
real one using cmake with server-mode.
Task-number: QTCREATORBUG-17360
Change-Id: If36489cb2584dc5e0b021430e5d860e146fd8a86
Reviewed-by: Florian Apolloner <florian@apolloner.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
There are a couple of known shortcuts that we have to override
in the text editor. We install an event filter and handle
the shortcut override event for the keys in question.
Change-Id: Icb5483b19e2202d85e99d24c20d05097aaa33da6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The context of the text editor is not automatically set
on the widget. This is usually handled by the editor manager.
Unfortunately the completion action is handled using the editor
manager. This means the completion assist widget position depends
on the cursor position in the original text editor managed by the
editor manager.
To fix this we have to register our own action that overrides the default
completion action and triggers the completion on the correct text editor
widget.
Change-Id: I4d7524f2d5ad2374af23f886d7fd08505a3c857f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
If the engine is running and no specific context is selected, then it's
the global QML context. The same holds if the engine is running, but
the server doesn't support contextual evaluation. If the engine is
stopped, then it's a frame in the stack trace. Otherwise we don't have
a context and clear the label.
Change-Id: I5a322098f3297895e07bcc96ee4a5f351423c206
Reviewed-by: hjk <hjk@qt.io>
Remove the code that supported "no environment script". Less code to
update for 7.0.0. No script is unlikely and a pseudo-script/SDP can be
created easily enough if a script isn't provided for an SDP.
Change-Id: I3e9cc9eb71d52c7662434bd8441eefa40956176a
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
All those QObjects are part of the parent child hierarchy
and do not have to be deleted manually.
This slicences two QCoreApplication::postEvent: Unexpected null receiver,
because the graphics scene is now created lazily.
Change-Id: Ibfe4aaed2173f591e90186b570f8c8bb9e708494
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
When saving a .ui.qml file the complete file is reformated.
Without this patch the cursor is moved to the bottom.
The cursor is still moved, but they line is kept.
Since we reformat the complete file this should be fine.
Change-Id: Ia1ef003e2e6ca7497dcad7e0e8044ffb99c80ea3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Thomas provided a smaller fix.
This reverts commit 78fb7f44bf.
Change-Id: I1edff6477526fe4ce29df38852f47fe49117561e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* noexcept at wrong postition
* alignment cannot be guaranteed when copying the argument
Change-Id: Ib68788a3fb781e913bd347e6b7932d3280ba9e67
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We now support constexpr, noexcept and alignas on all compilers. Next will
be C++ 14 constexpr support.
Change-Id: I254049c60dcd82fc373ec907cbb5702a4b344978
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This mainly removes no more needed glue code and fixes a recent
regression where the example set picker combobox on the Examples welcome
page always displayed the name of the first item, no matter which set
was displayed on the main canvas
Task-number: QTCREATORBUG-15727
Change-Id: I15b4c97f2e079a7470f6f63cde587dd4be58c40e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The expanded/collpased state of the states editor is now hooked up to
a Qt Creator command. This means there is a configurable shortcurt
and an entry in the menu under Windows/Views.
Change-Id: Ied993870fe605cfd6651b203986b009620c98f1b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Otherwise it will be looked up for every value in a none Qt build.
Change-Id: Id5d82333b6fb93242d06c5d7e9fdf8ffa2ce6b38
Reviewed-by: Christian Stenger <christian.stenger@qt.io>