platform/upstream/qttools.git
11 years agoLook into the right variable to determine whether Qt is built statically.
kh1 [Thu, 31 Jan 2013 09:38:49 +0000 (10:38 +0100)]
Look into the right variable to determine whether Qt is built statically.

Change-Id: I2a9a6613bad5de19fadc0361eda3fe7dbb4b0a44
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoFilterWidget: Fix valgrind warning about uninitialized variable.
Friedemann Kleint [Wed, 30 Jan 2013 13:34:34 +0000 (14:34 +0100)]
FilterWidget: Fix valgrind warning about uninitialized variable.

Change-Id: I7ae99af02d5d61626eac97ddb8a6f62da9c2d638
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
11 years agoFix crash (QFont access) by using a qt gui application.
kh1 [Tue, 29 Jan 2013 13:58:03 +0000 (14:58 +0100)]
Fix crash (QFont access) by using a qt gui application.

Task-number: QTBUG-29218

Change-Id: Id7a926dce61cfac2a8c67ffaee52d305604cb34f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoUse path() as we need the path without the filename
Andy Shaw [Thu, 24 Jan 2013 20:03:13 +0000 (21:03 +0100)]
Use path() as we need the path without the filename

On Windows, filePath() was used for a function that was supposed to get
the bin directory for Qt. However path() should be used instead as this
will remove the filename from the originally obtained string.

Change-Id: I16f8bda91fe9666c935318f8d73c715d2ea908f5
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agotst_bic: Add bic data for linux-gcc-ia32
Sergio Ahumada [Mon, 14 Jan 2013 11:58:09 +0000 (03:58 -0800)]
tst_bic: Add bic data for linux-gcc-ia32

Adding bic data for the following modules:

 - QtCLucene
 - QtDesigner
 - QtDesignerComponents
 - QtHelp
 - QtUiTools

Change-Id: I1886fa9f6659c0a97d6b428d4667cd032f06afbd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
11 years agoCompare only clean path. Fixes compares with /./ in path.
kh1 [Fri, 11 Jan 2013 12:00:18 +0000 (13:00 +0100)]
Compare only clean path. Fixes compares with /./ in path.

Change-Id: I980dce2e294d81e6486345d13b15deaf568340bf
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoRemove all Trolltech references.
kh1 [Thu, 10 Jan 2013 11:50:10 +0000 (12:50 +0100)]
Remove all Trolltech references.

Change-Id: Idad55a5e6d87ea5703681e3ef11fc35ce9ff84eb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoUpdate copyright year in Digia's license headers
Sergio Ahumada [Wed, 2 Jan 2013 12:02:44 +0000 (13:02 +0100)]
Update copyright year in Digia's license headers

Change-Id: I9b11dc8309c9739955e3acea12b564d6ad608f59
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
11 years agoFix examples "make install", missing the doc files.
kh1 [Thu, 10 Jan 2013 11:45:46 +0000 (12:45 +0100)]
Fix examples "make install", missing the doc files.

Change-Id: Ifcfc888782e2087476f6f65388db5cda753e0ee7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoDeploy the mediaservice plugins if QtMultimedia is used
Andy Shaw [Fri, 4 Jan 2013 11:35:20 +0000 (12:35 +0100)]
Deploy the mediaservice plugins if QtMultimedia is used

Change-Id: Iac597d5216a5750850ee8132cbf4a609c032700a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
11 years agoRevert most of 227a60a427f83931ca8bdaec7509a673738f053b.
kh1 [Tue, 8 Jan 2013 11:46:12 +0000 (12:46 +0100)]
Revert most of 227a60a427f83931ca8bdaec7509a673738f053b.

The help engines findFile() does already resolve virtual folders in
different namespaces, so the added code was superfluous. It did not
even work properly... Implement a redirect network reply, so when a
file from e.g. qtwidget is linked into qtcore, we will get the valid
url set inside the address bar. This also fixes "Bookmark" handling,
"Sync to Contents" as well as "Copy" and "Hover" actions.

Change-Id: I418af5962d9f1d9970febb07f8f1c52e9995c58c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoFix search for non-existing term with filters turned on.
kh1 [Wed, 19 Dec 2012 16:33:17 +0000 (17:33 +0100)]
Fix search for non-existing term with filters turned on.

Task-number: QTBUG-26733

In case we search with attributes, all fields including the actual
search term needs to match. Otherwise we will find all pages with
matching indexed filter attributes, but ignoring the search term...

Change-Id: I691afb839a4175e800ab71a40ead7963f3c54c31
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoFix Assistant search crashes with square brackets, etc...
kh1 [Wed, 19 Dec 2012 14:45:56 +0000 (15:45 +0100)]
Fix Assistant search crashes with square brackets, etc...

