platform/upstream/qttools.git
12 years agoRemove redundant check in WidgetFactory
Kent Hansen [Wed, 5 Oct 2011 11:55:10 +0000 (13:55 +0200)]
Remove redundant check in WidgetFactory

Checking for "QDockWidget" once should be enough.

Change-Id: I9276c4d0c80eb4f18d604c056dd1dd694dbd2f5f
Reviewed-on: http://codereview.qt-project.org/6061
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDesigner: Compile on Windows.
Friedemann Kleint [Tue, 4 Oct 2011 10:59:13 +0000 (12:59 +0200)]
Designer: Compile on Windows.

Clean up .pro-files, remove fiddling with libraryTarget.

Change-Id: I81e1b7cf6e2bbafec3a36e56f92e44a83886bb31
Reviewed-on: http://codereview.qt-project.org/5978
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoMake "#include <QtUiTools/QUiLoader>" work
Caio Marcelo de Oliveira Filho [Fri, 30 Sep 2011 21:20:12 +0000 (18:20 -0300)]
Make "#include <QtUiTools/QUiLoader>" work

We need to add the base include directory to allow this type of
includes to work. The same approach is taken by all other modules.

Merge-request: 2
Change-Id: I3bdac5fe0096637b42dae49e306761f489fff8ff
Reviewed-on: http://codereview.qt-project.org/5909
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
12 years agoTools: Compile examples.
Friedemann Kleint [Fri, 30 Sep 2011 10:45:31 +0000 (12:45 +0200)]
Tools: Compile examples.

Change-Id: I0ca17a4632c69aa8bf1cd33111dc5fbeb2e62d44
Reviewed-on: http://codereview.qt-project.org/5866
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDon't crash when running qhelpgenerator.
Lincoln Ramsay [Mon, 26 Sep 2011 07:36:42 +0000 (17:36 +1000)]
Don't crash when running qhelpgenerator.

It's not enough to link to libQtGui, QGuiApplication must also be used.

Change-Id: Ie8ea0e3aa711308052fcbd4e670eef7fc1269403
Reviewed-on: http://codereview.qt-project.org/5516
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
12 years agoFixed compile (Qt::escape -> toHtmlEscaped())
Rohan McGovern [Fri, 30 Sep 2011 05:37:58 +0000 (15:37 +1000)]
Fixed compile (Qt::escape -> toHtmlEscaped())

Fixed compile after source-incompatible qtbase change
b863df7de926448cf0057272c16da04b7cfb11ee .

Change-Id: I400ead7bd2ec80057dba9c4c3163427ffa4b7c4c
Reviewed-on: http://codereview.qt-project.org/5830
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
12 years agoFixed compile (QMimeData header change)
Rohan McGovern [Fri, 30 Sep 2011 05:33:53 +0000 (15:33 +1000)]
Fixed compile (QMimeData header change)

Fixes the breakage caused by e9ccc40c28d11d7d17e6c79a627590f730b7c120
in qtbase.

Change-Id: Id77ca08ad9b207d1a661c9d45f560423bb9d0285
Reviewed-on: http://codereview.qt-project.org/5829
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
12 years agoDesigner, QtUiTools, uic: Add Perl script to generate sources.
Friedemann Kleint [Wed, 28 Sep 2011 10:42:01 +0000 (12:42 +0200)]
Designer, QtUiTools, uic: Add Perl script to generate sources.

Add a script to generate ui4.cpp/ui4.h used in uic, Qt Designer
and QtUiTools from the .ui file schema.

Tested on Linux.

Change-Id: Iace3805f9e58c223fd71c8b8cc6f34ce0a930d38
Reviewed-on: http://codereview.qt-project.org/5711
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDesigner: Fix compilation with MSVC 2010.
Friedemann Kleint [Wed, 28 Sep 2011 09:27:15 +0000 (11:27 +0200)]
Designer: Fix compilation with MSVC 2010.

Remove overzealous use of QStringLiteral.
Adapt XSLT accordingly.

Change-Id: I281a56feb299eaa0cca7dde25353c9bbd158909d
Reviewed-on: http://codereview.qt-project.org/5700
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoAssistant: Fix compilation with QT_NO_PRINTER (Windows).
Friedemann Kleint [Wed, 28 Sep 2011 08:19:26 +0000 (10:19 +0200)]
Assistant: Fix compilation with QT_NO_PRINTER (Windows).

Change-Id: I145022208ac245c4904dbabd9910985ea43f00bf
Reviewed-on: http://codereview.qt-project.org/5687
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDesigner: Remove highlighting of Qt3 support slots/signals.
Friedemann Kleint [Wed, 28 Sep 2011 07:46:07 +0000 (09:46 +0200)]
Designer: Remove highlighting of Qt3 support slots/signals.

Leave highlighting infrastructure intact should there be
another version switch causing deprecation of signals and slots.

Change-Id: Ic16c29f480750e85200ba68345a3c6b8dcba6c7c
Reviewed-on: http://codereview.qt-project.org/5682
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDesigner: Fix string conversion warnings/introduce QStringLiteral.
Friedemann Kleint [Tue, 27 Sep 2011 14:24:07 +0000 (16:24 +0200)]
Designer: Fix string conversion warnings/introduce QStringLiteral.

