Bug 306778 - Android custom widget plugin project can not compiled.
Summary: Android custom widget plugin project can not compiled.
Status: RESOLVED FIXED
Alias: None
Product: Necessitas
Classification: Unmaintained
Component: Android Qt4 (show other bugs)
Version: alpha4
Platform: Ubuntu Android 4.x
: NOR major
Target Milestone: Unspecified
Assignee: BogDan Vatra
URL:
Keywords:
: 306747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-14 07:27 UTC by used.exe
Modified: 2012-09-19 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description used.exe 2012-09-14 07:27:33 UTC
I need to create custom widget plugin for android in necessitas. I creat this plugin for QtDesigner in qt 4.8.2 and it works good in Qt.  But I have some problems to compile this plugin for arm in Necessitas alpha4.1. 

Reproducible: Always

Steps to Reproduce:
1.Create custom widget project on qt 4.8.2 desktop
2.Open this project in necessias alpha 4 and correct some path in project
3.press build this project, but have some errors
Actual Results:  
...
10:09:23: Starting: "C:\qt\necessitas\QtCreator\bin\ma-make.exe" -w
ma-make: Entering directory `C:/qt/newplugin/widget-plugin-build-f72dfb-Release'
del /q 2> NUL libwidget-plugin.so
echo --sysroot=C:/qt/necessitas/android-ndk/platforms/android-9/arch-arm/ -Lc:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google -Wl,-rpath-link=C:/qt/necessitas/android-ndk/platforms/android-9/arch-arm//usr/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -Wl,-rpath=C:/tmp/necessitas/unstable/Android/Qt/482/build-armeabi-v7a/install/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libwidget-plugin.so customspin.o customspinplugin.o moc_customspin.o moc_customspinplugin.o qrc_widget-plugin.o   -LC:/qt/necessitas/android-ndk/platforms/android-9/arch-arm//usr/lib -LC:\qt\necessitas\Android\Qt\482\armeabi-v7a\lib  -lQtScript -LC:\qt\necessitas\Android\Qt\482\armeabi-v7a/lib -L/tmp/necessitas/android-ndk/platforms/android-5/arch-arm//usr/lib -lQtXml -lQtGui -lQtCore -llog -lz -lm -ldl -lc -lgcc -lQtDesigner  > libwidget-plugin.so.lnk.cmdline
C:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++ @libwidget-plugin.so.lnk.cmdline
ma-make: Leaving directory `C:/qt/newplugin/widget-plugin-build-f72dfb-Release'
c:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtScript
c:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtXml
c:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtGui
c:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtCore
c:/qt/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtDesigner
...

Expected Results:  
create custom widget plugin for android

I want and can't create custom widget plugin such as custom clock widget 
http://doc.crossplatform.ru/qt/4.3.5/designer-customwidgetplugin.html
Comment 1 BogDan Vatra 2012-09-19 18:18:31 UTC
*** Bug 306747 has been marked as a duplicate of this bug. ***
Comment 2 BogDan Vatra 2012-09-19 18:19:04 UTC
Fix qmake.exe Windows cmd.exe mkdir slash direction bug 
http://commits.kde.org/android-qt/b2f89cdbc95594e9e71c05f6c891ff1b5df3d9d8