Task-number: QTBUG-28700

In 8f83747d12 escaping of special characters got lost in translation,
though it is required since some of these, like [] are field separators
inside clucenes index file. The full text search throws exceptions if
it encounters un-escaped field separators.

Change-Id: I5e457f95db426554d29bc33bea00a92fb6cfcba5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoMerge from Qt Creator. Adds geometry awareness.
kh1 [Wed, 19 Dec 2012 13:08:35 +0000 (14:08 +0100)]
Merge from Qt Creator. Adds geometry awareness.

Task-number: QTBUG-22619

Change-Id: I34cd11c1021592560776e78452072c335b1ead21
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
11 years agoFix warnings found by the headersclean test
Thiago Macieira [Sun, 23 Dec 2012 02:20:47 +0000 (18:20 -0800)]
Fix warnings found by the headersclean test

qhelpsearchengine.h:71:9: error: declaration of 'wordList' shadows a member of 'this' [-Werror=shadow]

Change-Id: I3d0d6216276c9c06091d0f726c8513cc52da1885
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agoMove functions from an anonymous namespace in a header
Thiago Macieira [Sat, 29 Dec 2012 18:05:12 +0000 (10:05 -0800)]
Move functions from an anonymous namespace in a header

Clang doesn't like functions declared in an anonymous namespace in a
header and then later not used. It treats those are static functions,
and the -Wunused-functions warning is printed for them.

Instead, declare them inline in a regular namespace and use it.

qclucene_global_p.h:106:19: error: unused function 'QStringToTChar' [-Werror,-Wunused-function]
    inline TCHAR* QStringToTChar(const QString &str)
                  ^

Change-Id: I94696d40693558ef105281c8ec6e30159c47844d
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
11 years agomake use of qtHaveModule()
Oswald Buddenhagen [Fri, 21 Dec 2012 10:02:52 +0000 (11:02 +0100)]
make use of qtHaveModule()

Change-Id: I494ad22447fe54be405698f2dfd79e4941019bdc
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoTry harder in matching the method signature
Dirk Mueller [Fri, 4 Jan 2013 16:40:54 +0000 (17:40 +0100)]
Try harder in matching the method signature

In cases where the Propertiesdialog has no specific Implementation
for a dbus data type, it creates a regular QLineEdit. In such cases,
qdbusviewer then tried to call the method with the arg set to a string
instead of the real datatype (for example uint64), which usually does not work.

We can be more clever and try to implicitely convert the user input
to the right datatype, which makes the invocation succeed.

Change-Id: Idbb5c667496e14922efb7d195e11fafbb880c61c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
11 years agoAdd changes-5.0.1 file
Sergio Ahumada [Sat, 22 Dec 2012 17:09:29 +0000 (18:09 +0100)]
Add changes-5.0.1 file

Task-number: QTBUG-26065
Change-Id: Id7b0b90c571d3f4419ea3f792cb49832fab6738e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
11 years agoBump Qt version to 5.0.1
Sergio Ahumada [Fri, 21 Dec 2012 23:46:02 +0000 (00:46 +0100)]
Bump Qt version to 5.0.1

Change-Id: I9aa9ff5a41084a953c7c130fd6880606541ff28b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
11 years agoFix warning about hidden overloaded virtual, found by Clang
Thiago Macieira [Sat, 29 Dec 2012 18:51:41 +0000 (10:51 -0800)]
Fix warning about hidden overloaded virtual, found by Clang

qlayout_widget.cpp:1577:17: error: 'qdesigner_internal::<anonymous namespace>::QBoxLayoutSupport::findItemAt' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
    virtual int findItemAt(int /*at_row*/, int /*at_column*/) const {    return -1; }
                ^
/Users/tjmaciei/src/qt/qt5/qttools/src/designer/src/lib/shared/qlayout_widget_p.h:198:17: note: hidden overloaded virtual function 'qdesigner_internal::QLayoutSupport::findItemAt' declared here
    virtual int findItemAt(const QPoint &pos) const;
                ^

Solve the problem by using the old functions, hence not hiding them.

Change-Id: I3af0c43fc7266ae74e8b05103e4306be740c618a
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agofix install path
Oswald Buddenhagen [Fri, 21 Dec 2012 18:44:44 +0000 (19:44 +0100)]
fix install path

Change-Id: I6a56cff510011e3ffd516d24d9659f75baca14b2
Reviewed-by: hjk <qthjk@ovi.com>
11 years agoAdd qmake generated files to .gitignore.
Miikka Heikkinen [Thu, 20 Dec 2012 10:10:11 +0000 (12:10 +0200)]
Add qmake generated files to .gitignore.

Add source files generated by qmake for automatic static plugin
imports to .gitignore.

