summaryrefslogtreecommitdiffstats
path: root/tools/qml/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QmlViewer: Fix typo in commentKai Koehne2010-09-281-1/+1
|
* QmlViewer: Fix assert on exit (Windows)Kai Koehne2010-09-281-0/+3
| | | | | | | | | | | The QApplication object in main() is already destroyed when showWarnings() is called. Create another instance in this case. (Note that the assert will only be triggered for debug builds, while qmlviewer is built in release mode by default). Task-number: QTBUG-14009 Reviewed-by: Thomas Hartmann
* Fix recording of QML visual tests when using a QGLWidget viewport.Michael Brasser2010-09-061-2/+1
| | | | | In order for the event filter to work, we need to set the QGLWidget as the viewport before constructing the QDeclarativeTester.
* Improve utility of QMLViewerAaron Kennedy2010-07-291-177/+299
| | | | | | | Adds a startup animation for all platforms, and adds support for file associated and drag and drop on Mac OS X QTBUG-12496
* Only support portrait and landscape orientations on Symbian when updating ↵Joona Petrell2010-07-131-9/+2
| | | | | | | the runtime.orientation property Task-number: QTBUG-12036 Reviewed-by: Martin Jones
* Add Symbian support for runtime.orientation propertyJoona Petrell2010-07-071-0/+11
| | | | | Task-number: Reviewed-by: Martin Jones
* Prevent a recursive debug output loop when writing to the logger widget.Robert Griebl2010-07-061-4/+11
| | | | | | | (On Maemo5 the input method may generate a qWarning when someone clicks into the logger widget, which leads to an endless output recursion) Reviewed-by: Harald Fernengel
* Don't write to the logger widget while the application is closing down.Robert Griebl2010-07-021-1/+1
| | | | Reviewed-by: TrustMe
* Indicate default sizing option in qmlviewerBea Lam2010-06-301-1/+1
|
* Micro cleanupHarald Fernengel2010-06-161-4/+3
| | | | | | Use Qt::WA_DeleteOnClose to clean up the top-level window Reviewed-by: Alan Alpert
* Rename qml executable to qmlviewerKai Koehne2010-05-191-2/+2
| | | | | Revert the name of the 'qml' executable back to qmlviewer (QMLViewer on mac).
* Renaming "Qml Launcher" back to "QML Viewer"Kai Koehne2010-05-181-7/+7
| | | | | | | | | Change the official name of the qml executable back to "Qt QML Viewer" - the original name before it got renamed to "QML Runtime" and then "QML Launcher". Also, the new Mac OS X bundle name is "QMLViewer" (without a space to ease command line use).
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-05-181-1/+5
|\
| * Set raster + gl viewport as the default for OS X.Michael Brasser2010-05-181-1/+5
| | | | | | | | | | | | This setup seems to work around most rendering bugs and timing issues. Task-number: QTBUG-10544
* | Move stuff from QML viewer to plugins.Warwick Allison2010-05-171-2/+0
|/
* Rename QML Runtime (executable) to QML LauncherKai Koehne2010-05-141-7/+7
| | | | | | | | The qml executable was first referred to as QML Viewer, then QML Runtime ... however, the latter one caused much confusion (see old version of qmlruntime.qdoc). Doc changes reviewed by Leena Miettinen.
* Remove skins from qml launcher.Kai Koehne2010-05-141-21/+0
|
* Revert "Use raster graphicssystem for qml.app on OS X."Michael Brasser2010-05-141-1/+1
| | | | This reverts commit d412a77d1e9a1c6810e10dfa4a0a35a81391cf29.
* Use raster graphicssystem for qml.app on OS X.Michael Brasser2010-05-121-1/+1
| | | | Task-number: QTBUG-10544
* Temporary work-around for QTBUG-9849.Warwick Allison2010-05-111-0/+6
| | | | May allow better experimentation and bug fixing.
* Another initialization fix. Unleak.Warwick Allison2010-05-051-1/+1
|
* Add a switch to the menu to hide/show the runtime warningsKai Koehne2010-05-051-10/+23
| | | | Reviewed-by: mae
* Don't show warnings log window by defaultKai Koehne2010-04-291-4/+5
| | | | | | | Disable it for the time being. The default annoyed more people then it helped. Reviewed-by: mae
* Unify naming of settings / UI to be "Qt Qml Runtime"Kai Koehne2010-04-261-2/+2
| | | | Reviewed-by: Henrik Hartz
* Location of binary is not on installed-content import path.Warwick Allison2010-04-231-2/+0
| | | | Reviewed-by: mae
* delete the viewer before calling exit(). Ensures correct cleanup.Martin Jones2010-04-211-26/+28
|
* Make logger widget thread safe.Martin Jones2010-04-211-1/+2
|
* License headersAaron Kennedy2010-04-201-1/+1
|
* Show command line help / qml runtime output in GUIKai Koehne2010-04-201-7/+60
| | | | | | | | | Since qml is a GUI program, debugging output isn't visible by default for Windows/Mac users. Therefore provide command line help in a dialog (Windows), and runtime errors/warnings in a separate top level window. Done together with mae. Reviewed-by: mae
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Alan Alpert2010-04-191-1/+1
|\ | | | | | | | | | | Conflicts: doc/src/template/style/style.css tools/qdoc3/htmlgenerator.cpp
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-151-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (24 commits) Fix MOBILITY-404 Remove holes in bearer management data structures. Don't link bearer plugins against QtGui unnecessarily. Added missing newline after warning message when using -L with qml Doc: updating scripts Fixed a crash on embedded due to uninitialized pointer. Fix a race where QThread::exit() is "lost" when called after start() qdoc: Removed all <table> attributes in favor of using css. Autotest failure: dialogModality test fails on cocoa (macgui) Force the bic test to compile in 32-bit mode on Mac Revert "Doc: Updating design files." Remove statically allocated pixmaps through the post routine qdoc: Checked for empty title. qdoc: Added TOC to class ref pages. Cocoa: qwidget autotest fails on setToolTip Compile on Mac OS 10.4 Bearer management changes from Qt Mobility (7a5ff985) Partially revert "Sunstudio12.1(5.10): Fix compile errors GTK style and other minor compile errors" Fix margins for placeholdertext in QLineEdit qdoc: Added TOC to module pages. ...
| | * Added missing newline after warning message when using -L with qmlThorbjørn Lindeijer2010-04-141-1/+1
| | |
* | | ResizeMode support for QGraphicsWidgets created with QDeclarativeViewJoona Petrell2010-04-161-1/+8
|/ / | | | | | | | | Task-number: QTBUG-8814 Reviewed-by: alexis
* | Support recording visual snapshot tests.Michael Brasser2010-04-141-0/+4
|/
* Tune plugin import mechanismmae2010-04-081-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | In shadow build environments, we cannot enforce that shared library objects for plugins are located in the same directory as the qmldir file. This makes it hard for Creator to support mixed projects (qml/c++). In order to gain more flexibility, the patch introduces a pluginPathList to QDeclarativeEngine, which completes the existing importsPathList. The pluginPathList defaults to ["."], which indicates the directory where the qmldir file is located in. The qml viewer tool gains a command line option -P to add to the pluginPathList. For consistency, the -L option ("Library") has been renamed to -I ("Import"). QDeclarativeEngine::importExtension() has been renamed to QDeclarativeEngine::importPlugin(). The documentation has been adjusted accordingly. Done with erikv. Reviewed-by: erikv
* Minor cleanup for visual test framework.Michael Brasser2010-03-311-1/+1
|
* Simplify import path.Warwick Allison2010-03-291-2/+9
| | | | Reviewed-by: mae
* Let the 'qml' runtime use its applicationDirPath as importsPathmae2010-03-021-0/+3
| | | | | | The is analog to the plugin system in Qt. It makes it possible to ship an executable with extra plugins resp. qml import modules without creating a qt.conf.
* Fix compile warningAaron Kennedy2010-03-011-1/+1
|
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+356
QDeclarativeXXX.