on this occasion.

Change-Id: Ib80dfdf8aae162b02500293a83e3bc12941f7406
Reviewed-on: http://codereview.qt-project.org/5637
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoDon't store the alignment attribute for spacers
Jarek Kobus [Fri, 23 Sep 2011 10:19:02 +0000 (12:19 +0200)]
Don't store the alignment attribute for spacers

And for QLayoutWidget as it is not allowed and will create
a code which doesn't compile

Reviewed-by: con <qtc-committer@nokia.com>
Task-number: QTBUG-21575

(cherry-picked from commit a6f87c60ed135c8f92a0de846dba5734fa7cf6c6)

Change-Id: Ifb0afe488a028565ca1ff4a7e8b2150b4ef1d4c8
Reviewed-on: http://codereview.qt-project.org/5556
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoFixed linking against QtUiTools on mac when frameworks are enabled.
Rohan McGovern [Wed, 21 Sep 2011 07:57:53 +0000 (17:57 +1000)]
Fixed linking against QtUiTools on mac when frameworks are enabled.

QtUiTools is always built as a staticlib.  On mac, anyone linking
against it needs to know this, otherwise they will incorrectly attempt
to link with `-framework QtUiTools'.

Change-Id: I231eb17ee9d387cab6ab8534ff3112e35ef82946
Reviewed-on: http://codereview.qt-project.org/5289
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
12 years agoFixed compile of qhelpconverter.
Rohan McGovern [Wed, 21 Sep 2011 06:24:59 +0000 (16:24 +1000)]
Fixed compile of qhelpconverter.

This needs to link against libQtWidgets (e.g., it uses QWizard).

Change-Id: I4164519b205f9797814ea2884a38e5789510c0a3
Reviewed-on: http://codereview.qt-project.org/5285
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
12 years agoFixed compile of QtHelp on mac when frameworks are in use
Rohan McGovern [Tue, 20 Sep 2011 22:26:20 +0000 (08:26 +1000)]
Fixed compile of QtHelp on mac when frameworks are in use

Removed the incorrect assumption that QtCLucene is never a
framework.

Note that this logic still doesn't match exactly what is in qtAddLibrary
or qtAddModule in qt_functions.prf, therefore the build may still
fail in some exotic setups.

Change-Id: If032c0c4ac6031b5bb28033996a8773ecdb077e9
Reviewed-on: http://codereview.qt-project.org/5264
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
12 years agoRemoved qtwebkit from qttools sync.profile
Rohan McGovern [Tue, 20 Sep 2011 05:18:04 +0000 (15:18 +1000)]
Removed qtwebkit from qttools sync.profile

The qt-modularization-base branch of webkit doesn't compile against
post-refactor Qt, and isn't likely to any time soon.

The qtwebkit dependency for qttools is optional, so we'll remove it for
now and test without it until the webkit situation is improved.

Change-Id: I1ed57bd5a91fb7056a3c8daddde33d33a41e72a3
Reviewed-on: http://codereview.qt-project.org/5187
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
12 years agoFixed compile of lupdate.
Rohan McGovern [Mon, 19 Sep 2011 23:53:52 +0000 (09:53 +1000)]
Fixed compile of lupdate.

lupdate wants to use private QtDeclarative symbols.
Either the symbols need to be made public, or lupdate needs to compile
its own copy of the code.

This commit applies the latter approach.

Change-Id: I119c2d044fe2a8953867f7b6e2fc446dee65cce3
Reviewed-on: http://codereview.qt-project.org/5181
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
12 years agoFixed compile; removed reference to nonexistent directory
Rohan McGovern [Mon, 19 Sep 2011 23:55:42 +0000 (09:55 +1000)]
Fixed compile; removed reference to nonexistent directory

`uitools' directory does not exist.

Change-Id: Ib0f3ee78200089da09a9120c455f09fc6dabe8ea
Reviewed-on: http://codereview.qt-project.org/5180
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
12 years agoMerge remote-tracking branch 'origin/refactor' into master
Lars Knoll [Tue, 13 Sep 2011 18:57:01 +0000 (20:57 +0200)]
Merge remote-tracking branch 'origin/refactor' into master

Conflicts:
src/assistant/help/help.pro
src/designer/src/components/formeditor/formwindow.cpp
src/designer/src/components/formeditor/formwindow_dnditem.cpp
src/designer/src/components/formeditor/layout_propertysheet.cpp
src/designer/src/components/formeditor/qdesigner_resource.cpp
src/designer/src/components/lib/lib.pro
src/designer/src/components/signalsloteditor/signalsloteditor.cpp
src/designer/src/components/signalsloteditor/signalsloteditor_tool.cpp
src/designer/src/components/widgetbox/widgetbox_dnditem.cpp
src/designer/src/components/widgetbox/widgetboxtreewidget.cpp
src/designer/src/lib/lib.pro
src/designer/src/lib/shared/qdesigner_formbuilder.cpp
src/designer/src/lib/shared/qdesigner_propertysheet.cpp
src/designer/src/lib/shared/shared.pri
src/designer/src/plugins/qdeclarativeview/qdeclarativeview.pro
src/linguist/lupdate/qdeclarative.cpp
src/linguist/shared/profileevaluator.cpp
src/linguist/shared/qph.cpp
src/linguist/shared/ts.cpp
src/qtconfig/mainwindow.cpp
src/shared/qtgradienteditor/qtcolorline.cpp
src/shared/qtgradienteditor/qtgradientwidget.cpp
sync.profile