Change-Id: If28edc65fd29313bd8a9c699ae64a453a5462cb4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoMerge 'release' into stable
Oswald Buddenhagen [Wed, 19 Dec 2012 18:38:21 +0000 (19:38 +0100)]
Merge 'release' into stable

Change-Id: Ie325bf13e34736edf4118c8ee640e23b2f9270bf

11 years agoremove some unnecessary (and even wrong) project setup code
Oswald Buddenhagen [Mon, 17 Dec 2012 15:06:41 +0000 (16:06 +0100)]
remove some unnecessary (and even wrong) project setup code

the centralized code handles it just fine

Task-number: QTBUG-28633
Change-Id: I46105ab301869dec807fdc4ca5fe5e563bc217b9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agoFix help URLs in tools.
Friedemann Kleint [Tue, 18 Dec 2012 13:41:12 +0000 (14:41 +0100)]
Fix help URLs in tools.

Task-number: QTBUG-28689

Change-Id: Ifa3eb5ed1ae3928671a85d3aaeb2ef37b196ee4a
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agopoint dependencies to 'release' branches
Sergio Ahumada [Mon, 17 Dec 2012 19:42:41 +0000 (20:42 +0100)]
point dependencies to 'release' branches

Change-Id: I335664312eea8c0911b1edcc37c1c4e96212722f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
11 years agoDoc: Correcting qhp links to the Linguist and Assistant examples
Jerome Pasion [Mon, 17 Dec 2012 14:42:15 +0000 (15:42 +0100)]
Doc: Correcting qhp links to the Linguist and Assistant examples

Task-number: QTBUG-28579
Change-Id: I9b46915e2f5fcd1b228e7b302bcb433f820460a2
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
11 years agoDoc: Fixed qhp link to Qt UI Tools C++ Classes
Jerome Pasion [Mon, 17 Dec 2012 13:20:14 +0000 (14:20 +0100)]
Doc: Fixed qhp link to Qt UI Tools C++ Classes

Task-number: QTBUG-27777
Change-Id: I08eab3e32e37a96066f3b922712babd327c4e95c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoEnable exceptions code, makes Assistant far more stable.
kh1 [Fri, 14 Dec 2012 13:29:00 +0000 (14:29 +0100)]
Enable exceptions code, makes Assistant far more stable.

Task-number: QTBUG-28592

The reason to enable exceptions (always) is that we build the
full text engine with exceptions as well, which throws erratic.
Once it does that the database it creates is in a unknow state,
which leads to new exceptions on next Assistant start. So it will
never start again until someone removes the broken index by hand.

Change-Id: Ic24a9e28bddf4657753f9b670c38ecda527d7af4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agoremove pointless harfbuzz include
Oswald Buddenhagen [Fri, 14 Dec 2012 20:11:43 +0000 (21:11 +0100)]
remove pointless harfbuzz include

Change-Id: I27d86f1712c820c94aae578b488393bdb9fc5936
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoremove QT+=widgets from SUBDIRS projects
Oswald Buddenhagen [Fri, 14 Dec 2012 19:23:58 +0000 (20:23 +0100)]
remove QT+=widgets from SUBDIRS projects

it makes no sense whatsoever

Change-Id: Ida65c7fb02e53bd3d1ccb319bdbcbec4c836b871
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoremove obsolete DEPENDPATH assignments
Oswald Buddenhagen [Fri, 14 Dec 2012 19:09:35 +0000 (20:09 +0100)]
remove obsolete DEPENDPATH assignments

qmake now adds CONFIG+=depend_includepath by default, making manual
DEPENDPATH setup unnecessary.

Change-Id: I705c8e11b8787bb4f848f4aad19d860f88b04577
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoremove some unnecessary CONFIG additions
Oswald Buddenhagen [Fri, 14 Dec 2012 18:40:12 +0000 (19:40 +0100)]
remove some unnecessary CONFIG additions

qt is already added by spec_pre.prf, warn_on and depend_includepath by
default_pre.prf.

Change-Id: I0f6429ef61b73b9d57b9f1fc08b789d39e5b99c0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoActiveQt documentation is not registered in Qt Assistant.
kh1 [Fri, 14 Dec 2012 11:11:49 +0000 (12:11 +0100)]
ActiveQt documentation is not registered in Qt Assistant.

Task-number: QTBUG-28609

Note: there's already an task to add files based on its extension, see
QTBUG-28345. Cause this might introduce more regression we decided to
go the whitelist route for the 5.0.0 release and fix it the next minor.

Change-Id: Ia1f72e0ed39746fca203813bfe8523fd9956fb61
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
11 years agoFix position of rendered QAxWidget in designer preview
Miikka Heikkinen [Fri, 14 Dec 2012 10:58:17 +0000 (12:58 +0200)]
Fix position of rendered QAxWidget in designer preview

