Results 1 to 3 of 3

Thread: Qt 5.1 rc1 - Android develompent by Windows

  1. #1
    Join Date
    Oct 2009
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt 5.1 rc1 - Android develompent by Windows

    Hello to everybody,
    I'm a very interesting in android development with Qt but, I need some help: I search some guide or procedure to configure my qtcreator to deploy android application with Qt 5.1.0 rc1, but there are more guide, referred to old version and I'm a little confuse.

    Shortly, what I need to configure the android building? how I should install and in which path?

    I've downloaded Ant, Sdk tools, Ndk, JDK 7, perl, ADT, and more... reading different guide. Which really need?

    I'm using Windows 7.

    Thanks a lot for your time

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Qt 5.1 rc1 - Android develompent by Windows

    Your question is very general, that's why no one replied to it. See this link and next time, paste the exact errors or questions you have.
    http://qt-project.org/forums/viewthread/29006

  3. #3
    Join Date
    Oct 2009
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 5.1 rc1 - Android develompent by Windows

    Thanks a lot saman!!
    It's run on my Asus Padfone... but... i got these log:
    I/Qt (24228): qt start
    D/Qt (24228): qml\qqmlengine.cpp:1398 (QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool)) : QML debugging is enabled. Only use this in a safe environment.
    W/Qt (24228): ..\src\androidjnimain.cpp:449 (jboolean startQtApplication(JNIEnv*, jobject, jstring, jstring)): Can't set environment ""
    W/Qt (24228): kernel\qcoreapplication.cpp:412 (QCoreApplicationPrivate::QCoreApplicationPrivate( int&, char**, uint)): WARNING: QApplication was not created in the main() thread.
    E/Adreno200-EGL(24228): <qeglDrvAPI_eglSwapInterval:3657>: EGL_BAD_CONTEXT
    W/dalvikvm(24228): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtNativeInputConnection'
    W/dalvikvm(24228): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtExtractedText'
    D/memalloc(24228): ion: Mapped buffer base:0x5ca19000 size:1949696 offset:0 fd:59
    W/Qt (24228): qrc:///demos/samegame/samegame.qml:43 (): qrc:///demos/samegame/samegame.qml:43:1: Script qrc:///demos/samegame/content/samegame.js unavailable
    W/Qt (24228): qrc:///demos/samegame/content/samegame.js:42 (): qrc:///demos/samegame/content/samegame.js:42:1: plugin cannot be loaded for module "QtQuick.LocalStorage": Cannot load library /data/local/tmp/qt/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so: (Cannot load library: link_image[1936]: 232 could not load needed library 'libQt5Sql.so' for 'libqmllocalstorageplugin.so' (load_library[1091]: Library 'libQt5Sql.so' not found))
    I/Adreno200-EGLSUB(24228): <ConfigWindowMatch:2212>: Format RGBA_8888.
    D/memalloc(24228): ion: Mapped buffer base:0x5cdf5000 size:1880064 offset:0 fd:63
    E/ (24228): Can't open file for reading
    E/ (24228): Can't open file for reading
    D/memalloc(24228): ion: Mapped buffer base:0x5d66b000 size:1880064 offset:0 fd:67
    D/memalloc(24228): ion: Mapped buffer base:0x5d846000 size:1880064 offset:0 fd:70
    D/memalloc(24228): ion: Unmapping buffer base:0x5cdf5000 size:1880064
    D/memalloc(24228): ion: Unmapping buffer base:0x5d66b000 size:1880064
    D/memalloc(24228): ion: Unmapping buffer base:0x5d846000 size:1880064
    D/memalloc(24228): ion: Unmapping buffer base:0x5ca19000 size:1949696


    'org.qtproject.example.samegame' died.
    Seems it doesn't find linux libraries? I'm on windows.
    From the appplication side, it doesn't show good the QMessageBox object, it doesn't hide completly the QMessageBox when a button fired...

    I attach my example code to test.

    Thanks a lot for your time!

    Michele
    Attached Files Attached Files

Similar Threads

  1. QML/Android
    By Viper666 in forum Qt Quick
    Replies: 11
    Last Post: 18th January 2013, 14:13
  2. Android
    By Viper666 in forum Qt Programming
    Replies: 9
    Last Post: 3rd January 2013, 12:45
  3. Qt on Android - where is Qt own effort in it?
    By TorAn in forum General Discussion
    Replies: 25
    Last Post: 11th May 2011, 07:13
  4. Qt in Android Possible?
    By Prabha in forum Installation and Deployment
    Replies: 5
    Last Post: 11th May 2011, 07:11
  5. qt on android
    By carlovv81 in forum General Discussion
    Replies: 3
    Last Post: 1st February 2011, 11:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.