Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

IDE can not successfully bulid any project

I instaledl QNX IDE on win7 64bit, it's OK. But when I installed again on win xp 32bit, it can not bulid successfully.

Even if I created a new empty project:

 

**** Build of configuration Device-Release for project test **** make Device-Release C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-qcc -o arm/Makefile test.pro CONFIG+=device WARNING: Failure to find: ../src/*.h WARNING: Failure to find: ../src/*.h C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-qcc -o x86/Makefile test.pro CONFIG+=simulator WARNING: Failure to find: ../src/*.h WARNING: Failure to find: ../src/*.h make -C ./translations -f Makefile update release make[1]: Entering directory `C:/ndk-10.0.9-workspace/test/translations' C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/lupdate test.pro Updating 'test_en_GB.ts'... Found 1 source text(s) (1 new and 0 already existing) Updating 'test_fr.ts'... Found 1 source text(s) (1 new and 0 already existing) Updating 'test_it.ts'... Found 1 source text(s) (1 new and 0 already existing) Updating 'test_de.ts'... Found 1 source text(s) (1 new and 0 already existing) Updating 'test_es.ts'... Found 1 source text(s) (1 new and 0 already existing) Updating 'test.ts'... Found 1 source text(s) (1 new and 0 already existing) C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/lrelease test.pro Could not find qmake configuration directoryCould not read qmake configuration file C:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/qmake.confUsing OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf(1): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(4): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(36): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/qt.prf(213): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/moc.prf(3): 'qtPrepareTool' is not a recognized test functionC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/moc.prf(12): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/moc.prf(97): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/features/uic.prf(108): Using OS scope before setting MAKEFILE_GENERATOR目录名无效。 Updating 'C:/ndk-10.0.9-workspace/test/translations/test_en_GB.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'C:/ndk-10.0.9-workspace/test/translations/test_fr.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'C:/ndk-10.0.9-workspace/test/translations/test_it.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'C:/ndk-10.0.9-workspace/test/translations/test_de.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'C:/ndk-10.0.9-workspace/test/translations/test_es.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'C:/ndk-10.0.9-workspace/test/translations/test.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1 untranslated source text(s) make[1]: Leaving directory `C:/ndk-10.0.9-workspace/test/translations' make -C ./arm -f Makefile release make[1]: Entering directory `C:/ndk-10.0.9-workspace/test/arm' make -f Makefile.Release make[2]: Entering directory `C:/ndk-10.0.9-workspace/test/arm' qcc -Vgcc_ntoarmv7le -c -fstack-protector-strong -Wno-psabi -lang-c++ -O2 -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_NO_IMPORT_QT47_QML -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I../../test -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtGui -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXml -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSql -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSvg -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtScript -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4 -I../src -Io.le-v7/.moc -I../../../bbndk/target_10_0_9_386/qnx6/usr/include -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/freetype2 -I. -o o.le-v7/.obj/main.o ../src/main.cpp qcc -Vgcc_ntoarmv7le -c -fstack-protector-strong -Wno-psabi -lang-c++ -O2 -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_NO_IMPORT_QT47_QML -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I../../test -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtGui -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXml -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSql -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSvg -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtScript -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4 -I../src -Io.le-v7/.moc -I../../../bbndk/target_10_0_9_386/qnx6/usr/include -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/freetype2 -I. -o o.le-v7/.obj/Test.o ../src/Test.cpp C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/moc.exe -DQ_OS_BLACKBERRY -DQT_NO_IMPORT_QT47_QML -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I../../test -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtGui -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXml -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSql -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSvg -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtScript -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4 -I../src -Io.le-v7/.moc -I../../../bbndk/target_10_0_9_386/qnx6/usr/include -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../src/Test.hpp -o o.le-v7/.moc/moc_Test.cpp qcc -Vgcc_ntoarmv7le -c -fstack-protector-strong -Wno-psabi -lang-c++ -O2 -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_NO_IMPORT_QT47_QML -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I../../test -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtGui -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXml -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSql -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtSvg -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtScript -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/qt4 -I../src -Io.le-v7/.moc -I../../../bbndk/target_10_0_9_386/qnx6/usr/include -I../../../bbndk/target_10_0_9_386/qnx6/usr/include/freetype2 -I. -o o.le-v7/.obj/moc_Test.o o.le-v7/.moc/moc_Test.cpp qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_0_9_386/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib -Wl,-O1 -o o.le-v7/test o.le-v7/.obj/main.o o.le-v7/.obj/Test.o o.le-v7/.obj/moc_Test.o -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/lib -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk/target_10_0_9_386/qnx6/usr/lib/qt4/lib -lm -lbps -lbb -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore make[2]: Leaving directory `C:/ndk-10.0.9-workspace/test/arm' make[1]: Leaving directory `C:/ndk-10.0.9-workspace/test/arm' Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATOR **** Build Finished ****

Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: IDE can not successfully bulid any project

I found out the cause: building is not enough, have to "run as..." then the bar file will be generated