Added correct offset to render call.

Task-number: QTBUG-28595
Change-Id: Iab9fecdcf48c8f72fe28ac1cae72bcd2ea5830e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agoAdded hardcoded url to Designer Manual
Nico Vertriest [Tue, 11 Dec 2012 11:32:22 +0000 (12:32 +0100)]
Added hardcoded url to Designer Manual

Workaround to QTBUG-28500

Change-Id: I523d7296ac6a1b8ead5ceeed6af2937e7034abdf
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoLink only minimal qpa plugin to qhelpgenerator in static build
Miikka Heikkinen [Wed, 12 Dec 2012 11:34:03 +0000 (13:34 +0200)]
Link only minimal qpa plugin to qhelpgenerator in static build

Task-number: QTBUG-28131

Change-Id: I4da2cae750701125d63b934b2bc0d66c788638f5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoDoc: fix the Qt Linguist example page
Leena Miettinen [Wed, 12 Dec 2012 08:12:49 +0000 (09:12 +0100)]
Doc: fix the Qt Linguist example page

Use the \group and \ingroup commands to have qdoc
list the examples. Edit the \brief contents.

Change-Id: Iae0769bd1272b03d94b9287b9fddf78df27e1f12
Reviewed-by: David Schulz <david.schulz@digia.com>
11 years agoQtTools: Doc: Added missing image to uitools examples.
David Schulz [Wed, 12 Dec 2012 07:27:00 +0000 (08:27 +0100)]
QtTools: Doc: Added missing image to uitools examples.

Change-Id: I6e0144ef2ded5e7dd95b332436a9a7dcbbcfc6fb
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
11 years agoDoc: Fix example pages for Qt Tools
Leena Miettinen [Tue, 11 Dec 2012 16:31:48 +0000 (17:31 +0100)]
Doc: Fix example pages for Qt Tools

Use the \group and \ingroup commands to produce Qt 5 style
example pages. Unify the file structure for example docs.
Add example page for Qt Help and move Context Sensitive Help
example to it (from the Qt Assistant Examples page).

Change-Id: I687b18a134037588a5a536fe2353c18dfd44b1d7
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
11 years agomake qtbase source requirement explicit
Oswald Buddenhagen [Fri, 7 Dec 2012 19:00:00 +0000 (20:00 +0100)]
make qtbase source requirement explicit

getting rid of QT.<module>.sources references, as they don't go well
with real modularization.

Change-Id: Idfe0327b00be173e2c2a0b4fc4d2c50de7c2dbe8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agomake use of qt_headersclean.prf
Oswald Buddenhagen [Thu, 6 Dec 2012 16:26:02 +0000 (17:26 +0100)]
make use of qt_headersclean.prf

Change-Id: I20a8c472114c9343562fff3ddefae5113cdaeb52
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agoEntered hardcoded url for Plural Form in Translation
Nico Vertriest [Tue, 11 Dec 2012 14:45:00 +0000 (15:45 +0100)]
Entered hardcoded url for Plural Form in Translation

Task-number: QTBUG-27512

Corrected in linguist-manual.qdoc

Change-Id: I42a1e618dfd4c09f8f8956fe8df574ef09637d36
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoQtTools: Fixed install targets for examples.
David Schulz [Tue, 11 Dec 2012 14:02:20 +0000 (15:02 +0100)]
QtTools: Fixed install targets for examples.

Change-Id: Id930c26beecb3e49ccfb3595bb96a03576f9cd82
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoQtTools: Doc: Removed example dir from the qdocconf
David Schulz [Tue, 11 Dec 2012 13:23:06 +0000 (14:23 +0100)]
QtTools: Doc: Removed example dir from the qdocconf

... because the examples were double build.

Change-Id: I4b6f6ba937f52223dd30eb78fc814646200bbec3
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoDoc: add missing files for Qt UI Tools docs
Leena Miettinen [Tue, 11 Dec 2012 11:46:17 +0000 (12:46 +0100)]
Doc: add missing files for Qt UI Tools docs

The files were ignored by Git, so they did not get
submitted as part of I156dbf0a071137e1e6f3ba99cc390aa88c80b836.

Change-Id: Icb3a35d24993ea77077ee3a2e09f347c48c583bd
Reviewed-by: David Schulz <david.schulz@digia.com>
11 years agoQtTools: Doc: Fixing links in designer and assistant.
David Schulz [Tue, 11 Dec 2012 12:55:46 +0000 (13:55 +0100)]
QtTools: Doc: Fixing links in designer and assistant.

