summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* qmlplugindumper: do not pop up a window if an assert is triggeredv5.3.2Fawzi Mohamed2014-08-011-0/+11
| | | | | | | | | | On windows the debug version of qmlplugindumper used to show a panel on assert failure. Failure should be silent. Done-with: Thomas Hartmann <thomas.hartmann@digia.com> Task-number: QTCREATORBUG-12644 Change-Id: I0491ab745a546687772cd0d70fb6b8be0f03bb75 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* qmlplugindump: Fix platform plugin specification.Friedemann Kleint2014-05-051-1/+1
| | | | | | | | Fix warning: Project WARNING: CONFIG+=qpa_minimal_plugin is deprecated. Use QTPLUGIN.platforms=qminimal instead. Change-Id: I33330bdbe7639de777b4f0fedd4ecadd184733bf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* remove stale phonon referenceOswald Buddenhagen2013-09-301-3/+0
| | | | | | Change-Id: I0ab1c16d2a9b593782f846ac11374ff9727d72c1 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix organization domains.Friedemann Kleint2013-07-151-2/+2
| | | | | | Task-number: QTBUG-32390 Change-Id: Ibaeb0b1ad2ee7b446252fc5e5984c78dbb909a3f Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* qmlplugindump1: make it behave more like qmplugindumpv5.1.0-rc1Fawzi Mohamed2013-06-101-8/+9
| | | | | | | | * use -nonrelocatable as flag * always emit meta object revisions Change-Id: I8bab4e4faf458f403dbfdc9e6c11c0ad17c27295 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* make use of qt_app.prfOswald Buddenhagen2013-05-281-5/+2
| | | | | Change-Id: Ibb906772daf7a6bc6d56874db0a4ced2cafa67a4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* adjust to new "configure -nomake tools" semanticsOswald Buddenhagen2013-05-281-1/+6
| | | | | | | | this also reverts f47715f0a4 on the way, as this should make it obsolete. Change-Id: Ib54177b35f2378d7e6df497f546a8c4f19d00914 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Tools: unnecessary to make qmlplugindump a bundleLiang Qi2013-05-271-2/+7
| | | | | | | | Embed Info.plist in qmlplugindump executable in a special way. Change-Id: Ia83cf15a1dc8c7e37560a280bd711ff2e4468ad8 (cherry-picked from qtdeclarative/4d173d5f16c103f640d4089feed44a74b14e9004) Reviewed-by: Liang Qi <liang.qi@digia.com>
* iOS: fix build on iOSRichard Moe Gustavsen2013-05-151-1/+1
| | | | | | | | Currently, apps for iOS needs to be build through Xcode. So disable building tools for now, until a proper solution is ready. Change-Id: Ib31ad29d83c9043be94881e536975682adca4061 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
* Fix warning about overloaded virtual in qmlviewer (CLANG).Friedemann Kleint2013-03-112-2/+2
| | | | | Change-Id: Id5f3f66a353a360e98957541e339a28ad0d301e5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-282-4/+4
| | | | | | Change-Id: I6482af592a564dbbbab28b3f425ab2886f6d1bea Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1021-21/+21
| | | | | | Change-Id: I0281c3f6c10bb7c57f0e470306f38e96badf997b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix some warnings in qtquick1 found by ClangThiago Macieira2013-01-041-1/+1
| | | | | | | | | | | qml/qdeclarativevme.cpp:286:26: error: destination for this 'memset' call is a pointer to dynamic class 'QObject'; vtable pointer will be overwritten [-Werror,-Wdynamic-class-memaccess] qml/qdeclarativemetatype.cpp:441:9: error: expression result unused; should this cast be to 'void'? [-Werror,-Wunused-value] util/qdeclarativefontloader.cpp:87:52: error: addition of default argument on redeclaration makes this constructor a default constructor [-Werror,-Wdefault-arg-special-member] qmlplugindump/main.cpp:180:75: error: unused parameter 'engine' [-Werror,-Wunused-parameter] qml/qdeclarativefastproperties_p.h:53:1: error: class 'QMetaObject' was previously declared as a struct [-Werror,-Wmismatched-tags] Change-Id: I1e91252d048e36e684a854ca1c6eb92e5a871444 Reviewed-by: Alan Alpert <aalpert@rim.com>
* QmlViewer: Fix test script exits.Friedemann Kleint2012-12-201-5/+19
| | | | | | | | | | | Use exit code 1 on Windows to indicate failures as negative exit codes are reported as crashes by QProcess in the qmlvisual test. Always use QCoreApplication::exit() to ensure proper cleanup. Task-number: QTBUG-28611 Task-number: QTBUG-28735 Change-Id: I0b12153449f7371ce7795a5747e3311184bc7b6f Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* QmlViewer: Display options on Windows using a non-proportional font.Friedemann Kleint2012-12-201-1/+3
| | | | | Change-Id: I7006fdc73c459da0e19e08fbda35905f32f2aebc Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* remove some unnecessary CONFIG additionsOswald Buddenhagen2012-12-191-1/+1
| | | | | | | qt is already added by spec_pre.prf. Change-Id: Ie2cf7c733718319437a823993c09778507c423ef Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add minimal plugin importing to quick1 qmlplugindump toolv5.0.0Miikka Heikkinen2012-12-141-0/+2
| | | | | | | Task-number: QTBUG-28131 Change-Id: I9d38b7f2ec94dfd084e2ce23412c4a8348ffe7b4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Add PLUGIN_CLASS_NAME to qtquick1 pluginsMiikka Heikkinen2012-12-101-0/+1
| | | | | | | | Needed for automating static plugin loading. Task-number: QTBUG-28131 Change-Id: Ia32d3dad2136d0fda468a538fe9be989e72c79eb Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Qml1PluginDump: Prevent crash if run without WMKai Koehne2012-12-011-0/+3
| | | | | | | Make sure that the minimal platform plugin is used by default. Change-Id: I32f5ae128f2134f8955d4bdb14974059b98209eb Reviewed-by: hjk <qthjk@ovi.com>
* Qml1PluginDump: Fix dumping of GUI typesKai Koehne2012-11-272-3/+3
| | | | | | | | | | Make sure that Gui types are dumped to for -builtins. For QGuiApplication / type() == QApplication::Tty they weren't registered otherwise (change e5b200fa06e). Task-number: QTBUG-28206 Change-Id: Ia6c0902f465ece5411a37b9c23b390172dc58f4b Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* follow qt_tool.prf now setting up DESTDIROswald Buddenhagen2012-11-021-1/+0
| | | | | Change-Id: I875fb9563af10f51bb3d51950bc376f44a8f38db Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* adjust to qt_plugin.prf changesOswald Buddenhagen2012-11-022-14/+4
| | | | | | | | | DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. some other setup can be skipped as well. Change-Id: If6e77a42a571e1977875b13bc8519a2cd43df16a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Adapt to WebKit module changesSimon Hausmann2012-10-191-2/+2
| | | | | | | | QtQuick1 uses the Widgets related API of QtWebKit and hence needs to use the QtWebKitWidgets module. Change-Id: Idf2e65d053e1dbf2501486c8f0a22b8b25f23efc Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
* QtQuick1: Make the examples test for QtQuick1 pass.Friedemann Kleint2012-10-172-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | - Fix check to indicate immediate errors, skip the loading state and check for errors after loading again. - Exclude all broken examples. - Exclude Mac .app folders - Fix the DeclarativeViewer to check for the presence of the ImageMagick and ffmpeg executables only once, reducing test time. - Do not check for ImageMagick by running its command line tool 'convert' on Windows, since Windows has a tool of the same name that converts file systems (!). - Fix doc snippets to load correctly. - Introduce defines in case WebKit or XmlPatterns are not present (which existed in Qt 4). Task-number: QTQAINFRA-428 Change-Id: Icc0a983bc42857b41ab1d9e93336f8265bfbec36 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QtQuick1: Fix qmlviewer no longer showing file dialog.Friedemann Kleint2012-10-171-6/+4
| | | | | Change-Id: I81588fbe7141fb1df0d56b2dec2e8d495af975a0 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Rename the QtQuick1 module back to QtDeclarativeFriedemann Kleint2012-10-176-12/+12
| | | | | | | | | | | | | | | | | Matches the name that this code used to have in Qt 4. - Adapt library, change import path to 'QtDeclarative'. - Update the tests and examples to match the new library name. - Rename qtquick1global{_p}.h to qtdeclarativeglobal.h. - Change exports back to Q_DECLARATIVE_[PRIVATE_]EXPORT, like it was in Qt 4 and matching the library name again. This also changes the include guards in qtdeclarativeglobal{,_p}.h. - Fix occurrence of quick_debug in tools/qml/qml.pro. Change-Id: Ibb1fb2e503f90943a2125e4ac3cc4eca3369ca3f Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2421-504/+504
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I11a957e35758e821269478ebc91e87f0f5ebc4d5 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* qmlplugindump: Update help outputKai Koehne2012-09-181-1/+1
| | | | | | | We dropped the 4.7 import a while ago. Change-Id: I8ae8d11b890374c3ec6e87556a7de1f064d37f38 Reviewed-by: Christian Kamm <kamm@incasoftware.de>
* Compile & install qmlplugindump by default (again)Kai Koehne2012-09-172-27/+5
| | | | | | | | | qmlplugindump is still needed for QtQUick1 modules, since the one in qtdeclarative will choke on the QtQuick1 dependency. Therefore revive qmlplugindump in here, but name it qml1plugindump. Change-Id: I975621cff4758ab71e165eb3f6398d70a1f154be Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Use qInstallMessageHandlerKai Koehne2012-09-141-9/+7
| | | | | | | qInstallMsgHandler got deprecated in Qt 5. Change-Id: I87f5f8d5b28afcbcf8a9c613d1d4b1199f5f4254 Reviewed-by: Martin Jones <martin.r.jones@gmail.com>
* qmlplugindump: Fix compilation againKai Koehne2012-09-101-24/+18
| | | | | | | Apply changes done to qtdeclarative/qmlplugindump here, too. Change-Id: I55c99fb0ad499c5cb59dda33e320702c0d4722ea Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* Use CONFIG+=quick1_debug in pro files to activate debuggingv5.0.0-beta1Kai Koehne2012-08-241-1/+1
| | | | | Change-Id: I63cc45662e8f1ac5979ac8cf2ba8c76b42c45895 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Use Qt::WindowFlags, not Qt::WFlags.Stephen Kelly2012-08-201-1/+1
| | | | | | | | | The latter seems to date from the Qt 1 days, and such abbreviations are not current Qt style. Change-Id: I6384d32f125fe7800c57e387f48930a1e71fbe08 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Make qtquick1 compile with QT_NO_DRAGANDDROPTasuku Suzuki2012-06-281-0/+4
| | | | | | Change-Id: Ic7790b074a138371e28f1be487c2d05c98242134 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com>
* Replace QWeakPointer with QPointer for tracking QObjectsThiago Macieira2012-06-261-1/+2
| | | | | | | | | | | QWeakPointer support for assigning QObjects is deprecated. Use QPointer instead. This is required to compile with the deprecated API disabled. Change-Id: I5b5c9b261d66c297b57889ce072f4bdf98613e36 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* don't reference $$QT_BUILD_TREE - it's unavailable hereOswald Buddenhagen2012-06-261-1/+1
| | | | | Change-Id: I6afbab3b3cc721eb84abf030ab703c0f0366dcbc Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Detect, and disallow qtquick2 in qmlviewer.Robin Burchell2012-06-251-10/+62
| | | | | | | Try to automatically fall back to qmlscene, print an error if not possible. Change-Id: I55e7bafe3477bf75d72709fe8a98746b5d9e6442 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Strip out Maemo5 code.Robin Burchell2012-06-196-323/+2
| | | | | Change-Id: Ia4315c32ba35f9ec7bd7b4e935bfcdbc21c1410d Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Remove Symbian support.Robin Burchell2012-06-197-287/+1
| | | | | Change-Id: I735584db5cf7298ef61f316036df460e79485246 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Updates to platform-specific code for Qt 5.Robin Burchell2012-06-181-17/+2
| | | | | Change-Id: I69d237e28303e4d9b6bb57d97e84fb5dae1f4e48 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Remove the remaining traces of the old plugin systemLars Knoll2012-06-052-2/+1
| | | | | Change-Id: I0b4156f01d5d1bfe5cdde724148ed681025ab227 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Do not let QML warnings reduce the frame rate in fullscreen mode.Andreas Hartmetz2012-05-292-0/+9
| | | | | | | | | | | QPlainTextEdit::appendPlainText() can take surprisingly long, even when the widget is hidden. In a demo on embedded hardware we've seen the frame time go up from ~55 milliseconds to ~85 over the first few minutes of the demo running. There was one warning emitted per frame. With this patch there is no significant performance degradation. Change-Id: Ic80409b29a1544f03431e1573811a00925660338 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Eliminated usage of "declarative" compat module.Rohan McGovern2012-05-151-1/+1
| | | | | | | | | | | | | | | | The check in qmltooling attempts to avoid installing the qtquick1 version of the debugger plugin if qtquick2 is used. The removal of the declarative module meant that this plugin was always enabled, potentially overwriting the qtquick2 debugger plugin. This check was updated to work again, although this approach is still somewhat problematic. It would be better if the different versions of the plugins had different names. The check in tools/designer/src/plugins doesn't seem to make sense, so it was removed. Change-Id: I55d1bf59264d3c5d62c2d4545e9ced952e460efb Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Change uses of {to,from}Ascii to {to,from}Latin1Thiago Macieira2012-05-043-10/+10
| | | | | | | | | | This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I657ca349b700fa043a796b7a464d057ca18bb90a Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* QImage::numBytes() is deprecated in favour of QImage::byteCount()Thiago Macieira2012-05-041-2/+2
| | | | | Change-Id: Iff87ba1a658683bcef3a38353602a733f18a1340 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Use the declarative_debug config option to enable debug.Andrew den Exter2012-02-221-1/+1
| | | | | | | | | | There doesn't appear to be any straightforward way to install additional prf files to qtbase and declarative_debug.prf is identical to quick1_debug and already present in the qtbase repo. Change-Id: I8332e22f4039c7de18fedb21fe951ff19611ea13 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix compilation on HarmattanSimon Hausmann2012-02-151-11/+11
| | | | | | | | | Yeah, this seems strange, perhaps the code should be removed altogether. But this fix is simple to compensate for the fact that the code is compiled with NO_CAST_FROM_ASCII. Change-Id: I35dc093b05e7de4df757464869b5aa4609d74977 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Fix license header format.Matthew Vogt2012-02-0720-40/+20
| | | | | Change-Id: Ib71237ed181d075329a0267b5c108e6534c13e4e Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Fix license headers to match conventions.Matthew Vogt2012-02-0720-0/+20
| | | | | | | | Files updated to mtach licensing conventions for different types, and license text updated to match current. Change-Id: Ib2c7457fbc3b37907ab3936e176e6f16f8308036 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Install binaries and imports to qtbase.Andrew den Exter2012-02-031-6/+2
| | | | | | | Use the Qt.quick1.* variables to determine the DESTDIR. Change-Id: I17b6d1f037b76ed25a005ec56cbc5c82b522ffc6 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>