06-04-2012 01:28 AM
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.
Solved! Go to Solution.
06-04-2012 02:18 AM
06-04-2012 02:23 AM
Hi ,
Please find attached both the file which you require. In this zip file both is attached Makefile and the .pro file.
06-04-2012 03:21 AM
06-04-2012 04:36 AM
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.
06-04-2012 04:52 AM
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/targ
QT_INSTALL_DOCS:/home/conny/bbndk-10.0.4-beta/doc
QT_INSTALL_HEADERS:/home/conny/bbndk-10.0.4-beta/t
QT_INSTALL_LIBS:/home/conny/bbndk-10.0.4-beta/lib
QT_INSTALL_BINS:/home/conny/bbndk-10.0.4-beta/host
QT_INSTALL_PLUGINS:/home/conny/bbndk-10.0.4-beta/p
QT_INSTALL_IMPORTS:/home/conny/bbndk-10.0.4-beta/i
QT_INSTALL_TRANSLATIONS:/home/conny/bbndk-10.0.4-b
QT_INSTALL_CONFIGURATION:/home/conny/bbndk-10.0.4-
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
QMAKE_VERSION:2.01a
QT_VERSION:4.8.0
[conny@orko bbndk-10.0.4-beta]$
06-04-2012 05:00 AM - edited 06-04-2012 05:00 AM
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
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
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\Env
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=
06-04-2012 05:07 AM
06-04-2012 05:12 AM
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/u
QT_INSTALL_DOCS:C:/bbndk-10.0.4-beta/doc
QT_INSTALL_HEADERS:C:/bbndk-10.0.4-beta/target/qnx
QT_INSTALL_LIBS:C:/bbndk-10.0.4-beta/target/qnx6/x
QT_INSTALL_BINS:C:/bbndk-10.0.4-beta/host/win32/x8
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/trans
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
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.
06-04-2012 05:15 AM