Results 1 to 1 of 1

Thread: porting existing QtWidget app from linux to android

  1. #1
    Join Date
    Aug 2015
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Android

    Default porting existing QtWidget app from linux to android

    Hi Qt gurus,

    I have Qt 5.5.0 installed on my linux mint 17 OS. I have installed Android SDK, NDK tools and all other requirements needed to build apps for android devices. I followed the instructions given in http://doc.qt.io/qt-5/android-support.html and I was able to build and run an example app on my android device.

    I am now trying to port an existing Qt Widget app to my android device. The app is suppose to read some raw data from an external device connected to the android microusb and show a value in a textbox. When I compiled it for "Desktop Qt 5.5.0 GCC 64 bit" kit, everything was fine and dandy.
    But when I tried to compile it for "Android for armeabi (GCC 4.9 Qt 5.5.0) it throws the following error:

    In file included from ../Qtdemo_full_demo/application.cpp:1:0:
    ../Qtdemo_full_demo/application.h:5:27: fatal error: libavs/as5216.h: No such file or directory
    #include "libavs/as5216.h"
    ^
    compilation terminated.


    libavs is an external library which gives me access to a spectrophotometer device.

    My questions are:
    1. How do I solve the error above. Is there a setting I have to tweak?
    2. Are there any step by step guides (with examples) to port existing Qtwidget program to an android device? I know that there is a "porting to android" support page and I have read it. But the guide is too general for nubes like me to understand.

    Please oh please help me. Thanks
    Last edited by badril; 10th August 2015 at 11:16.

Similar Threads

  1. Advice and Questions for porting Qt app to Android
    By davethomaspilot in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 14th December 2013, 14:27
  2. Replies: 3
    Last Post: 17th July 2012, 20:58
  3. Linux to Windows Porting
    By qtprogrammer12345 in forum Qt Tools
    Replies: 1
    Last Post: 23rd May 2008, 07:28
  4. problem of porting from windows to linux
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2006, 08:42
  5. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44

Tags for this Thread

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.