we can trivially construct a QStringRef from a ProString, so take
advantage of that.
Change-Id: I9aaa1f6d910590872b250a145f16e90984beeb94
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
otherwise it's impossible to migrate the qmake generators to this.
Change-Id: I70c848da2ce428706b960c3c1434c26f7e3a9447
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
the value map stack always has at least one map on it.
Change-Id: I836de07a14754b995403065443d3758bfc6a8683
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
QString::replace(QRegExp) pretty much always detaches, so the equality
check was bogus.
Change-Id: Iee9043c1ee3083edaf289886ac11b3e3a501d623
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
we need to interpret the -1 as unsigned for it to mean "unlimited".
Change-Id: I130b809749fa1679a5b2444286baf48cc095c7bf
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
we use the actual current directory as the base dir, as that's closest
to what qmake would do so far. it's completely arbitrary what will
happen when shadow-building or specifying an output directory, and in
creator context it's pretty much meaningless.
Change-Id: I8c490c86fa2606fcee5d176c90c5a84a4783e87b
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
there is actually a qmake test for that.
don't copy anything which is related to loading a qmakespec to the new
evaluator, though - either it will actually load a spec (include(,into))
anyway, or it has a clean slate ($$fromfile() and infile()) and anything
spec-related would be pointless.
Change-Id: I291201a2bf823e863b3ec94be91762954612417d
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
i broke this by switching to using a separate evaluator. the new
evaluator has an empty file stack, so the check would be pointless.
fix it by recoding and traversing the call chain.
Change-Id: Icb1f19adc6e66a865cd5be78eeb1c10072b4f8fc
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Set debian packaging up when adding a target requiring it are added.
Task-number: QTCREATORBUG-7627
Change-Id: I2e88131f486f6792f38474ed5809dfa5ac7bf0e0
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
The options page deleted the widget, which it does not own.
Remove the deletion, rename GdbOptionsPagePrivate to
GdbOptionsPageWidget and use a QPointer in the GdbOptionsPage,
rename the member to m_widget for clarity.
Change-Id: I211a7cf4d59015c540335bd6313eaff13f1999a4
Reviewed-by: hjk <qthjk@ovi.com>
Fix warning: "Unable to completely determine the host ABI
(x86-windows-unknown-pe-32bit).". It seems mingw32 is no longer
defined in MinGW 4.6; use the more reliable Q_CC_MINGW.
Change-Id: I2d4f84a62b2fe829b3a8d755a76429b94c0109f5
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
...when opening files in the same dynamic view
Change-Id: I2713eb613b8077a86aaddf0a2a0eee52959800ac
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
lsactivity outputs activities sorted by creation time. Latest rebase/deliver
will be last in this output, so no need to compare it to previous values.
Also place rebase and deliver activities last in the activities list.
Change-Id: I4c90d4210751101a5f53b6d85ff3d0e86bb28d08
Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Fix
warning: C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup.
By just using qstrdup.
Change-Id: I40664b6ed763b27951d983ec13dcc638270a1beb
Reviewed-by: hjk <qthjk@ovi.com>
It's effectively an single-step from almost-off to on my screen
(perhaps a bug?), but there is no need to make an otherwise
quick startup artifically appear 0.45 s longer.
Change-Id: Iecd583d03393a56b49a0da446920682ce02bfdb4
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Do not save XML config files (profiles.xml, toolchains.xml, etc.)
if the file has not changed.
Change-Id: I5f0dea374b33a05e7c428f4031d53c83d92de595
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
There was no real need for the QString based version after all.
Change-Id: I3ea64ba03164c97205fe5ee545fb53ebf44c7535
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Retrieve data of Qt types with unexported private classes
from memory.
- Dump new string members of Qt 5's QUrl
- Fix QDir (faulty offset).
- Implement QDateTime.
Change-Id: Ie0524a531cd0afb3b8e058c2a0a0bf9616078357
Reviewed-by: hjk <qthjk@ovi.com>