qin zhou
05/17/2012 9:47 PM
post93173
|
i read a pdf called qmake-qnx,i do the next steps
1) copy the bat file to
C:\qnx650\host\win32\x86\usr\bin\qmake_qnx.bat
2)run qmake_qnx i386,it shows as the attachment
3)i ignore the error,and copy it to the target ,./cEasy -qws ,fail.
|
|
|
Dennis Kellly
05/18/2012 6:46 AM
post93178
|
According to tthe attachment, you did not run "make" after the qmake_qnx command. The doc says these are the steps to
build:
C:\Qt\cEasy> qmake_qnx i386
C:\Qt\cEasy> make
|
|
|
qin zhou
05/18/2012 8:13 AM
post93180
|
i have installed qt-creator-win-opensource-2.4.1.exe and qt-win-opensource-4.8.1-mingw.exe in my winxp .when i enter cmd
,run qmake_qnx it shows
i run make
need i unistall the qt programs ,or what should i install.
i explain my situation through this link
http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc21910?pageSize=-1#post_post93170
2012-05-18
qhzbit
发件人:Dennis Kellly
发送时间:2012-05-18 18:39
主题:Re: qmake-qnx
收件人:"general-qt"<general-qt@community.qnx.com>
抄送:
According to tthe attachment, you did not run "make" after the qmake_qnx command. The doc says these are the steps to
build:
C:\Qt\cEasy> qmake_qnx i386
C:\Qt\cEasy> make
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93178
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
|
|
|
Dennis Kellly
05/18/2012 8:36 AM
post93182
|
Have you installed QNX Momentics? This "make" has to be first in your path.
C:\QNX650\host\win32\x86>usr\bin\make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for Windows32
C:\QNX650\host\win32\x86>
|
|
|
qin zhou
|
回复: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 8:57 AM
post93183
|
回复: Re: 回复: Re: qmake-qnx
thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter
the new problem
2012-05-18
qhzbit
发件人:Dennis Kellly
发送时间:2012-05-18 20:34
主题:Re: 回复: Re: qmake-qnx
收件人:"general-qt"<general-qt@community.qnx.com>
抄送:
Have you installed QNX Momentics? This "make" has to be first in your path.
C:\QNX650\host\win32\x86>usr\bin\make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for Windows32
C:\QNX650\host\win32\x86>
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93182
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
|
|
|
Dennis Kellly
|
RE: Re: 回复: Re: qmake-qnx
|
Dennis Kellly
05/18/2012 8:58 AM
post93185
|
RE: Re: 回复: Re: qmake-qnx
According to the picture, you are still running...
qmake_qnx i386
then
qmake -project
Don't run "qmake -project" - run "make" after "qmake_qnx i386" as in the .pdf.
-----Original Message-----
From: qhzbit [mailto:community-noreply@qnx.com]
Sent: Friday, May 18, 2012 8:51 AM
To: general-qt
Subject: 回复: Re: 回复: Re: qmake-qnx
thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter
the new problem
2012-05-18
qhzbit
发件人:Dennis Kellly
发送时间:2012-05-18 20:34
主题:Re: 回复: Re: qmake-qnx
收件人:"general-qt"<general-qt@community.qnx.com>
抄送:
Have you installed QNX Momentics? This "make" has to be first in your path.
C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for Windows32
C:\QNX650\host\win32\x86>
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93182
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93183
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
|
|
|
qin zhou
|
回复: RE: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 9:20 AM
post93186
|
回复: RE: Re: 回复: Re: qmake-qnx
this the qmake_qnx i got
@if "%1"=="" goto help
@call pwd >temp.bat
@set /p PROJ_DIR= <temp.bat
@del temp.bat
::@echo %PROJ_DIR%
@FOR %%i IN (%PROJ_DIR%) DO @SET PROJ_NAME=%%~nxi
::@echo project name: %PROJ_NAME%
::echo %1
@if "%1"=="arm" set ARCH_DIR="armle"
@if "%1"=="armv7" set ARCH_DIR="armle-v7"
@if "%1"=="i386" set ARCH_DIR="x86"
::@echo %ARCH_DIR%
qmake -project
@echo QT += core gui script declarative %QT_MODULES% >>%PROJ_NAME%.pro
@echo OBJECTS_DIR += %ARCH_DIR% >>%PROJ_NAME%.pro
@echo TARGET = %ARCH_DIR%/%PROJ_NAME% >>%PROJ_NAME%.pro
@echo QMAKE_CXXFLAGS += %QT_CXXFLAGS% >>%PROJ_NAME%.pro
qmake -spec unsupported/qws/qnx-%1-g++ %PROJ_NAME%.pro
@goto exit
:help
@echo .
@echo %0 runs both "qmake -project" and "qmake" resulting in a Makefile
@echo .
@echo First parameter must be desired architecture - i386 or arm or armv7
@echo .
@echo .
:exit
in the .bat,is the sentence in red the reason?
i have installed qt-creator-win-opensource-2.4.1.exe and qt-win-opensource-4.8.1-mingw.exe, need i uninstall them all
for the first?!
2012-05-18
qhzbit
发件人:Dennis Kelly
发送时间:2012-05-18 20:59
主题:RE: Re: 回复: Re: qmake-qnx
收件人:"general-qt@community.qnx.com"<general-qt@community.qnx.com>
抄送:
According to the picture, you are still running...
qmake_qnx i386
then
qmake -project
Don't run "qmake -project" - run "make" after "qmake_qnx i386" as in the .pdf.
-----Original Message-----
From: qhzbit [mailto:community-noreply@qnx.com]
Sent: Friday, May 18, 2012 8:51 AM
To: general-qt
Subject: 回复: Re: 回复: Re: qmake-qnx
thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter
the new problem
2012-05-18
qhzbit
发件人:Dennis Kellly
发送时间:2012-05-18 20:34
主题:Re: 回复: Re: qmake-qnx
收件人:"general-qt"<general-qt@community.qnx.com>
抄送:
Have you installed QNX Momentics? This "make" has to be first in your path.
C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for Windows32
C:\QNX650\host\win32\x86>
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93182
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93183
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93185
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
|
|
|
Dennis Kellly
|
RE: RE: Re: 回复: Re: qmake-qnx
|
Dennis Kellly
05/18/2012 9:50 AM
post93189
|
RE: RE: Re: 回复: Re: qmake-qnx
Yes, now I see where that line is coming from :) I assume you cut_and_paste qmake_qnx.bat from the pdf and maybe this
is causing the problem.
File qmake_qnx.bat in this archive. Extract it and use it instead of the one you have now.
http://dl.dropbox.com/u/13676760/webvu.zip
(The project in this zip should build if you extract and cd to "webvu" - just "qmake_qnx i386" then "make".)
|
|
|
qin zhou
|
Re: RE: RE: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 9:44 AM
post93190
|
Re: RE: RE: Re: 回复: Re: qmake-qnx
i'm sorry ,i can not connect the website ,can you send it to me by email?many thanks
|
|
|
qin zhou
|
回复: RE: RE: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 9:49 AM
post93193
|
回复: RE: RE: Re: 回复: Re: qmake-qnx
thank your prompt reply ,but now i cannot connect the website ,can you send it to me by email? many thanks!!!!
2012-05-18
qhzbit
发件人:Dennis Kelly
发送时间:2012-05-18 21:42
主题:RE: RE: Re: 回复: Re: qmake-qnx
收件人:"general-qt@community.qnx.com"<general-qt@community.qnx.com>
抄送:
Yes, now I see where that line is coming from :) I assume you cut_and_paste qmake_qnx.bat from the pdf and maybe this
is causing the problem.
File qmake_qnx.bat in this archive. Extract it and use it instead of the one you have now.
http://dl.dropbox.com/u/13676760/webvu.zip
(The project in this zip should build if you extract and cd to "webvu" - just "qmake_qnx i386" then "make".)
_______________________________________________
Qt General
http://community.qnx.com/sf/go/post93189
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
|
|
|
qin zhou
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 10:50 AM
post93196
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
thank you ,i can do that successfully ,the problem has bothered me for a whole week,you give me a lot of help.
and i still have a question,i know that qt can be intergrated with eclipse which makes the developer convenient,
however, can it be intergrated into the momentics (run and debug in the momentics environment)?
for me ,the development process seems that ,first i create and debugmy project in the qt sdk for windows , to make it
run correctly ,next,i make it a qnx program by qmake_qnx?
|
|
|
Dennis Kellly
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
|
Dennis Kellly
05/18/2012 10:40 AM
post93198
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
There is only partial integration with momentics.
See this...
http://dl.dropbox.com/u/13676760/Qt_debugging.pdf
|
|
|
qin zhou
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
|
qin zhou
05/18/2012 10:36 AM
post93197
|
Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx
thank you ,the problem has bothered me for a whole week,and you really give me a lot help,i have done that successfully.
and i have another question
i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it
be intergrated into the momentics (run and debug in the momentics environment)?
for me ,the developement process seem that ,firstly,i create and debug my project in qt sdk for windows,to make it run
correctly ,secondly ,i transfer it to be a qnx program by qmake_qnx.......
is that right?
|
|
|
|