Disable "Qt Quick->Preview" action if no qmlviewer in the PATH

An error dialog would be more explicit, but too late because of string
freeze.
This commit is contained in:
Kai Koehne
2010-08-13 12:31:15 +02:00
parent e28e1f0c56
commit ceca9d9d7a
3 changed files with 8 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ class QmlJSPreviewRunner : public QObject
Q_OBJECT
public:
explicit QmlJSPreviewRunner(QObject *parent = 0);
bool isReady() const;
void run(const QString &filename);
signals: