Commit Graph

32 Commits

Author SHA1 Message Date
dt
f987eccd28 Revert "QmlApp template: Use new 4.7.1 API to enable qml debugging"
This reverts commit 424fcf8c04.
2010-11-10 16:56:39 +01:00
Kai Koehne
424fcf8c04 QmlApp template: Use new 4.7.1 API to enable qml debugging
Qml debugging is now disabled by default, and has to be enabled
explicitly (b2016bbfc9). This has to be done before the
QDView/QDEngine is instantiated ...

The patch introduces a static create method to QmlApplicationViewer,
so that the setup can be hidden from the users main file.
2010-11-08 09:43:49 +01:00
Kai Koehne
d0baf43b6a Qml Wizard: Turn error about qml debugging getting disabled into a warning
Qml Debugging requires 4.7.1, and the path of qmljsdebugger being
specified on the command line. Just disable debugging if this
isn't the case instead of bailing out an error.

Reviewed-by: dt
2010-11-03 14:07:31 +01:00
Kai Koehne
2ac91abd30 QmlApp template: Use new 4.7.1 API to enable qml debugging
Qml debugging is now disabled by default, and has to be enabled
explicitly (b2016bbfc9). This has to be done before the
QDView/QDEngine is instantiated ...

The patch introduces a static create method to QmlApplicationViewer,
so that the setup can be hidden from the users main file.

Reviewed-by: Alessandro Portale
2010-11-03 14:06:44 +01:00
Alessandro Portale
48d726b37e Remove compile warning on Symbian.
Reviewed-By: TrustMe
2010-11-01 19:25:19 +01:00
Alessandro Portale
2a7336b4d6 Move hide implementation of conditional show()
...and do not call it show(), because that is the signature of
a non-virtual base class function. showExpanded() sucks as name,
and hjk, who reviewed this is not convinced.
But showExpanded() is still better than show().

Task-Number: QTCREATORBUG-2979
Reviewed-By: hjk
2010-11-01 19:19:32 +01:00
Alessandro Portale
7d622f1145 Changing template/qmljsdbg-lib as suggested in QTCREATORBUG-2885
- Renaming the screen orientation enum and keys
- Explicit constructors
- Virtual destructors
- Renamed some occurences of 'Qml' in comments to 'QML'
- Adding descriptive comments to all generated files which should
  not be touched by the user.
- Adding missing license headers to the qmljsdebugger sources

Task-Number: QTCREATORBUG-2885
Reviewed-by: Friedemann Kleint
Reviewed-by: dt
2010-11-01 17:03:46 +01:00
Kai Koehne
0a8c34d382 QmlApp: Only use QMLJSDEBUGGER define to activate qml debugging
Don't confuse users by two defines they have to comment in when
they just want to 'debug': Instead QMLJSDEBUGGER now activates
both the Js Debugger & and the QmlObserver services. Finetuning
can still be done by using the (undocumented) NO_JSDEBUGGER,
NO_QMLOBSERVER defines.
2010-10-13 16:52:58 +02:00
Alessandro Portale
043cf532ec Improved the comments in the generate qml app code.
This was committed to the master branch, but was supposed
to go into 2.1 (I misunderstood the branching strategy of
Creator 2.1).

Since this does not change Creator code:
Reviewed-by: Trustme
2010-10-02 18:26:51 +02:00
Kai Koehne
3e080e082d QmlJSDebugger: Check for Qt 4.7.1 or newer before enabling qml debugging
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:41 +02:00
Lasse Holmstedt
86fcf51b60 QML Observer: fix paths for the qml app template
Reviewed-by: Thomas Hartmann
2010-09-29 10:57:15 +02:00
Kai Koehne
f618115b8f QmlWizard: Improve error output in generated .pri file
Reviewed-by: Alessandro Portale
2010-09-22 15:45:03 +02:00
Kai Koehne
4ab1c88ba0 QmlJSDebugger: Split library up into a debugger & observer part
This allows us to enable/disable the experimental observer, independent
from the core javascript-debugger functionality.