Change-Id: I98ff1c2dd615cbe3a79f19bada8964082ce8f21f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoDoc: Fixing typo in landing page file name.
Jerome Pasion [Tue, 11 Dec 2012 11:30:48 +0000 (12:30 +0100)]
Doc: Fixing typo in landing page file name.

Change-Id: I24ad7c50437d4cbbdcd95d9df5a63693d213aaa5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoRemove scripting getter/setter of QUiLoader.
Friedemann Kleint [Mon, 10 Dec 2012 16:27:26 +0000 (17:27 +0100)]
Remove scripting getter/setter of QUiLoader.

Scripting in QUiLoader was an experimental feature in Qt 4.8 whose
implementation was removed in
159c3d35d41a121f9cbf55631aebbd309b683811 .

Change-Id: I325ca032033659a03df4ab83f642b6a9b15f5590
Reviewed-by: hjk <qthjk@ovi.com>
11 years agoQtTools: Doc: Added picture for uitools.
David Schulz [Tue, 11 Dec 2012 08:46:20 +0000 (09:46 +0100)]
QtTools: Doc: Added picture for uitools.

Change-Id: I922772f91a5d6c131d7896a1026ddb023649bd48
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoDoc: modularize Qt Designer custom plugin docs
Leena Miettinen [Mon, 10 Dec 2012 09:44:00 +0000 (10:44 +0100)]
Doc: modularize Qt Designer custom plugin docs

Create index and module pages for Qt Designer custom
plugin classes. Modify the qdocconf file to also build
the Qt Designer plugin class docs. Move snippets from
qtdoc to qttools. Fix links to the classes page in example docs.

Change-Id: Ie191fdb07fb0b00379a15d44c1355f00815053e6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
11 years agoDoc: Modularize Qt UI Tools documentation
Leena Miettinen [Mon, 10 Dec 2012 16:05:31 +0000 (17:05 +0100)]
Doc: Modularize Qt UI Tools documentation

Move the Qt UI Tools examples and example docs to qttools.
Create index, module, and example pages and a qdocconf file.
Fix links to module documentation (index page). Fix links to
snippets and examples. Add the command to build docs to the
project file.

Change-Id: I156dbf0a071137e1e6f3ba99cc390aa88c80b836
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoAdd PLUGIN_CLASS_NAME to qttools plugins
Miikka Heikkinen [Mon, 10 Dec 2012 12:58:39 +0000 (14:58 +0200)]
Add PLUGIN_CLASS_NAME to qttools plugins

Needed for automating static plugin loading.

Task-number: QTBUG-28131
Change-Id: I4e7c7b5342c7dde99580d42100c8b9d89b809515
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoDoc: Modularize Qt Help docs
Leena Miettinen [Fri, 7 Dec 2012 15:24:23 +0000 (16:24 +0100)]
Doc: Modularize Qt Help docs

Add index and module pages for Qt Help, add a qdocconf file,
and move snippets. Add doc build command to help.pro.

Task-number: QTBUG-28449

Change-Id: Ic022693d82ee3664bf57e708df89c4a71aadb78e
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoQtTools: Add example page for assistant.
David Schulz [Fri, 7 Dec 2012 13:16:31 +0000 (14:16 +0100)]
QtTools: Add example page for assistant.

Change-Id: I1f15f3db46206731da7741554cc128620af7f652
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agofollow move of cmake file templates
Oswald Buddenhagen [Thu, 6 Dec 2012 15:29:34 +0000 (16:29 +0100)]
follow move of cmake file templates

Change-Id: I712dc95c62597064acf60ecc594638c3a69ff8e8
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoDoc: Replace outdated macro from docs
Christian Stenger [Fri, 7 Dec 2012 09:47:00 +0000 (10:47 +0100)]
Doc: Replace outdated macro from docs

Change-Id: I525c1322a46115f64fe94d48a0ebc2d4fb2e2e12
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agodoc: Remove old information about Qt Linguist 4.3 and Windows Vista
Sergio Ahumada [Fri, 7 Dec 2012 09:49:44 +0000 (10:49 +0100)]
doc: Remove old information about Qt Linguist 4.3 and Windows Vista

Remove old text about Qt Linguistic being certified for Windows
Vista. Also removed the Windows Vista image.

Change-Id: Ie8fde974e0666f48dd86f691c3c2745a252549bf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
11 years agoRemove dependency to ActiveQt sources in designer plugin.
Miikka Heikkinen [Wed, 5 Dec 2012 14:00:30 +0000 (16:00 +0200)]
Remove dependency to ActiveQt sources in designer plugin.

Seems that building using qaxtypes.* directly from qtactiveqt repo
is unnecessary, so remove them.

Task-number: QTBUG-26848
Change-Id: I4a5e071b83697fd6ee83a742cba6ae13c8b343fb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoQtTools: Fix example names after adjusting exampledirs
David Schulz [Thu, 6 Dec 2012 13:22:30 +0000 (14:22 +0100)]
QtTools: Fix example names after adjusting exampledirs

