Bug 306747 - Unable to compile "Custom qml extension plugin"
Summary: Unable to compile "Custom qml extension plugin"
Status: RESOLVED DUPLICATE of bug 306778
Alias: None
Product: Necessitas
Classification: Applications
Component: Android Qt4 (show other bugs)
Version: alpha4
Platform: Android Android 4.x
: NOR normal
Target Milestone: Unspecified
Assignee: BogDan Vatra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 15:18 UTC by hans
Modified: 2012-09-19 18:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hans 2012-09-13 15:18:54 UTC
I've just installed latest Necessitas SDK which is alpha 4 under Windows 7-64 bit. If i create a new project as "Libraries>Custom QML Extension Plugin" it creates a project via wizard, then simply building project produces an error as like ;

"ma-make: *** No rule to make target `C:\Developer\qtcreator-2.4.0\test2-build-6207e2-Release\qmldir', needed by `libtest2.so'.  Stop.
18:12:53: The process "C:\Developer\necessitas\QtCreator\bin\ma-make.exe" exited with code 2.
Error while building/deploying project test2 (target: Necessitas Qt 4.8.2 for Android armv5)
When executing step 'Make'"

 If i manually create qmldir folder into "C:\Developer\qtcreator-2.4.0\test2-build-6207e2-Release\" folder, Qt creator is starting to build plugin but i'm getting errors after that;

 "
echo --sysroot=C:/Developer/necessitas/android-ndk/platforms/android-5/arch-arm/ -Lc:/developer/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:/Developer/necessitas/android-ndk/platforms/android-5/arch-arm//usr/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -Wl,-rpath=C:/tmp/necessitas/unstable/Android/Qt/482/build-armeabi/install/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libtest2.so test2_plugin.o myitem.o moc_test2_plugin.o moc_myitem.o   -LC:/Developer/necessitas/android-ndk/platforms/android-5/arch-arm//usr/lib -LC:\Developer\necessitas\Android\Qt\482\armeabi\lib  -lQtDeclarative -LC:\Developer\necessitas\Android\Qt\482\armeabi/lib -L/tmp/necessitas/android-ndk/platforms/android-5/arch-arm//usr/lib -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtNetwork -lQtGui -lQtCore -llog -lz -lm -ldl -lc -lgcc  > libtest2.so.lnk.cmdline
C:/Developer/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++ @libtest2.so.lnk.cmdline
ma-make: Leaving directory `C:/Developer/qtcreator-2.4.0/test2-build-6207e2-Release'
c:/developer/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 -lQtDeclarative
c:/developer/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:/developer/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 -lQtSvg
c:/developer/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 -lQtSql
c:/developer/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 -lQtXmlPatterns
c:/developer/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 -lQtNetwork
c:/developer/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:/developer/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"


Reproducible: Always

Steps to Reproduce:
1. Open Qtcreator > File > New File or Project > Libraries > Custom QML Extension Plugin
2. build.
Comment 1 BogDan Vatra 2012-09-19 18:18:31 UTC

*** This bug has been marked as a duplicate of bug 306778 ***