Forums

OverviewFelgo Plugins Support › Bug no solution (:

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16634

    Waeil

    import QtGraphicalEffects 1.0   cause to me error

    qml module does not contain information about components contained in plugins

    look to the picture  (http://hpics.li/8c3a73a)

    :-1: warning:
    “C:\Android\android-ndk-r14\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++” is used by qmake, but
    “C:\Android\android-ndk-r14\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++.exe” is configured in the kit.
    Please update your kit or choose a mkspec for qmake that matches your target environment better.

    #16641

    Günther
    Felgo Team

    Hi Waeil!

    Did this issue pop-up for you right after updating Felgo and does it affect all your projects? (also fresh projects you just created?)
    Another question: Does this happen for all your Build Kits or only for Android armeabi_v7a?

    Best,
    Günther from Felgo

     

     

    #16642

    Waeil

    Hi Günther,

    I’m new in Felgo, i don’t know if it’s because update or not, even on Mac, it cause same Bug . i think the reason is, the Android SDK. but when i go to Designer on Desktop not mobile app, it’s faild to open,  and show me the same error

    #16644

    Waeil

    I found the solution, android-ndk-r9, i install it, at the place of android-ndk-r14, now every thing is good, i think the Qt 5.9 and ndk-r14 are not compatible, they have bug about toolchains. i don’t know what is it, but some people they advice to keep using the version r9 because of it

     

    Topic closed

    #16648

    Günther
    Felgo Team

    Hi Waeil,

    Thanks for the update!

    You’re right, compatibility with different tool versions (e.g. Android Built Tools, SDK, NDK) is sometimes a problem. Glad to hear you got it working.

    I also did a short research, based on https://wiki.qt.io/Qt_for_Android_known_issues it is recommended to use NDKr10e with Qt 5.9. It seems only later NDK versions may cause troubles with 5.9.

    Best,
    Günther

     

    #16668

    Waeil

    I’m back , because of the same bug, it keep appear agin,

    C:/VSDK-SandBox/5.9/mingw53_32/mkspecs/features/toolchain.prf(76): Variable QMAKE_DEFAULT_INCDIRS is not defined.

    C:/VSDK-SandBox/5.9/mingw53_32/mkspecs/features/toolchain.prf(129): Variable QMAKE_CXX.COMPILER_MACROS is not defined.

    C:/VSDK-SandBox/5.9/mingw53_32/mkspecs/features/toolchain.prf(76): Variable QMAKE_DEFAULT_INCDIRS is not defined.

    C:/VSDK-SandBox/5.9/mingw53_32/mkspecs/features/toolchain.prf(129): Variable QMAKE_CXX.COMPILER_MACROS is not defined.

    QML module does not contain information about components contained in plugins.

    Module path: C:/VSDK-SandBox/5.9/android_armv7/qml/QtGraphicalEffects

    See “Using QML Modules with Plugins” in the documentation.

    Automatic type dump of QML module failed.

    Errors:

    “C:\VSDK-SandBox\5.9\mingw53_32\bin\qmlplugindump.exe” returned exit code 3.

    Arguments: -nonrelocatable QtGraphicalEffects 1.0 .

    QQmlComponent: Component is not ready

    file:///C:/VSDK-SandBox/5.9/android_armv7/qml/typelist.qml:2:1: module “QtGraphicalEffects” plugin “qtgraphicaleffectsplugin” not found

    #16688

    Günther
    Felgo Team

    Hi!

    I’m a bit confused: If the error was gone after fixing the NDK, I’m wondering what caused the error to re-appear again after a while – did you change anything on your system since then?

    When doing Android builds, please also

    • make sure that the Gradle Build System is used.
    • create a fresh and clean build by
      • deleting any previous versions of your app on the device.
      • removing the shadow build directory from your file system (configured in the Projects tab in Qt Creator)
      • close, Qt Creator, remove the *.pro.user file of your project, then open the project with Qt Creator and re-select your Kits
      • Right-click the project in Qt Creator and selected “Clean”, followed by right-click and “Run qmake”

    These steps are just to avoid any wrong settings or configurations of previous builds or the project kit setup to mess with the new build.
    If nothing helps even after these steps, I’d recommend to remove Felgo and your Android SDK/NDK completely and do a fresh and clean install again.

    The Android configuration that I use at the moment, which works fine is:

    • Android SDK Tools 25.2.4
    • Android SDK Build Tools and Platform Tools 25.0.2
    • Android SDK Platform 25
    • Android NDK r10e

    (there are newer versions available though)
    Let me know how it goes!

    Side Question: Did you install Felgo in some kind of Sandbox on your system? I noticed your SDK path is C:\VSDK-Sandbox.

    Best,
    Günther

Viewing 7 posts - 1 through 7 (of 7 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