| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The current locale encoding does have nothing to do with string
literals. Use fromLatin1(), which tends to be the fastest
for ASCII.
Change-Id: I9f1ff603f26812a63e5b23a413ba240c47d5ac23
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
[ChangeLog] Added support for QtScxml module.
Change-Id: I1ad8d51a3d9532d4a24270e4cc13f26f51620b07
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Patch-set 2 includes *.cpp *.c
Every source file needs to have up-to-date license
headers in order to pass ci.
Change-Id: Ie6e493097af6f7dd6a8adff170eb856f496e689e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
|
|
|
| |
The toJSLiteral functions do not use QtScript and are needed by
libqtprofilesetup. This extraction is needed to remove the
QtScript-dependency from libqtprofilesetup in a subsequent commit.
Change-Id: Ide1737269d4b98f38eee93cdf9b6c33a6967c91c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog] The "osx" value in qbs.hostOS and qbs.targetOS has been
replaced with "macos". For backwards compatibility, qbs.hostOS will
still contain "osx" in addition to "macos", and an error will be printed
if qbs.targetOS contains "osx" but not "macos". Specifying "macos"
without "osx" is allowed. These checks are subject to be removed in a
future version of qbs, so update your hostOS and targetOS checks
accordingly.
[ChangeLog] cpp.minimumOsxVersion has been deprecated and replaced with
cpp.minimumMacosVersion. cpp.minimumOsxVersion is subject to be removed
in a future version of qbs, so update your projects accordingly.
Change-Id: I479891829dff6eb6750cb2a04e1395f085896f63
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|
|
|
|
|
| |
Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
This brings feature parity with qmake regarding the (undocumented)
DBUS_ADAPTORS and DBUS_INTERFACES variables.
Change-Id: I6c7a2278308e5eb44b4582f33615100def21d84c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I961bdece8fc284dd102ce443646e06cdd54660d6
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
So that one can switch between versions without having to regenerate
profiles every time due to possible incompatibilities.
Note: We do not try to magically make old settings work with new
versions; if incompatible changes have happened, users still need to re-
run tools like setup-toolchains or setup-qt once.
Task-number: QBS-527
Change-Id: If8d0015e849ad573a0ed79f624bcd60731244e03
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ie5b2eb70cd371287820dcc180ff3e21682ae062f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows, the DLLs are in the BINS dir, not in LIBS.
The reason this seemed to work so far is that the Qt packagers randomly
put the DLLS into the LIBS directory for certain releases. For instance:
Qt 5.4.2/MSVC: no
Qt 5.4.2/MinGW: yes
Qt 4.8.7/MinGW: yes
Qt 4.8.6/MinGW: no
Fun!
Task-number: QBS-825
Change-Id: Ic717ced8b3c2269a8e4cc318704bd5ec7c7adadd
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Treat every Qt4 module as static library if the Qt build is static.
Change-Id: If31f45c775aab583a0bfb68345c9d5b977d8de97
Task-number: QBS-804
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Reason 1: Internationalization.
Reason 2: Performance issues due to inadvertant
QString instantiations in hot code paths.
Task-number: QBS-780
Change-Id: I37c740dd828e11c5b0000a0dd472a519d032d71c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I36d825db3a5ef32c162c3063aab1e8a1f2696f4f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
doc/reference/jsextensions/jsextensions-general.qdoc
src/lib/corelib/language/evaluatorscriptclass.cpp
src/lib/corelib/language/evaluatorscriptclass.h
Change-Id: Ic9b77b56e8fc8bf93e0a553930757de8c93fed22
|
| |
| |
| |
| |
| | |
Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
|
|/
|
|
|
|
|
| |
We have to check QT_CONFIG, not CONFIG.
Change-Id: I512e1e1c78107b7fa1d2d4d88b79997a14bf3021
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Let the Qt profile setup write the entry point libs to Qt's core.qbs.
Also, add shell32.lib to MSVC if we have a Qt >= 5.4.
Change-Id: I8ade1141101ac7494031ad49e78ba63be0342f03
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
| |
Add LGPLv3 option.
Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
We no longer force the Qt build variant to match the build variant
of the application linking against it (except for MSVC, where that
is required).
Change-Id: Ie2c80fbb0d688cdcbab57ad638aaccbbd6988a22
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That is, give the full file path to the linker instead of using the
-L/-l combination that can pull in the wrong version of a library
if one is installed e.g. in /usr/lib.
For this purpose, the patch does two things:
1) In each Qt module file, add the file path of the respective
library to cpp.{static,dynamic}Libraries instead of the base
name.
2) When reading Qt's prl files, check in all occurrences of
"-l<lib name>" whether <lib name> matches a Qt library and
if so, replace <lib name> with the full file path to the library.
Change-Id: Ic02633ae7f820bd2365f8e510f7c16f73d93e584
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
| |
...because that's what it returns.
Change-Id: Ie0c8f27ea1d6b686fc1f825dbc8b42c56f1a7b68
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
|
| |
This was used to calculate include and library names.
That's done in setup-qt now.
Change-Id: Ief2b17e9fdf65e829dc563dac49e70d8dcbaebee
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
|
|
| |
To get rid of unnecessary project resolving due to time stamp updates.
This is particularly relevant for Qt Creator, which often calls this
code for no reason.
Change-Id: Ic28464fa470c79efb800800ddb4f1c368d1e527d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
| |
And create modules for them. These also handle the creation
of the "import" source file when building against a static Qt.
Change-Id: I883a1dd96c5e38c9d4bb5c13af807b1bf388f8b1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
| |
This enables us to get rid of qtfunctions.js.
Change-Id: I4cf593742f7afcfb9caa8e2984b11b80d4fb6265
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
| |
As opposed to calculating it in JavaScript inside the module.
Change-Id: I4d11d57a45098d7f8ac06cf60f8d8cab8b11feab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
That is, extract libraries, frameworks and other linker flags
from QMAKE_PRL_LIBS and add set the respective properties
in qbs' Qt module files accordingly.
Task-number: QBS-618
Change-Id: I404a3c07af6fdebb8e2862fefd5696aada7a58e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
| |
It's gotten unruly. Move QtModuleInfo into its own set of files and move
some code into new member functions. Also move the module list
generators into that file.
Change-Id: If87269cc509c730084257ac4f254def529e43b5b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
| |
We now read the defines needed for Qt.core from the Qt build instead of
calculating them. This also enables us to remove the namespace property
from Qt.core.
Change-Id: I92bb20f3677eb2012a390f93cb2f047c616e7429
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
| |
Somewhat unsurprisingly, there can be more than one '=' on a line.
Change-Id: I7d45d3230edf5a722f2effa1f988d2b590c8303f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
| |
Makes it easier to see what is actually going on in the createModules()
function.
Change-Id: I9a81140df4796084e9c2ff74c192b271ee5139eb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
| |
Move the logic from QtModule.qbs to libqtprofilesetup.
Change-Id: Ie0a19cb5da996dfbf76c4ae09416fdcc54e52b27
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
|
| |
Things like #include <QtCore/QObject> don't work anymore since the
latest refactoring.
Change-Id: Ic8cbc743c8799cfe92307667f1f7fff77bdd0b69
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of the less common syntax
###some key value
it's
@some_key_value@
now.
Change-Id: Ic3b763b5d0828aaa22af6f05b55e8ede80fb47f9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove code to calculate include paths from QtModule.qbs. There's no
point in doing that on every module evaluation. Instead the setup-qt
tool writes the full list of include paths to the generated module
files.
Task-number: QBS-612
Change-Id: I2919770df06dd2efcbfad4cb482b8c837de6a932
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|
|
|
|
|
|
|
| |
Remove duplicated code to convert Qt datatypes to
JavaScript literals.
Change-Id: I5dac447648f6d3ec05be254c6d5ae8a3ed3665b5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|\
| |
| |
| | |
Change-Id: I6cec75208dec6d45172b00e9b36c845b095b8ac3
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ia37b245cac5479e2c846b7079f51f548b04f82b7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: If90fd697cbcfcd1eda6f24cb7ac7ad2985e4df68
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ie06e48637ea0bb10e2383f75c6a33488c275a29a
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
qbs_version.pri
share/qbs/modules/cpp/GenericGCC.qbs
version.js
Change-Id: I77e3d22cdc6f95bfa83c64a7fcfde735c6393d10
|
| |
| |
| |
| |
| |
| | |
Task-number: QBS-598
Change-Id: I2c453da06b927b120bcdfbecc369bb8063d27fe6
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QBS-598
Change-Id: I3c722239bf51317e55a028680c03c31629f5ed0b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Preparation for fixing QBS-598.
Change-Id: I039d3276eddf0eaf047b1b50f72d5b1976a47152
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I19d714d5c860268aaed6d7b6cf254c0b55b159c6
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Considered the different naming conventions of the Phonon module and
associated paths and libraries (Phonon vs. QtXxxx).
Change-Id: Iedf7501b35685f30379a8145440fc751a6cde91d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QBS-578
Change-Id: I116987d3232a832137781d4d5ac90adf4bd7ed88
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QBS-578
Change-Id: I09a4396f48e40f78b665564691a2bc3eebcc77f8
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|
|/
|
|
|
|
|
| |
This will simplify the next patch. Promise.
Change-Id: Ib9ade1e2df705d6d850b368706969d68644b62a8
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
|