Change-Id: I00f60412346c85de044eb784a36f98a12c4ccd05
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoQtTools: Doc: Moved assistant examples
David Schulz [Thu, 6 Dec 2012 10:34:35 +0000 (11:34 +0100)]
QtTools: Doc: Moved assistant examples

... and changed exampledirs in the qdocconf files
to the appropriate modules.

Change-Id: Ic15d9fc845d59fb4e84ee39a52e457666fa09e51
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoMake kmap2qmap compile again
Paul Olav Tvete [Tue, 4 Dec 2012 12:05:34 +0000 (13:05 +0100)]
Make kmap2qmap compile again

Task-number: QTBUG-28165

Change-Id: I46dc5c05f6f4d6079ec53a94abda0351cdfb5f83
Reviewed-by: Karim Pinter <karim.pinter@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
11 years agoDoc: move a Qt Designer howto to qttools
Leena Miettinen [Thu, 6 Dec 2012 08:59:14 +0000 (09:59 +0100)]
Doc: move a Qt Designer howto to qttools

One more file was missing from the modularization:
Creating and Using Components for Qt Designer. The links to
images in the file were consequently broken.

Change-Id: I7ae9f7efd74acc3dc030999796afcbaa48110696
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoQtTools: Doc: Fix lots of links in the designer manual.
David Schulz [Wed, 5 Dec 2012 15:01:26 +0000 (16:01 +0100)]
QtTools: Doc: Fix lots of links in the designer manual.

Change-Id: I7ae1e9b56f6066798ca8620d96bf42f991b1064d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoChange project names in tools' qdocconf file
hjk [Wed, 5 Dec 2012 12:17:25 +0000 (13:17 +0100)]
Change project names in tools' qdocconf file

This triggers generation of suitable qthelp:// urls in the example manifests

Change-Id: Ibecd48fa7854e9916cc7b0a2e33569935d387c69
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
11 years agoQtTools: Remove reference to lupdate and lrelease
David Schulz [Wed, 5 Dec 2012 11:01:03 +0000 (12:01 +0100)]
QtTools: Remove reference to lupdate and lrelease

... in the linguist manual.

Change-Id: I26f4289760f3b70c1f7815872b86e33fe94718f3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agofix installation target paths of examples
Joerg Bornemann [Tue, 4 Dec 2012 16:41:06 +0000 (17:41 +0100)]
fix installation target paths of examples

Change-Id: I11440d60a709cbe4617aa0953c7971a6d731b73b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoleverage qt_example_installs.prf
Joerg Bornemann [Wed, 5 Dec 2012 10:00:37 +0000 (11:00 +0100)]
leverage qt_example_installs.prf

Change-Id: Ie6b02fd48aaa6b303629bb8e66cfe567aa8ca7df
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoAdd \brief description to tools examples.
hjk [Wed, 5 Dec 2012 11:48:16 +0000 (12:48 +0100)]
Add \brief description to tools examples.

Change-Id: I713620c8c5cf55147b1c5732d745569916a8e264
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoChange copyrights from Nokia to Digia
Sergio Ahumada [Tue, 4 Dec 2012 19:59:25 +0000 (20:59 +0100)]
Change copyrights from Nokia to Digia

Change-Id: I118a50ef99e42878c01e1ee509c2bf86c70ec05d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
11 years agoQt Linguist: Fix help URL.
Friedemann Kleint [Tue, 4 Dec 2012 15:09:02 +0000 (16:09 +0100)]
Qt Linguist: Fix help URL.

Task-number: QTBUG-28373

Change-Id: I1c5929ffee32843867d2401a23386545f36b9bcc
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoQt Designer: Fix help URLs.
Friedemann Kleint [Tue, 4 Dec 2012 15:02:19 +0000 (16:02 +0100)]
Qt Designer: Fix help URLs.

- Fix building of URLs.
- Correct URLs of manual and style sheet manuals
- Remove the 'What's new' option.

Task-number: QTBUG-28373
Change-Id: I4d1dfd6154f799e9bb00c0a75aa62a7239b0f81f
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
11 years agoDoc: add example pages for Qt Designer and Qt Linguist
Leena Miettinen [Tue, 4 Dec 2012 14:36:42 +0000 (15:36 +0100)]
Doc: add example pages for Qt Designer and Qt Linguist

Move the example landing pages from example.qdoc in qtdoc
to the appropriate places in qtdoc.

Change-Id: Ieb5a2b001b1e20940903f3e53856bcbf8138ed76
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoQtTools: Fix some links to Qt Linguist Manual.
David Schulz [Tue, 4 Dec 2012 14:53:35 +0000 (15:53 +0100)]
QtTools: Fix some links to Qt Linguist Manual.