Change-Id: I53f0ce4efae4179257cbf3aab87e1af12c3aa4ff

12 years agoGet Linguist to compile again
Lars Knoll [Tue, 13 Sep 2011 14:19:53 +0000 (16:19 +0200)]
Get Linguist to compile again

Change-Id: If65b0e046a277bd2c83c5188285de4e8d14101b8
Reviewed-on: http://codereview.qt-project.org/4832
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
12 years agoGet designer to compile again.
Lars Knoll [Tue, 13 Sep 2011 13:40:42 +0000 (15:40 +0200)]
Get designer to compile again.

And it actually runs! ;-)

Change-Id: I593991e3b5d423189f00d1bd9c51daca6b9e9bd0
Reviewed-on: http://codereview.qt-project.org/4831
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
12 years agoAdd QtUiTools and uilib
Lars Knoll [Tue, 13 Sep 2011 12:43:51 +0000 (14:43 +0200)]
Add QtUiTools and uilib

This code used to live in qtbase. It doesn't belong
there however and since there are no dependencies
in qtbase left that require it move it here.

This significantly simplifies the build system with
regards to the code in uilib.

Change-Id: I41c8687bd071a1c253eb55594986f3e1424bc6cf
Reviewed-on: http://codereview.qt-project.org/4830
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
12 years agoGet assistant to compile against refactor
Lars Knoll [Mon, 12 Sep 2011 20:29:32 +0000 (22:29 +0200)]
Get assistant to compile against refactor

Give the source code a somewhat saner structure while
I'm at it.

Change-Id: I99766405debe231a0562dd623ba1d17f19333656
Reviewed-on: http://codereview.qt-project.org/4829
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
12 years agofix build on windows 7
Oswald Buddenhagen [Fri, 10 Jun 2011 15:20:19 +0000 (17:20 +0200)]
fix build on windows 7

remove pointless epocroot.pri inclusion

(cherry picked from commit 267e7ca0e586eb63c62deac94f8412db962d621d)

Conflicts:
tools/linguist/lrelease/lrelease.pro

Change-Id: I4bdea92b426bee278774a58554152cd2874936d1
Reviewed-on: http://codereview.qt-project.org/4617
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years ago"fix" license headers
Oswald Buddenhagen [Thu, 2 Jun 2011 10:48:59 +0000 (12:48 +0200)]
"fix" license headers

our policy and even more its implementation is mildly braindead ...

(cherry picked from commit 29a0fc05c1c0d31adc3787feb4d79bcc0af930f8)

Change-Id: I2a97a691af9218f035d4771820a9a265f945ad27
Reviewed-on: http://codereview.qt-project.org/4615
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoneed no qlibraryinfo any more
Oswald Buddenhagen [Wed, 1 Jun 2011 19:29:44 +0000 (21:29 +0200)]
need no qlibraryinfo any more

we call qmake now

(cherry picked from commit 8f21f8aa75e4a64cdb89dbfd89663bcf5d58ab34)

Conflicts:
tools/linguist/lrelease/lrelease.pro

Change-Id: Iaa772dffd6a47c7ebfa093d5c4e578d3129fd5ac
Reviewed-on: http://codereview.qt-project.org/4614
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoremove dead variables
Oswald Buddenhagen [Wed, 1 Jun 2011 19:19:21 +0000 (21:19 +0200)]
remove dead variables

(cherry picked from commit dedc3463b28fd859bc79f04655e7a13c7c2c2042)

Change-Id: If79a7c4027125c53f5301224887aff76700819be
Reviewed-on: http://codereview.qt-project.org/4613
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agooptimization: avoid creating unnecessary temporaries
Oswald Buddenhagen [Wed, 1 Jun 2011 18:32:32 +0000 (20:32 +0200)]
optimization: avoid creating unnecessary temporaries

erase messages instead of building a new list of non-dropped ones.
modify messages instead of replacing them with modified copies.

(cherry picked from commit a6f009462876a37dc5e6b04a0f0837bc7f00694b)

Change-Id: I1789932a20537feb9dffeb410862ad79531931d0
Reviewed-on: http://codereview.qt-project.org/4612
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoadd hash-based indexing to Translator for fast find()
Oswald Buddenhagen [Wed, 1 Jun 2011 18:29:51 +0000 (20:29 +0200)]
add hash-based indexing to Translator for fast find()

(cherry picked from commit 361b7404f569f88e11f45d5d8e2dc61e183f37b6)

