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.
12-14-2012 06:35 AM
The IDE for new Gold SDK for Cascades has changed the build environment so it no longer works!.
It now seems that the project .pro file includes an auto generated config.pri file.
The auto generated config.pri seems to think that any C/C++ source file anywhere on the hard disk of your machine thats vaguely near the project folder must be part of your project and simply decides add it to your project. as a file to build. (via the SOURCES+= statment in the config.pri).
Whilst this may well work for novices, or perhaps small isolated projects, almost any code base of any significant size does not work like that.
Momentics has the ability to 'exclude from build' however selecting that on per file basis simply does not work, the auto generated config.pri ignores that complelely.
In prior SDK releses at least we could manually list the source files + include paths etc in the project.pro file using the
SOURCES += file1
Unfortunately the config.pri plan also has the SOURCES+= statements which includes all the unwanted src code as well.
So how as we supposed to define the list of files which belong to the app to build ?
12-14-2012 10:43 AM
Did you update your SDK to Gold, or uninstall old and install Gold as new?
Many developer reports problems after update, i don't have any problems with Gold, and i uninstall beta 4 and then installed Gold. I use it very much, and i don't have any crash so far, it is much better than beta 4.
12-14-2012 11:04 AM
Erm... problem is not really with uninstall + reinstall. The IDE runs. The problem is that the IDE has changed how you define what files it should include in a project.
E.g. we have a folder, extracted from version control, that contains say 10 files because they are all related. Of those 10 files a specific appplication may only need to use say 5 files.
Previously you could specify those 5 files - i.e. not use *.cpp but define the individual files in the project.pro file.
(Eclipse/Momnetics has an 'exclude from build' property for files - but that has never worked for BB10 - you need to use the pro file)
This has changed. The IDE now decides that every single c/c++ source file in any folder in your src heirarchy must be part of your project - because it autogenerates the config.pri file that lists those files. .
We need to be able to specify the files to include in a project, The projects wont build otherwise. The config.pri is trying to include source modules that have nothing to do with a specific project simply on the basis they exist on your hard disk..
12-14-2012 09:53 PM
I was using Beta 3. I uninstalled it before I installed the Gold version. I have similar issues as above with .pro project file. I also can't make this code work: qmlRegisterType<QTimer> ("my.library", 1, 0, "QTimer"); on the Gold version. I maybe missing some libraries, but Qt Core is already included. I am still exploring the new IDE, hopefully I can get acquainted with it without so much troubles.