Results 1 to 3 of 3

Thread: How to add Qt for Android if already having Qt for MSVC2010, 32 bit

  1. #1
    Join Date
    Apr 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows Android

    Default How to add Qt for Android if already having Qt for MSVC2010, 32 bit

    I have Qt Creator 2.8.1 , Based on Qt 5.1.1 (MSVC 2010, 32bit) and want to add Android.
    I've followed steps of installing Android SDK, Java SDK, NDK and Ant.
    On Tools->Options->Android, I've added corresponding paths.
    On Tools->Options->Build&Run->Compilers, three Android GCC are displayed

    But Android corresponding Kits are not detected, neither compilers (if necessary, I'm not sure) displayed.

    I want to keep the Qt I have and Qt for Android, how do I do that?
    Thanks in advance

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to add Qt for Android if already having Qt for MSVC2010, 32 bit

    Have you installed the Qt Android libraries (possibly using the Maintenance tool)?

  3. #3
    Join Date
    Apr 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: How to add Qt for Android if already having Qt for MSVC2010, 32 bit

    Thanks for your answer.
    Finally worked, I had to reinstall Qt with MSVC2010 and Android, and then all the other requirements for Android (SDK, Java SDK, NDK, Ant), after including corresponding paths to Android Option Tools, Kits were automatically detected.
    Tried a "hello world" on an emulator and worked!!!
    Now, I want to include OpenCV libraries in it, and am not able to find any steps to follow. I downloaded OpenCV for Android. How am I able to use it in a C++ Qt program for Android? Or alternatively use the C++ OpenCV precompiled ones?

    Thanks in advance

Similar Threads

  1. Replies: 4
    Last Post: 10th July 2014, 15:22
  2. Android ARM vs Android x86 in qmake .pro file
    By sedi in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2014, 08:48
  3. How do you make android applications display correctly on android phone?
    By Cyrebo in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 17th August 2013, 07:31
  4. qt 5.0 windows x64-msvc2010 very slow
    By maitai in forum Qt Programming
    Replies: 0
    Last Post: 26th January 2013, 16:51
  5. My QT project does not run on MSVC2010
    By ehnuh in forum Installation and Deployment
    Replies: 3
    Last Post: 18th October 2012, 12:04

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.