408-754-4176 | info@reachtech.com

by Reach Technology
Support > Frequently Asked Questions > How do I port a G2C1 application to the G2H2 module?

How do I port a G2C1 application to the G2H2 module?

To port a G2C1 application to the G2H2 platform, you will need to change the QML files to account for the new QtQuick used in the new Qt Creator. To do this:

  1. Double-click on the .qmlproject file to start the new Qt Creator.
  2. Click on Tools->Options…, click on Kits, click on Qt 5.3.1, then click on Make Default.
  3. In each .qml source file, change the line:

    import QtQuick 1.1

    to:

    import QtQuick 2.0

  4. Click on File->Save All, then exit Qt Creator.
  5. Delete the .qmlproject.user file in your project folder – this removes any incorrect project settings (which are based on old file contents).
  6. Double-click on the .qmlproject file to start Qt Creator with the new settings.