Change-Id: I2742dfca41a91264c56454edf07d7d4dd9d05c5f
Reviewed-on: http://codereview.qt-project.org/4611
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoremove Translator::translatedMessages()
Oswald Buddenhagen [Wed, 1 Jun 2011 17:43:49 +0000 (19:43 +0200)]
remove Translator::translatedMessages()

it's inefficient to construct a new list. on top of that, the only user
actually checks the message state again.

(cherry picked from commit 8a5d0e6c3d1cf6b269f755a8d54b25b704ba8356)

Change-Id: I54159bc041fa5188affb1d54862f742c1e445628
Reviewed-on: http://codereview.qt-project.org/4610
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoremove Translator::contains()
Oswald Buddenhagen [Wed, 1 Jun 2011 16:20:58 +0000 (18:20 +0200)]
remove Translator::contains()

it's redundant with find() now, as the latter is cheap now

(cherry picked from commit dc587b47af5fec8268ccd33935f6abe442ae8904)

Change-Id: I60ea20943cd91e70b13d62eea4eda10eed1bd767
Reviewed-on: http://codereview.qt-project.org/4609
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agooptimization: make the Translator::find() api index-based
Oswald Buddenhagen [Wed, 1 Jun 2011 16:19:57 +0000 (18:19 +0200)]
optimization: make the Translator::find() api index-based

(cherry picked from commit a107d3e22e128ec343d82f902de4c6ee0e33435f)

Change-Id: I963374a6f81f35a3f74be4cb1d784d15e5829b0f
Reviewed-on: http://codereview.qt-project.org/4608
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agofix misnomer: MainWindow::closePhraseBooks() => maybeSavePhraseBooks()
Oswald Buddenhagen [Wed, 1 Jun 2011 15:58:13 +0000 (17:58 +0200)]
fix misnomer: MainWindow::closePhraseBooks() => maybeSavePhraseBooks()

(cherry picked from commit ad23439b7e112aa8a36f34e7b16224dcab742147)

Change-Id: I8bbe3a1a4463e14a93d1c09ab0ad82a3cd36c1b7
Reviewed-on: http://codereview.qt-project.org/4607
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agonuke Translator::release(), make saveQM() non-static instead
Oswald Buddenhagen [Wed, 1 Jun 2011 15:53:27 +0000 (17:53 +0200)]
nuke Translator::release(), make saveQM() non-static instead

this "factory" served only to obfuscate the code

(cherry picked from commit 531614ae15a2bc43e782c247a2dee5387566397a)

Change-Id: Ibdc31c06d9ec8fe2536af99272c5ce802da615bb
Reviewed-on: http://codereview.qt-project.org/4606
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agosynchronize qmake project parser with qt creator
Oswald Buddenhagen [Wed, 1 Jun 2011 15:08:39 +0000 (17:08 +0200)]
synchronize qmake project parser with qt creator

qt creator as of ddb918f.
not feeling like replaying the whole history ...

(cherry picked from commit f1249f94c07654f0b76e7a90fb81ed5b58cd30f7)

Conflicts:
tools/linguist/shared/profileevaluator.cpp

Change-Id: Ief6f9bc0eed4e8a759e95ed321d158f4017710d4
Reviewed-on: http://codereview.qt-project.org/4605
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoRemoved the unnecessary dependency of the QtHelp module on the QtXml one
Constantin Makshin [Mon, 5 Sep 2011 17:43:00 +0000 (19:43 +0200)]
Removed the unnecessary dependency of the QtHelp module on the QtXml one

Merge-request: 2669
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
(cherry picked from commit 02f55668dada4a23ab84e4d3bda1df8a4984b3ae)

Conflicts:
mkspecs/features/help.prf
tools/assistant/lib/lib.pro

Change-Id: Ic102dccd79106f6b21aa702efdb2add31fefd72a
Reviewed-on: http://codereview.qt-project.org/4604
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agouse a printErr() function instead of std::cerr like in lupdate
Oswald Buddenhagen [Wed, 1 Jun 2011 10:34:59 +0000 (12:34 +0200)]
use a printErr() function instead of std::cerr like in lupdate

(cherry picked from commit 0b92d6cc61a18ae18d254ac6ee463e74cb570db4)

Change-Id: I14834ad295109a979dd5e3e41b814543c68f3d35
Reviewed-on: http://codereview.qt-project.org/4603
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoX11: Keep the menubar inside the widgetbox window in toplevel mode
Michał Zając [Fri, 13 May 2011 08:40:05 +0000 (10:40 +0200)]
X11: Keep the menubar inside the widgetbox window in toplevel mode

For now the appmenu protocol does not make it possible to associate a
menubar with all application windows. This means in top level mode you
can only reach the menubar when the widgetbox window is active. Since
this is quite inconvenient, better not use the native menubar in this
configuration and keep the menubar in the widgetbox window.

Merge-request: 1229
Reviewed-by: denis
(cherry-picked from commit a45398677309ab905b69c599177b4c2951292b04)

