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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010
Accepted Solution

Generate error when we build the project of Casacade

Hi,

 

I got the error when i build casacde project in the QNX momentics IDE.

 

It works find before two days and i am able to run the project on simulator but do not know what happen now it give error when i tried to build project. below is the error i got.

 

Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATOR

 

i search it on the net and not able to find any solution for this.

 

Please use plain text.
Developer
connyhald
Posts: 101
Registered: ‎06-03-2012
My Carrier: *

Re: Generate error when we build the project of Casacade

I'm not exactly sure yet, but I think it has something to do with either the toplevel Makefile or the .pro file.

If you could post both maybe we can help.
-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: Generate error when we build the project of Casacade

Hi ,

 

Please find attached both the file which you require. In this zip file both is attached Makefile and the .pro file.

 

 

Please use plain text.
Developer
connyhald
Posts: 101
Registered: ‎06-03-2012
My Carrier: *

Re: Generate error when we build the project of Casacade

Hmm, the files look fine. You probably already tried to do a clean build?! Well if that doesn't work I'd have a look if qmake is set up correctly - but that's just a guess. And of course, try it with a clean example to see if the problem is with your project or with the SDK setup.

Sorry for not being of more help.
-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: Generate error when we build the project of Casacade

Hi,

 

Thnaks for your reply. Ya i already  tried with clean the project. But after clean the project error is not come and as i build the project it give this error. I am new to C/C++ so not able to get what is actuall error is and how can i resolve this.

 

If error in SDK setup how can i figure out that? because i am getting this error in emplty make file project.

 

 

 

 

Please use plain text.
Developer
connyhald
Posts: 101
Registered: ‎06-03-2012
My Carrier: *

Re: Generate error when we build the project of Casacade

Well, I have quite some experience with Qt, but I'm new to Blackberry, so there might be smarter people around here to help you.

Anyway, the error message sounds like the problem has to do with qmake so I would check if that can be found properly.

Run "source bbndk-env.sh" and then do "qmake -query". It should give you something like the following. If not, there's probably a problem with your SDK install.


[conny@orko bbndk-10.0.4-beta]$ source bbndk-env.sh
[conny@orko bbndk-10.0.4-beta]$ qmake -query
QT_INSTALL_PREFIX:/home/conny/bbndk-10.0.4-beta
QT_INSTALL_DATA:/home/conny/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4
QT_INSTALL_DOCS:/home/conny/bbndk-10.0.4-beta/doc
QT_INSTALL_HEADERS:/home/conny/bbndk-10.0.4-beta/target/qnx6/usr/include/qt4
QT_INSTALL_LIBS:/home/conny/bbndk-10.0.4-beta/lib
QT_INSTALL_BINS:/home/conny/bbndk-10.0.4-beta/host/linux/x86/usr/bin
QT_INSTALL_PLUGINS:/home/conny/bbndk-10.0.4-beta/plugins
QT_INSTALL_IMPORTS:/home/conny/bbndk-10.0.4-beta/imports
QT_INSTALL_TRANSLATIONS:/home/conny/bbndk-10.0.4-beta/translations
QT_INSTALL_CONFIGURATION:/home/conny/bbndk-10.0.4-beta
QT_INSTALL_EXAMPLES:/home/conny/bbndk-10.0.4-beta
QT_INSTALL_DEMOS:/home/conny/bbndk-10.0.4-beta
QMAKE_MKSPECS:/home/conny/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.0
[conny@orko bbndk-10.0.4-beta]$

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: Generate error when we build the project of Casacade

[ Edited ]

 

Hi,

I am working on the windows machine and when i tried to run the source bbndk-env.sh it prompted windows can not open this file i think because this is a linunx file. when i run the bbndk-env.bat file on the command prompt it gives me following output.

 

C:\bbndk-10.0.4-beta>set PATH=C:/bbndk-10.0.4-beta/host/win32/x86\usr\bin;C:\Doc
uments and Settings\megha.sanghvi.demo\Local Settings\Application Data\Re
search In Motion\BlackBerry Native SDK\bin;C:/bbndk-10.0.4-beta/host/win32/x86\u
sr\qde\eclipse\jre\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Fil
es\Common Files\Microsoft Shared\Microsoft Online Services;D:\Perl\bin\;C:\WINDO
WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\System32\Wbem;.;C:\Program Files\Java\jdk1.6.0_10\bin;.;C:\Program Fi
les\Adobe\Adobe Flash Builder 4\sdks\4.1.0\bin;.;D:\Adobe Air\bin;.;C:\Program F
iles\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\WINDOW
S\system32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging\;C:\Documents
and Settings\megha.sanghvi\My Documents\SDK\blackberry-tablet-sdk-0.9.3\bin;;C:
\android-sdk-windows;C:\cygwin\bin;D:\Software\Environment\Android\ant\bin;C:\an
droid-sdk-windows\tools;C:\Program Files\VoiceAge\Common;C:\Program Files\Tortoi
seSVN\bin;C:\Program Files\QuickTime\QTSystem\

C:\bbndk-10.0.4-beta>set PYTHONPATH=

 

Please use plain text.
Developer
connyhald
Posts: 101
Registered: ‎06-03-2012
My Carrier: *

Re: Generate error when we build the project of Casacade

Sorry, but I don't have any experience on Windows. The thing is, after running "bbndk-env.bat" the program "qmake" should be in the path. At least it's like that under Linux.

So after running the .bat you should be able to run "qmake -query" and that command should print out all Qt related paths. If it does, please check if those paths do really exist on your filesystem.

Or maybe it is easier to simply try to reinstall the SDK and see if that solves your problem?!
-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: Generate error when we build the project of Casacade

after running the qmake -query tag i get following response.

 

C:\bbndk-10.0.4-beta>qmake -query
QT_INSTALL_PREFIX:C:/bbndk-10.0.4-beta
QT_INSTALL_DATA:C:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4
QT_INSTALL_DOCS:C:/bbndk-10.0.4-beta/doc
QT_INSTALL_HEADERS:C:/bbndk-10.0.4-beta/target/qnx6/usr/include/qt4
QT_INSTALL_LIBS:C:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib
QT_INSTALL_BINS:C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin
QT_INSTALL_PLUGINS:C:/bbndk-10.0.4-beta/plugins
QT_INSTALL_IMPORTS:C:/bbndk-10.0.4-beta/imports
QT_INSTALL_TRANSLATIONS:C:/bbndk-10.0.4-beta/translations
QT_INSTALL_CONFIGURATION:C:/bbndk-10.0.4-beta
QT_INSTALL_EXAMPLES:C:/bbndk-10.0.4-beta
QT_INSTALL_DEMOS:C:/bbndk-10.0.4-beta
QMAKE_MKSPECS:C:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.0

 

i already tried to reinstall the SDK and again install that but problem is not resolved.


Please use plain text.
Developer
connyhald
Posts: 101
Registered: ‎06-03-2012
My Carrier: *

Re: Generate error when we build the project of Casacade

Looks fine to me. I think we need someone else to help you out. I'm running out of ideas. Sorry.
-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.