A question about ministro an so

137 views
Skip to first unread message

eric MONROSE

unread,
Feb 28, 2011, 4:35:12 PM2/28/11
to andro...@googlegroups.com
The patch necessitas-0.1.1-Linux-x86-Install  android  sdk 10 works well on a physical Android machine . But I'm stillunable to use the virtual machine in good condition, . In fact I teach at university and I do not have 30 android machines and virtualisation is the tools I need most to my students. My problem is even worse, when I incorporate into my project the   Qwt library (http://qwt.sourceforge.net/) which still works with earlier versions. I also watched the video in qt nokia proposed by alessandro: htp: / / labs.qt.nokia.com/2011/02/28/necessitas /
Again the power of the virtual machine was obscured reducing its usefulness for the phases of development and testing. I attached a screenshot with Qwt widgets that work with previous versions. So my students are developing, testing their virtual machine and validate on a physical machine.


in your new solution everything works well in physical Android machine (after ministro dowload)  but in virtuals i don't have market to install ministro and when i choose use local qt libs i have mistakes:

"sorry the application  ....... has stopped unexpectedly. Please try again



 look to this part of my file.pro projet with qwt widget 



#-------------------------------------------------
#
# Project created by QtCreator 2011-02-28T14:46:07
#
#-------------------------------------------------

QT       += core gui network webkit
TARGET = ihmcamera
TEMPLATE = app


#LIBS+= /data/local/qt/lib/libQtWebKit.so
INCLUDEPATH +=/opt/qwt-5.2/src
LIBS += /data/local/qt/lib/libqwt.so

SOURCES += main.cpp\
        ihmcamera.cpp

HEADERS  += ihmcamera.h

FORMS    += ihmcamera.ui 

OTHER_FILES += \
    android/AndroidManifest.xml \
    android/src/eu/licentia/necessitas/ministro/IMinistroCallback.aidl \
    android/src/eu/licentia/necessitas/ministro/IMinistro.aidl \
    android/src/eu/licentia/necessitas/industrius/QtActivity.java \
    android/src/eu/licentia/necessitas/industrius/QtApplication.java \
    android/src/eu/licentia/necessitas/industrius/QtSurface.java \
    android/res/drawable-mdpi/icon.png \
    android/res/drawable-hdpi/icon.png \
    android/res/values/strings.xml \
    android/res/values/libs.xml \
    android/res/drawable-ldpi/icon.png
qwt.jpeg

BogDan Vatra

unread,
Feb 28, 2011, 11:11:47 PM2/28/11
to andro...@googlegroups.com
Hi Eric,

Please try to use Ministro service also with AVDs, please download Minsitro service from https://sourceforge.net/projects/ministro.necessitas.p/files/ and use (only once) the "Install Ministro system ...." option, for more informations check https://sourceforge.net/p/necessitas/wiki/How%20to%20write%20Qt%20apps%20for%20Android/ (search for "Install Ministro system") or this video http://blip.tv/file/4801538 .  

Your problem is caused most probably by Qt Modules order or by some missing libraries.
I'll need the log from your device to tell you exactly what is wrong.

Cheers,
BogDan,

2011/2/28 eric MONROSE <eric.m...@gmail.com>
Reply all
Reply to author
Forward
0 new messages