Change-Id: Ib2994551558d87db84874f84f279be5e766cde15
Reviewed-on: http://codereview.qt-project.org/4602
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoUpdate Japanese translations.
Takumi ASAKI [Mon, 6 Jun 2011 10:13:58 +0000 (12:13 +0200)]
Update Japanese translations.

* Fix some inconsistent translations.
* Translate some missing messages.
* Update Japanese phrasebook.

Merge-request: 1249
Reviewed-by: ossi
(cherry picked from commit 7eb590b5bb00e5cfb8e153938f55013eebe94880)

Conflicts:
translations/assistant_ja.ts
translations/designer_ja.ts
translations/linguist_ja.ts
translations/qt_help_ja.ts
translations/qt_ja.ts
translations/qtconfig_ja.ts

Change-Id: Ic392e479ac6ebc1556e8c625ed98c1ac169a4b83
Reviewed-on: http://codereview.qt-project.org/4616
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoSilently ignore a wrong parameter count instead of crashing
Frederik Gladhorn [Wed, 31 Aug 2011 11:07:09 +0000 (13:07 +0200)]
Silently ignore a wrong parameter count instead of crashing

Merge-request: 1363
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
(cherry picked from commit 7fb04c5964e47e71b709a413be7839a3cedbba9e)

Change-Id: I39149c00a2e3b6e7c995be42c2d0edd84bb86e63
Reviewed-on: http://codereview.qt.nokia.com/3950
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
13 years agoCompile against the new QML front-end.
Roberto Raggi [Tue, 30 Aug 2011 11:56:33 +0000 (13:56 +0200)]
Compile against the new QML front-end.

Change-Id: I35b841b440a2cb3aa8cf180a8cc42613c0c41915
Reviewed-on: http://codereview.qt.nokia.com/3881
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
13 years agoRemove obsolete testlib files from .gitignore
Jason McDonald [Tue, 23 Aug 2011 05:56:34 +0000 (15:56 +1000)]
Remove obsolete testlib files from .gitignore

Change-Id: I7ab2d3999ce326613381754fa0a86aa974d94883
Reviewed-on: http://codereview.qt.nokia.com/3381
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoRemove obsolete qtestlib updater utility.
Jason McDonald [Tue, 23 Aug 2011 05:41:08 +0000 (15:41 +1000)]
Remove obsolete qtestlib updater utility.

The utility updates Qt 2.x autotests to Qt 4.  As qtestlib was not
public until Qt 4.1, it is very unlikely that there are any Qt 2.x
autotests in the wild.

Change-Id: Iaa9eac5f18778ae9ea4aeba87269b2fba7bc2005
Reviewed-on: http://codereview.qt.nokia.com/3365
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoUse QXmlStreamReader/Writer from QtCore instead of QtXml.
Friedemann Kleint [Fri, 12 Aug 2011 09:34:33 +0000 (11:34 +0200)]
Use QXmlStreamReader/Writer from QtCore instead of QtXml.

Change-Id: Ied3d2fb4503c997240f90a3e760b8019597822a4
Reviewed-on: http://codereview.qt.nokia.com/2906
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoQt Designer: Remove QDom from XSLT used for generating uic/uiloader.
Friedemann Kleint [Fri, 12 Aug 2011 09:33:04 +0000 (11:33 +0200)]
Qt Designer: Remove QDom from XSLT used for generating uic/uiloader.

Done-with: Kai Koehne <kai.koehne@nokia.com>

Change-Id: Ic56f7287f1ec964d3f79b6aa81a3b3aa3d6b7cfb
Reviewed-on: http://codereview.qt.nokia.com/2905
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoMake macdeployqt more robust against usage of symbolic links.
Eike Ziller [Fri, 29 Jul 2011 08:40:47 +0000 (10:40 +0200)]
Make macdeployqt more robust against usage of symbolic links.

If binaries linked against Versions/Current *and* a specific version,
the framework's binary would be copied twice, leading to duplicate
symbols exceptions. Instead we now check for that condition and
replicate the symbolic link.
(cherry picked from 3a66c5da851223cb4017d69ef3cca7d3818431c7)

Change-Id: I9151eb8bb345674014339586be2f79b08b22aca2
Reviewed-by: TrustMe
Reviewed-on: http://codereview.qt.nokia.com/2400
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
13 years agoDesigner: Fix build warnings about missing QLatin1String().
Friedemann Kleint [Fri, 29 Jul 2011 11:28:28 +0000 (13:28 +0200)]
Designer: Fix build warnings about missing QLatin1String().

Change-Id: I12d2f00de4bd5ed3fa2cd5448d6590f7179e98d4
Reviewed-on: http://codereview.qt.nokia.com/2392
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoDocument support for Linguist on Mac.
Eike Ziller [Wed, 27 Jul 2011 11:47:17 +0000 (13:47 +0200)]
Document support for Linguist on Mac.

Fixes dragging documents on Linguist dock icon, double clicking document
in Finder, and the "open" terminal command.
(cherry-picked from 80c5ea1a99e0c7794245e53175c949597315c96f)

