After completing input in <Android> page, click on <Build and Run> option
in the left panel. Then clik on <Kits> tab.
did you test with the last downloadable SDK w? I have the same problems on incompatible AVD using Qt Creator since it is based on 3.0.82 and not 3.1 that solves the problems.
I also have a strange problem using gcc in Qt5.3beta: when I run it a messagebox appears asking for drive D:... I don't have a D: drive !!! Do you have a drive D: on your pc ?
--
You received this message because you are subscribed to the Google Groups "QtContribs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtcontribs+...@googlegroups.com.
To post to this group, send email to qtcon...@googlegroups.com.
Visit this group at http://groups.google.com/group/qtcontribs.
For more options, visit https://groups.google.com/d/optout.
Pritpal, how do you run the app ? You deploy from Creator or use the external tool ?How do you force linking after compiling myapp ?
--
One year and one month passed from the time when the last major version of the GNU Compiler Collection has been announced, so it is the time again to announce a new major GCC release, 4.9.0. GCC 4.9.0 is a major release containing substantial new functionality not available in GCC 4.8.x or previous GCC releases.
For Qt 5 we recommend a MinGW w64 based distribution with a recent gcc.
Recommended package for 32 bit (also tested in CI system + used by 5.1 installer):
http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/4.?.?/threads-posix/dwarf/
In hb-gui.pro change:LIBS += -LC:\hb32\lib\android\gccarm \\-lmyapp \\=>LIBS += -LC:\hb32\lib\android\gccarm \\-lbrowarray \\This will be the only change you would do for any new project you will initiate.
Now execute Qt Creator. and follow these steps:
I have some AVD's already created on my machine so are picked by the dialog above.
If you have just installed Qt Creator and have never done Android programmin, you may need
to create one AVD. Follow the buttons on the dialog.
To be continued...EnjoyPritpal Bedia student of software analysis & concepts
--
You received this message because you are subscribed to the Google Groups "QtContribs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtcontribs+...@googlegroups.com.
To post to this group, send email to qtcon...@googlegroups.com.
Visit this group at http://groups.google.com/group/qtcontribs.
For more options, visit https://groups.google.com/d/optout.
After completing input in <Android> page, click on <Build and Run> option
I look forward to you to complete this very interesting guide.
15:50:21: Running steps for project hb-gui...
15:50:21: Configuration unchanged, skipping qmake step.
15:50:21: Starting: "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe"
C:\android\android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-g++ --sysroot=C:\android\android-ndk-r9d/platforms/android-9/arch-arm/ -Wl,-soname,libbrowarray.so -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libbrowarray.so hb-gui.obj -LC:\android\android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -LC:\android\android-ndk-r9d/platforms/android-9/arch-arm//usr/lib -LC:\hb32qt\lib\android\gccarm -lC:\hb32qt\proyectos\test2\libbrowarray.a -Wl,--start-group -lexpat -lgtpca -lgtstd -lgttrm -lhbcomm -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbexpat -lhbextern -lhbformat -lhbfship -lhbgt -lhblang -lhblzf -lhbmacro -lhbmemio -lhbmisc -lhbmlzo -lhbmxml -lhbmzip -lhbnetio -lhbnf -lhbnulrdd -lhboslib -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbtest -lhbtip -lhbuddall -lhbunix -lhbusrrdd -lhbvm -lhbziparc -lhbzlib -llzf -lminilzo -lminizip -lmxml -lrddbm -lrddcdx -lrddfpt -lrddnsx -lrddntx -lrddsql -lgtqtc -lhbqtcore -lhbqtgui -lhbqtnetwork -lhbqtwidgets -Wl,--end-group -LC:/Qt/Qt5.3.0/5.3/android_armv7/lib -lQt5PrintSupport -Lc:\Utils\android\ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Lc:\Utils\android\ndk/platforms/android-9/arch-arm//usr/lib -LC:\Utils\icu32_51_1_mingw482\lib -LC:\utils\postgresql\pgsql\lib -LC:\utils\mysql\mysql\lib -LC:\Utils\pgsql\lib -LC:\temp\opensll-android-master\openssl-android-master\lib -LC:\Qt\Qt5.3.0\5.3\android_armv7/lib -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
..\test2/hb-gui.cpp:6: error: undefined reference to 'HB_FUN_MAIN'
collect2.exe: error: ld returned 1 exit status
Makefile:78: recipe for target 'libbrowarray.so' failed
mingw32-make: *** [libbrowarray.so] Error 1
15:50:21: The process "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project hb-gui (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.0))
When executing step 'Make'
15:50:21: Elapsed time: 00:01.
The source code for hb-gui,cpp is this:
#include "hbapi.h"
#include "hbapigt.h"
#include "hbvm.h"
#include "hbapistr.h"
HB_FUNC_TRANSLATE( request_MAIN, MAIN )
int main(int argc, char *argv[])
{
hb_cmdargInit( argc, argv );
hb_vmInit( HB_TRUE );
return hb_vmQuit();
}
Can you help me? Thanks!
I am progressing,, but yet don't have the goal :
#-------------------------------------------------
#
# Project created by QtCreator 2014-14-17T15:30:42
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = browarray
TEMPLATE = app
SOURCES += hb-gui.cpp
HEADERS +=
FORMS +=
RESOURCES +=
CONFIG += mobility
MOBILITY =
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/../android
OTHER_FILES += $$PWD/../android/AndroidManifest.xml
INCLUDEPATH += C:/hb32qt/include/
LIBS += -LC:\hb32qt\lib\android\gccarm \
\
-lmyapp \
\
17:05:21: Running steps for project hb-gui...
17:05:21: Configuration unchanged, skipping qmake step.
17:05:21: Starting: "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe"
C:\android\android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-g++ --sysroot=C:\android\android-ndk-r9d/platforms/android-9/arch-arm/ -Wl,-soname,libbrowarray.so -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libbrowarray.so hb-gui.obj -LC:\android\android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -LC:\android\android-ndk-r9d/platforms/android-9/arch-arm//usr/lib -LC:\hb32qt\lib\android\gccarm -lmyapp -Wl,--start-group -lexpat -lgtpca -lgtstd -lgttrm -lhbcomm -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbexpat -lhbextern -lhbformat -lhbfship -lhbgt -lhblang -lhblzf -lhbmacro -lhbmemio -lhbmisc -lhbmlzo -lhbmxml -lhbmzip -lhbnetio -lhbnf -lhbnulrdd -lhboslib -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbtest -lhbtip -lhbuddall -lhbunix -lhbusrrdd -lhbvm -lhbziparc -lhbzlib -llzf -lminilzo -lminizip -lmxml -lrddbm -lrddcdx -lrddfpt -lrddnsx -lrddntx -lrddsql -lgtqtc -lhbqtcore -lhbqtgui -lhbqtnetwork -lhbqtwidgets -Wl,--end-group -LC:/Qt/Qt5.3.0/5.3/android_armv7/lib -lQt5PrintSupport -Lc:\Utils\android\ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Lc:\Utils\android\ndk/platforms/android-9/arch-arm//usr/lib -LC:\Utils\icu32_51_1_mingw482\lib -LC:\utils\postgresql\pgsql\lib -LC:\utils\mysql\mysql\lib -LC:\Utils\pgsql\lib -LC:\temp\opensll-android-master\openssl-android-master\lib -LC:\Qt\Qt5.3.0\5.3\android_armv7/lib -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
..\test2/hb-gui.cpp:6: error: undefined reference to 'HB_FUN_MAIN'
collect2.exe: error: ld returned 1 exit status
Makefile:78: recipe for target 'libbrowarray.so' failed
mingw32-make: *** [libbrowarray.so] Error 1
17:05:22: The process "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project hb-gui (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.0))
When executing step 'Make'
I am using WINDOWS 7 Home Premium 64 bits
Sukriya!
Karl
I look forward to you to complete this very interesting guide.Sure, but will take some time.Heavily busy schedule so finding time is at a premium.
...
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtCore4
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtGui4
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtNetwork4
collect2.exe: error: ld returned 1 exit status
hbmk2[luxH]: Error: Running linker. 1
...
Do you have an idea about what could have happened ?
Thanks.
Regrds,
Diego
in addition to to take this opportunity to remind my (and I imagine of many other people) anxiously awaiting the rest of the instructions to create Android APK from Harbour,
I report the following error compiling an application with hbide (the application was compiled without problems before reinstalling components according to the instructions in this post):...
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtCore4
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtGui4
C:/qt/qt5.3.0/tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtNetwork4
collect2.exe: error: ld returned 1 exit status
hbmk2[luxH]: Error: Running linker. 1
...
Do you have an idea about what could have happened ?
It doesn't work, the same error
Sukriya!
in addition to to take this opportunity to remind my (and I imagine of many other people) anxiously awaiting the rest of the instructions to create Android APK from Harbour,Me too, but as said, I am extremely busy with an ungent Android projectbased on Harbour, handed over to me by my company. And while I am developingthis project I am gaining a lot more points which I would surely like to share with allof you. I hope to be finalyzing the project by next weekend and then this topic willget its final touches. Please bear with me for some more time.
I report the following error compiling an application with hbide (the application was compiled without problems before reinstalling components according to the instructions in this post):
...
...
Do you have an idea about what could have happened ?
Yes.This is Qt4 vs Qt5 mess present in current repository.Next week only Qt5x commit is scheduled and then afterwardsno such issues will pop-up.Till then,
i found it googling... thought it was in your language!
we will wait anxious and gratefull for your new releasesbona sort (good luck in catalan language - i live in barcelona,spain)
To be continued...Enjoy
--
You received this message because you are subscribed to the Google Groups "QtContribs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtcontribs+unsubscribe@googlegroups.com.
To post to this group, send email to qtcon...@googlegroups.com.
Visit this group at https://groups.google.com/group/qtcontribs.
For more options, visit https://groups.google.com/d/optout.