Change-Id: I749a522894ae30219d1579d1d78456c944912204
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agosync.profile: Point dependencies to 'refs/heads/stable'
Sergio Ahumada [Tue, 4 Dec 2012 10:33:36 +0000 (11:33 +0100)]
sync.profile: Point dependencies to 'refs/heads/stable'

We should test stable branches against stable branches only.
At some point we should automate the merges from dev->stable->release
and decide how to handle possible merge conflicts.

This is good enough for the time being.

Change-Id: I25e8206d8df8f69ffc5c282487e5d8af22e6b690
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
11 years agoremove symbian vestiges
Oswald Buddenhagen [Mon, 3 Dec 2012 20:49:26 +0000 (21:49 +0100)]
remove symbian vestiges

Change-Id: I75296c5bb0ebc1006a2b28d2041bdccaa7023e94
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoAdd all new doc files we have for Qt5.
kh1 [Mon, 3 Dec 2012 16:15:52 +0000 (17:15 +0100)]
Add all new doc files we have for Qt5.

Change-Id: I8079a612ff18eba07134224cb982fc512ce5c429
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
11 years agoFix build of the Designer QAxWidget plugin.
Friedemann Kleint [Mon, 3 Dec 2012 14:54:29 +0000 (15:54 +0100)]
Fix build of the Designer QAxWidget plugin.

Change-Id: I8a1e08c627f7697ca4449f0c33b1ecbda08257b4
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
11 years agoDoc: fix issues in the Qt Linguist docs
Leena Miettinen [Mon, 3 Dec 2012 08:47:05 +0000 (09:47 +0100)]
Doc: fix issues in the Qt Linguist docs

Fix the issues listed here:
http://community.kde.org/Qt5/Documentation/OverviewClassification

Do some editing. More editing will be done later, and the QML info
will be integrated to the manual.

Change-Id: I73d3ebbd3a12ff427e7f57ba9350fa4059216100
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoWe check pointer after use it. Found with cppcheck.
Montel Laurent [Fri, 30 Nov 2012 13:49:46 +0000 (14:49 +0100)]
We check pointer after use it. Found with cppcheck.

Change-Id: I06b6006e122c3bba7144251e85c8c3616e5369da
Reviewed-by: David Faure <david.faure@kdab.com>
11 years agoQtTools: Remove reference to deprecated Q_EXPORT_PLUGIN2
David Schulz [Fri, 30 Nov 2012 13:42:20 +0000 (14:42 +0100)]
QtTools: Remove reference to deprecated Q_EXPORT_PLUGIN2

Change-Id: Ic553855393b23c8d1817e40bdff7bd219c395caf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agoremove obsolete .desktop files
Oswald Buddenhagen [Wed, 28 Nov 2012 15:08:05 +0000 (16:08 +0100)]
remove obsolete .desktop files

Change-Id: I2a4974229c18b5ad4d18089fc076d86457557cc1
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoDoc: move Qt Linguist example docs from qtbase to qttools
Leena Miettinen [Fri, 30 Nov 2012 15:14:14 +0000 (16:14 +0100)]
Doc: move Qt Linguist example docs from qtbase to qttools

Move qdoc files, images, and snippets.

Change-Id: I6ab84892dc56c23bfd056faa0713a572c814a1c2
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoChange copyright information from Nokia to Digia
Sergio Ahumada [Fri, 30 Nov 2012 11:31:00 +0000 (12:31 +0100)]
Change copyright information from Nokia to Digia

In addition, some QUrl changes were required as I had to
re-genegerate test.qch

Change-Id: I03f6b3ab4a0743244fc93af92b024a084d4b7a15
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
11 years agoDoc: move Qt Designer example docs, images, and snippets to qttools
Leena Miettinen [Fri, 30 Nov 2012 10:03:36 +0000 (11:03 +0100)]
Doc: move Qt Designer example docs, images, and snippets to qttools

Change-Id: Ib02369b0a3970432685e5eb5e271902f399fab7e
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
11 years agoRename linguist.qdocconf to qtlinguist.qdocconf
hjk [Fri, 30 Nov 2012 13:59:54 +0000 (14:59 +0100)]
Rename linguist.qdocconf to qtlinguist.qdocconf

Follow suit with the other tools.

Change-Id: I17d9216d66a92d16c0cc7c9e8794a817b98dff21
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 years agoRename designer.qdocconf in qtdesigner.qdocconf
hjk [Fri, 30 Nov 2012 13:25:31 +0000 (14:25 +0100)]
Rename designer.qdocconf in qtdesigner.qdocconf

This is consistent with assistant.