Reviewed-by: Christiaan Janssen
2010-09-22 15:44:48 +02:00
Kai Koehne
9107f0c5d0 QmlJSDebugger: Change namespace from QmlObserver to QmlJSDebugger
The library not only contains the observer part, but also the javascript
debugger. Reflect this in the namespace.
2010-09-22 15:44:13 +02:00
Christian Kandeler
1507b5b4e1 QML wizard: Remove remains of dummy data loading.
The GUI part of this has been removed already.

Reviewed-by: Alessandro Portale
2010-09-21 16:32:30 +02:00
hjk
6bc11283ea qmlapplicationviewer: move platform-dependent code out of sight. 2010-09-20 13:29:25 +02:00
Kai Koehne
a10b26920b Qml: Replace 'inspector' by 'observer'
We should restrict ourselves to calling all qml debugging support
observer, instead of mixing qml debugger / inspector / observer
interchangeably.
2010-09-16 16:22:31 +02:00
Kai Koehne
832f6889b5 QmlJSDebugger: Replace namespace QmlViewer with QmlObserver 2010-09-16 16:22:31 +02:00
Kai Koehne
b7384af062 QmlStandaloneApp: Fix template to use new QDeclarativeObserver 2010-09-16 15:48:00 +02:00
Kai Koehne
63cae2981b QmlJsDebugger: Replace QDDesignView by QDViewObserver
Don't force users to inherit from QDeclarativeDesignView. Instead we're
using now event filters to let a user attach a QDeclarativeViewObserver
object to a QDeclarativeDesignView.
2010-09-15 14:18:39 +02:00
Christian Kandeler
9d04cffe98 QML + Mobile wizard: Share deployment rules.
Reviewed-by: Alessandro Portale
2010-09-14 15:07:50 +02:00
Christian Kandeler
53fa97752b QML wizard: Fix previous deployment fix. 2010-09-13 17:39:42 +02:00
Alessandro Portale
de532ec9bb Fix deployment 2010-09-13 17:36:02 +02:00
Christian Kandeler
8194d2287d Mobile + QML qizard: Fix deployment. 2010-09-13 16:49:41 +02:00
dt
6cd786cda0 new QML Wizard: move qml files to the right level
By using a function, which we evaluate in the right context we end up
with the project tree we want
2010-09-13 11:56:06 +01:00
Christian Kandeler
e9cf4e0e42 QML Wizard: Orientation support for Maemo5.
Reviewed-by: Alessandro Portale
2010-09-10 13:58:19 +02:00
Christian Kandeler
292cec359f QML Wizard: Fix Fremantle install prefix.
/opt -> /opt/usr
2010-09-09 10:37:42 +02:00
Christian Kandeler
68f13d3f9a QML Wizard: Let executable find its QML files on Linux.
Reviewed-by: dt
2010-09-08 17:54:02 +02:00
Christian Kandeler
e0d9b32228 QML App Wizard: Simplify deployment rules.
Reviewed-by: Alessandro Portale
2010-09-08 17:53:50 +02:00
Kai Koehne
3db7e51484 QmlApp template: Fix compilation for QMLINSECTOR define 2010-09-01 11:09:42 +02:00
Christian Kandeler
133b8483c8 QML standalone wizard: Add support for Maemo5 application icon.
Reviewed-by: Alessandro Portale
2010-08-31 15:40:28 +02:00
Alessandro Portale
071400d6bb Improved (and simplified) the stub directory structure
- Removed the "cpp/" dir
- Moved main.cpp and symbianicon.svg next to the main .pro.
  This also reduces the dir depth in the project view.
- Introduced "qmlapplicationviewer/" dir, which will contain the files
  which the user should not modify. All the files there have the base
  name "qmlapplicationviewer"
- Moved/renamed "qmlapplication.pri" to
  "qmlapplicationviewer/qmlapplicationviewer.pri"
2010-08-25 19:08:15 +02:00