forked from qt-creator/qt-creator
Add a maximum Qt Version to the wizards
All existing wizards derived from AbstractMobileWizard do not support qt 5. So they won't offer them, nor default to them. Task-number: QTCREATORBUG-6321 Change-Id: I999e2565cec5b0d7da04c10e38ac2cb101352e5b Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "targetsetuppage.h"
|
||||
|
||||
#include "qt4projectmanagerconstants.h"
|
||||
#include <limits>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtGui/QIcon>
|
||||
@@ -58,7 +59,7 @@ private:
|
||||
};
|
||||
|
||||
Html5AppWizardDialog::Html5AppWizardDialog(QWidget *parent)
|
||||
: AbstractMobileAppWizardDialog(parent, QtSupport::QtVersionNumber())
|
||||
: AbstractMobileAppWizardDialog(parent, QtSupport::QtVersionNumber(), QtSupport::QtVersionNumber(4, INT_MAX, INT_MAX))
|
||||
, m_htmlOptionsPage(0)
|
||||
{
|
||||
setWindowTitle(tr("New HTML5 Application"));
|
||||
|
||||
Reference in New Issue
Block a user