Forums

OverviewV-Play 2 Support (Qt 5) › QtSensors

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8651

    Senad

    Hi,

    I know this is more of a Qt questions than V-Play questions but when I import QtSensors 5.0 and I try to deploy to the phone i get this error :

     

    W/Qt ( 5428): src/system.cpp:156 (static QVariant System::getConfigValue(const QString&)): WARNING: cant find config.json file

    W/Qt ( 5428): qml\qqmlapplicationengine.cpp:133 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject*)): QQmlApplicationEngine failed to load component

    W/Qt ( 5428): qml\qqmlapplicationengine.cpp:134 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject*)): assets:/qml/main.qml:3 module “QtSensors” plugin “declarative_sensors” not found

     

    Even though the QtSensos is located in the Qt folder

     

    Much appreciated..

     

     

     

     

    • This topic was modified 3 years, 6 months ago.
    #8684

    Alex
    V-Play Team

    Hi,

    Could you please add the following line to your project file (.pro), and run a qmake & rebuild your project:

    QT += sensors

    Does this solve the issue?

    Thanks,

    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support