QML import could not be resolved in any of the import paths



  • Hi all
    I have problem with build my Qt project to Android
    Warning: QML import could not be resolved in any of the import paths: ua.sp.GameCore
    ua.sp.GameCore it's my own C++ class

    // main.cpp
    qmlRegisterType<QCTLCore>("ua.sp.GameCore", 0, 1, "GameCore");
    
    // main.qml
    import ua.sp.GameCore 0.1
    

    I have no problem with build this project for Windows
    exists similar bug QTCREATORBUG-13521 but I'm use QtCreator 3.6.1
    project recreation do not help(

    thanks for any advice
    good luck



  • I clean all dependencies from google-play-services and my application started on phone
    but I still have following error
    Warning: QML import could not be resolved in any of the import paths: ua.sp.GameCore
    looks like this warning should be ignored)



  • Hi, i see that, this problem is solved.
    could you show the solution for this warning?
    Thanks you.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.