Change-Id: Iaf61e800ae0e383d4f34bf95949895856c491f7e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agoQHelpGenerator: Allow launch without window manager
Kai Koehne [Fri, 30 Nov 2012 10:01:02 +0000 (11:01 +0100)]
QHelpGenerator: Allow launch without window manager

Use the minimal plugin by default.

Change-Id: I2aa08c0ffcc76ce8692b481efb25497649b9b1d7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
11 years agoDoc: Fix issues in Qt Designer docs
Leena Miettinen [Thu, 29 Nov 2012 11:39:12 +0000 (12:39 +0100)]
Doc: Fix issues in Qt Designer docs

Fix the issues listed here:
http://community.kde.org/Qt5/Documentation/OverviewClassification

Change-Id: Ibdefbcc27d3ee47f06e0b0945be6d966734cb93e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
11 years agoDoc: Renaming Qt Assistant Manual's HTML page name.
Jerome Pasion [Wed, 28 Nov 2012 14:05:30 +0000 (15:05 +0100)]
Doc: Renaming Qt Assistant Manual's HTML page name.

-qtassistant-index.html conforms to the Qt 5 standard.

Change-Id: Ib8760790a389776bd9f37e5eab63adda1f3eb000
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoDoc: Modularize Qt Linguist docs
Leena Miettinen [Wed, 28 Nov 2012 16:12:47 +0000 (17:12 +0100)]
Doc: Modularize Qt Linguist docs

Move docs from qtdoc to qttools. Move examples and example docs
from qtbase to qttools. Fix references to snippets and examples.

Change-Id: Ib9f89bac416473dcfd8b4d06a05f8d07ff7c2fd0
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agocentralize and fixup example sources install targets
Oswald Buddenhagen [Wed, 28 Nov 2012 15:06:45 +0000 (16:06 +0100)]
centralize and fixup example sources install targets

follow respective change in qtbase

Change-Id: I6e892deb9fa3868579e9c556fbcf00cc7bc6145c
Reviewed-by: hjk <qthjk@ovi.com>
11 years agomacdeployqt: Fix deployment of sql driver plugins
Eike Ziller [Wed, 28 Nov 2012 13:46:53 +0000 (14:46 +0100)]
macdeployqt: Fix deployment of sql driver plugins

Task-number: QTBUG-28248

Change-Id: I5e31770a3d31cb22b1ab17574ea38e509c59470d
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
11 years agoAssistant: rename doc/assistant.qdocconf to doc/qtassistant.qdocconf
hjk [Wed, 28 Nov 2012 10:26:36 +0000 (11:26 +0100)]
Assistant: rename doc/assistant.qdocconf to doc/qtassistant.qdocconf

Change-Id: Ica76bcfc664ff143a7621cc75d0fac19afb5aa74
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agoUpdate information from Nokia to Digia and Qt Project
Sergio Ahumada [Tue, 27 Nov 2012 19:08:55 +0000 (20:08 +0100)]
Update information from Nokia to Digia and Qt Project

Task-number: QTBUG-28156
Change-Id: I2d813a0f4fa266af004714f04b16501f5751c881
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoAssistant: adjust to recently changed location of .qch files
hjk [Tue, 27 Nov 2012 15:14:30 +0000 (16:14 +0100)]
Assistant: adjust to recently changed location of .qch files

Change-Id: If0a395d332fbbba5cd5875e325db87d2087b09e5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
11 years agoDoc: Modularize Qt Designer Manual
Leena Miettinen [Tue, 27 Nov 2012 14:46:48 +0000 (15:46 +0100)]
Doc: Modularize Qt Designer Manual

Move the appropriate files from qtdoc to qttools and fix the links.
Create a qdocconf file and modify designer.pro.
Actual content fixes will be done in a separate commit.

Task-number: QTBUG-28025
Change-Id: Ibde5c0fe0b1ddbeb845d10a2a5ebf609491235b0
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
11 years agoDoc: Changed qch namespace from "com" to "org"
Jerome Pasion [Fri, 23 Nov 2012 16:31:33 +0000 (17:31 +0100)]
Doc: Changed qch namespace from "com" to "org"

"org.qt-project" is what the Qt 5 modules use.

Change-Id: I86dc881672db7e9a56ba10c0a76c6485fe6e7c73
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
11 years agoFix static build of Qt Designer on Windows.
Friedemann Kleint [Mon, 26 Nov 2012 14:04:27 +0000 (15:04 +0100)]
Fix static build of Qt Designer on Windows.

Ensure QT_DESIGNER_STATIC is defined everywhere such that
the EXPORT macros evaluate to empty.

Task-number: QTBUG-28131

Change-Id: I111b1351c4d81172adc9110d31b8b7ed13af7ef5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>