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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
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

Highlighted
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>