Task-number: QTBUG-20194
Change-Id: Ice077ca397c6274f48e6911434a71c9934e42142
Reviewed-by: Oswald Buddenhagen
Reviewed-on: http://codereview.qt.nokia.com/2282
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoMake mac(deploy|change)qt handle dylibs that use Qt inside an app bundle.
Eike Ziller [Wed, 27 Jul 2011 08:11:42 +0000 (10:11 +0200)]
Make mac(deploy|change)qt handle dylibs that use Qt inside an app bundle.

Needed e.g. for Qt Creator, which is a bundle of plugins.
Ported from 4.8 4bda273330f6705b79cf18c3ea8ef294f58a5239

Change-Id: Icc966fb1f663c3156ac057acba3923a6db27ee09
Reviewed-on: http://codereview.qt.nokia.com/2257
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
13 years agoGuard macdeployqt against @rpath and @loader_path too.
Eike Ziller [Wed, 27 Jul 2011 08:10:33 +0000 (10:10 +0200)]
Guard macdeployqt against @rpath and @loader_path too.

Ported from 4.8 2ccef4f57f036a486cb96904298a8b4673ff0aec

Change-Id: I01f6449ebdb610684d0aab3a37fe66ed0a37b522
Reviewed-on: http://codereview.qt.nokia.com/2256
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
13 years agoFix typo.
Eike Ziller [Wed, 27 Jul 2011 08:07:24 +0000 (10:07 +0200)]
Fix typo.

Ported from 4.8 0b16c7a8a5522e3bc7414130dc609763bc2f4e3d
Change-Id: I0ca572dd3a096609ecf914a5df66e19b1fd51e6f
Reviewed-on: http://codereview.qt.nokia.com/2255
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
13 years agoRemove references to qtdemo.
Casper van Donderen [Tue, 12 Jul 2011 07:35:30 +0000 (09:35 +0200)]
Remove references to qtdemo.

Change-Id: Ib6d0b4546f4f30425beca21171cafe8da2a3485b
Reviewed-on: http://codereview.qt.nokia.com/1496
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
13 years agoMerge demos and examples.
Casper van Donderen [Wed, 6 Jul 2011 09:05:55 +0000 (11:05 +0200)]
Merge demos and examples.

Change-Id: Ib8598b8e1f28ed6d2f2dd0cb0cb7f45480cabdca
Reviewed-on: http://codereview.qt.nokia.com/1495
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
13 years agoDon't use QT_BUILD_TREE anymore
Marius Storm-Olsen [Tue, 19 Jul 2011 20:42:50 +0000 (15:42 -0500)]
Don't use QT_BUILD_TREE anymore

Modules have their own variables to use for such things
If there's no way of getting to what you need outside of those,
you probably shouldn't be doing it in the first place.

Change-Id: I3e8d5f632ea377ec5dcb3eb0fe7dd27d2f4deb90
Reviewed-on: http://codereview.qt.nokia.com/1850
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agohave libQtDesigner load(qt_module_config) like all Qt libs
Marius Storm-Olsen [Tue, 19 Jul 2011 20:45:00 +0000 (15:45 -0500)]
have libQtDesigner load(qt_module_config) like all Qt libs

load(qt_module_config) is the same as include(.../qbase.pri) before
and set up the library to match how Qt libraries are normally
configured. It's needed to pull in various thing like for example
CONFIG+=explicitlib, etc.

Also remove redundant QT += uilib-private

Change-Id: I273183ac95f19d3022e0427e64884f7634b01624
Reviewed-on: http://codereview.qt.nokia.com/1851
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoFixed build break
J-P Nurmi [Wed, 13 Jul 2011 09:04:15 +0000 (11:04 +0200)]
Fixed build break

QDeclarativeItem was moved from QtDeclarative to QtQuick1

Change-Id: Ic5b018ff73dbb808bbbd26d7cd7209c287d26811
Reviewed-on: http://codereview.qt.nokia.com/1562
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
13 years agoUpdate sync.profile dependencies to new syntax
Alan Alpert [Thu, 7 Jul 2011 08:04:07 +0000 (18:04 +1000)]
Update sync.profile dependencies to new syntax

%dependencies now has a simpler format of gitmodule => %gitref instead
of using qt modules and keywords.

Change-Id: I785f30e24e0a793218e2e307bdde56067760c510
Reviewed-on: http://codereview.qt.nokia.com/1285
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 years agoCompile against qtbase again
Alan Alpert [Thu, 7 Jul 2011 09:42:17 +0000 (19:42 +1000)]
Compile against qtbase again

Probably an overlooked detail in the recent demos exorcism

