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
Contributor
Posts: 33
Registered: ‎05-02-2012
My Device: playbook
My Carrier: bouyig
Accepted Solution

I can not run the sample " Weather guesser'' on the simulator on the simulator

Hello
I can not  run this example on the simulator BB10.
when I build the other samples this function.
I think that the IDE build for a device but not for  simulator

here's what I have in the build console:

 

 

 


**** Build of configuration Default for project weatherguesser ****

make all
C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile weatherguesser.pro CONFIG+=device
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.hpp
C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile weatherguesser.pro CONFIG+=simulator
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.hpp
make -C ./arm -f Makefile all
make[1]: Entering directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'
make -f Makefile.Release all
make[2]: Entering directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'
make -f Makefile.Debug all
make[2]: Entering directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'
make[1]: Leaving directory `C:/ndk-10.0.4-workspace-lundi-aprem/weatherguesser/arm'

**** Build Finished ****


 

thank you for your help

Contributor
Posts: 33
Registered: ‎04-26-2010
My Device: Z10 / PlayBook 16GB
My Carrier: Verizon

Re: I can not run the sample " Weather guesser'' on the simulator on the simulator

For some reason, the simulator build commands are commented out in the weatherguesser sample in the Makefile:

simulator:
# No x86 version of cascades available, yet.
#	$(MAKE) -C ./x86 -f Makefile all

Simulator-Debug: Makefile
# No x86 version of cascades available, yet.
#	$(MAKE) -C ./x86 -f Makefile debug

 You just need to uncomment the lines so it looks like this:

 

 

simulator:
# No x86 version of cascades available, yet.
	$(MAKE) -C ./x86 -f Makefile all

Simulator-Debug: Makefile
# No x86 version of cascades available, yet.
	$(MAKE) -C ./x86 -f Makefile debug
Developer
Posts: 52
Registered: ‎11-24-2011
My Device: Bold 9930
My Carrier: Rogers

Re: I can not run the sample " Weather guesser'' on the simulator on the simulator

On top of it I had to change

#include <QtNetwork/QNetworkAccessManager>

 to

#include <qt4/QtNetwork/QNetworkAccessManager>