Qt World Summit: Submit your Presentation

QmlApplicationViewer && QtCreator problem

  • Hi all,
    I have a "Qt Quick Application" created by Qt Creator ("New File or Project...") .

    By default it add a QmlApplicationViewer class to show QML files.

    With QmlApplicationViewer I can't show qml file in the application "resource" so I edited it as follow:
    void QmlApplicationViewer::setMainQmlFile(const QString &file)
    d->mainQmlFile = QmlApplicationViewerPrivate::adjustPath(file);

    this way I can "show" QML file with:

    The problem is that every time I open the project with QtCreator it show me a message:
    The following files are outdated or has been modified:

    How can I remove this warning?

Log in to reply