Change-Id: I878898233e895f8ae23cb16b7a5ac8581eebcd00
Reviewed-on: http://codereview.qt.nokia.com/1293
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 1 Jul 2011 10:06:42 +0000 (20:06 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Mark lupdate test as unstable.
  Fixed various linker errors due to missing MODULE.
  Designer: Fix more includes, remove usage of QT_SOURCE_TREE.
  Fix compilation of Qt Designer.
  Add a --bus command line argument
  Fix compilation of qtconfig without X11

13 years agoMark lupdate test as unstable.
Friedemann Kleint [Fri, 1 Jul 2011 10:01:44 +0000 (12:01 +0200)]
Mark lupdate test as unstable.

tst_lupdate::good(heuristics) fails due to
due to changes in qtbase/mkspecs/features/qt_config.prf.

13 years agoFixed various linker errors due to missing MODULE.
Rohan McGovern [Fri, 1 Jul 2011 03:26:21 +0000 (13:26 +1000)]
Fixed various linker errors due to missing MODULE.

If MODULE is not explicitly set when building a module, the build system
will guess the module name from the .pro file's basename.  This guess is
incorrect for these projects, so set MODULE to the correct value.

13 years agoDesigner: Fix more includes, remove usage of QT_SOURCE_TREE.
Friedemann Kleint [Thu, 30 Jun 2011 15:00:47 +0000 (17:00 +0200)]
Designer: Fix more includes, remove usage of QT_SOURCE_TREE.

13 years agoFix compilation of Qt Designer.
Friedemann Kleint [Thu, 30 Jun 2011 08:40:28 +0000 (10:40 +0200)]
Fix compilation of Qt Designer.

Adapt to new private header structure and removal of
QPainter::UniteClip.

13 years agoAdd a --bus command line argument
Lars Knoll [Thu, 23 Jun 2011 11:05:08 +0000 (13:05 +0200)]
Add a --bus command line argument

Added a command line argument to specify the
bus to use.

Reviewed-by: Thiago
13 years agoFix compilation of qtconfig without X11
Olivier Goffart [Wed, 8 Jun 2011 08:25:24 +0000 (10:25 +0200)]
Fix compilation of qtconfig without X11

Patch-by: Christian Kamm
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 3 Jun 2011 13:52:31 +0000 (23:52 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Doc: Fixed qdoc warnings.

13 years agoDoc: Fixed qdoc warnings.
David Boddie [Fri, 3 Jun 2011 13:50:32 +0000 (15:50 +0200)]
Doc: Fixed qdoc warnings.

13 years agoQtTools: Widget library split.
Friedemann Kleint [Tue, 24 May 2011 14:10:49 +0000 (16:10 +0200)]
QtTools: Widget library split.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Tue, 24 May 2011 13:08:51 +0000 (23:08 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Update licenseheader text in source files for qttools Qt module

13 years agoUpdate licenseheader text in source files for qttools Qt module
Jyri Tahtela [Tue, 24 May 2011 13:04:47 +0000 (16:04 +0300)]
Update licenseheader text in source files for qttools Qt module

Updated version of LGPL and FDL licenseheaders.
Apply release phase licenseheaders for all source files.

Reviewed-by: Trust Me
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Mon, 23 May 2011 12:55:05 +0000 (22:55 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Squashed commit of changes from the 4.8-temp branch.
  Squashed commit of the changes from the mobile-examples repository (4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)

13 years agoSquashed commit of changes from the 4.8-temp branch.
David Boddie [Wed, 11 May 2011 15:35:46 +0000 (17:35 +0200)]
Squashed commit of changes from the 4.8-temp branch.

13 years agoSquashed commit of the changes from the mobile-examples repository
David Boddie [Wed, 27 Apr 2011 17:16:41 +0000 (19:16 +0200)]
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
(cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 20 May 2011 10:00:08 +0000 (20:00 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Extend container extension.

13 years agoDesigner: Extend container extension.
Friedemann Kleint [Fri, 20 May 2011 09:21:53 +0000 (11:21 +0200)]
Designer: Extend container extension.

Make it possible to disable adding/removing pages by
adding respective bool virtual functions.

Useful for implementing containers with fixed, single
children like QScrollArea, QDockWidget, which require
a container extension to work properly in Qt Designer.
Previously, the problem was that the add/remove
page context menu actions were enabled for them,
leading to crashes und undesired behaviour.

See e00b8105bfcf3d4e36275dea6355705ec5fdbc40 in qtbase.

Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 20 May 2011 09:18:48 +0000 (19:18 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Compile warning.

13 years agoCompile warning.
Friedemann Kleint [Fri, 20 May 2011 09:13:45 +0000 (11:13 +0200)]
Compile warning.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Thu, 19 May 2011 10:03:12 +0000 (20:03 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Refactor save/load.

13 years agoDesigner: Refactor save/load.
Friedemann Kleint [Thu, 19 May 2011 07:04:51 +0000 (09:04 +0200)]
Designer: Refactor save/load.

No longer pop up message boxes in QDesignerFormWindowInterface::
contents(), introduce QDesignerFormWindowInterface::checkContents()
instead that checks for orphaned top level spacers (use in
Designer application).

Give QDesignerFormWindowInterface::setContents() a bool return and
pass an optional error string back for IDE integrations.

Remove all Qt3 form conversion logic
from the loading logic (since there is no more uic3); do not
do any additional checks there since everything has been
moved to QAbstractFormBuilder::load() (including language).

Thus, QDesignerFormWindowInterface::setContents() no
longer pops up message boxes, either.

Dependent on: qtbase/449b8a93170ecc19f2f438b160d0bc4122999401

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Tue, 17 May 2011 13:59:30 +0000 (23:59 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Add documentation for new interfaces.

13 years agoDesigner: Add documentation for new interfaces.
Friedemann Kleint [Tue, 17 May 2011 13:53:48 +0000 (15:53 +0200)]
Designer: Add documentation for new interfaces.

\internal.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Tue, 17 May 2011 12:51:50 +0000 (22:51 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Make some interfaces needed for IDE integration public.

13 years agoDesigner: Make some interfaces needed for IDE integration public.
Friedemann Kleint [Tue, 17 May 2011 12:40:34 +0000 (14:40 +0200)]
Designer: Make some interfaces needed for IDE integration public.

QDesignerNewFormWidgetInterface
QDesignerSettingsInterface
QDesignerOptionsPageInterface

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Sat, 14 May 2011 07:16:40 +0000 (17:16 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Revert "Added missing QtXml dependency"

13 years agoRevert "Added missing QtXml dependency"
Eckhart Koppen [Sat, 14 May 2011 07:11:12 +0000 (10:11 +0300)]
Revert "Added missing QtXml dependency"

This reverts commit 7e40b1c87d91d0c3cd06c49eb5cf98c95179d030.
Commit was reverted since building with rpath enabled will solve
creating the translations during compile time. Disabling rpath
will be investigated at a later point.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 13 May 2011 20:37:06 +0000 (06:37 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Added missing QtXml dependency
  Updated Assistant doc version number to 5.0.0
  Designer: BC cleanup of QDesignerFormWindowManager.
  Update module version number to 5.0.0
  Designer: BC corrections in QDesignerFormWindowInterface.

13 years agoAdded missing QtXml dependency
Eckhart Koppen [Fri, 13 May 2011 20:33:09 +0000 (23:33 +0300)]
Added missing QtXml dependency

Library needed at runtime

13 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/qttools-staging
Eckhart Koppen [Fri, 13 May 2011 12:57:06 +0000 (15:57 +0300)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qttools-staging

13 years agoUpdated Assistant doc version number to 5.0.0
Eckhart Koppen [Fri, 13 May 2011 12:43:28 +0000 (15:43 +0300)]
Updated Assistant doc version number to 5.0.0

13 years agoDesigner: BC cleanup of QDesignerFormWindowManager.
Friedemann Kleint [Fri, 13 May 2011 12:24:57 +0000 (14:24 +0200)]
Designer: BC cleanup of QDesignerFormWindowManager.

Obsolete the virtual action-accessors causing Qt 4 BC grief
by action() taking an enumeration that can be easily extended.
Make actions added during Qt 4 development available.

Make preview functionality public for IDE integration.

Acked-by: Jarek Kobus <jkobus@trolltech.com>
13 years agoUpdate module version number to 5.0.0
Eckhart Koppen [Fri, 13 May 2011 10:35:32 +0000 (13:35 +0300)]
Update module version number to 5.0.0

Updated .pri file variables

13 years agoDesigner: BC corrections in QDesignerFormWindowInterface.
Friedemann Kleint [Fri, 13 May 2011 09:56:29 +0000 (11:56 +0200)]
Designer: BC corrections in QDesignerFormWindowInterface.

Make active resource file sets and related functions
available for IDE project integration.

Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Fri, 13 May 2011 07:27:57 +0000 (17:27 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: BC cleanup of QDesignerIntegrationInterface.

13 years agoDesigner: BC cleanup of QDesignerIntegrationInterface.
Friedemann Kleint [Fri, 13 May 2011 07:16:24 +0000 (09:16 +0200)]
Designer: BC cleanup of QDesignerIntegrationInterface.

Add features enumeration similar to that of
QDesignerFormWindowInterface. Add missing virtuals for IDE
integration.

Make a cleaned-up version of Qt Designer's implemenation
public as QDesignerIntegration such that IDE integrations
can use an integration class derived from it.

Add a bit of documentation, marked as \internal.

Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Thu, 12 May 2011 02:46:48 +0000 (12:46 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  tests: build autotests by default for qttools

13 years agotests: build autotests by default for qttools
Rohan McGovern [Wed, 11 May 2011 22:52:57 +0000 (08:52 +1000)]
tests: build autotests by default for qttools

Configure Qt with `-nomake tests' if you don't want the tests.

Reviewed-by: Jason McDonald
Change-Id: I505b7e0d2e3b182f735a7cc06bae538dbb287e9a

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Wed, 11 May 2011 13:54:27 +0000 (23:54 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Link on Windows.

13 years agoDesigner: Link on Windows.
Friedemann Kleint [Wed, 11 May 2011 13:51:39 +0000 (15:51 +0200)]
Designer: Link on Windows.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging
Qt Continuous Integration System [Wed, 11 May 2011 13:13:17 +0000 (23:13 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qttools-staging:
  Designer: Add functionality for IDE integration.
  Compile fix (Windows).
  Add QT_xxx_VERSION macros for each library in qttools
  Designer: Move PropertySheet::isEnabled to base class.