[Qt-creator] QtCreator with S60 Emulator.
Eike Ziller
eike.ziller at nokia.com
Mon Jul 13 11:13:46 CEST 2009
Hi,
On Jul 10, 2009, at 5:49 PM, ext Sam Dutton wrote:
>>> if M:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\tools\make.exe exists
> <<
>
> I just double checked, by the way, and yes, this does exist.
>
>>> Which Qt Creator version do you use? <<
>
> 1.2.0.
Ok, so we are on the same page :)
>>> Does it work if you explicitly put M:\S60\devices
> \S60_3rd_FP2_SDK_v1.1\epoc32\tools\make.exe into the "Override make"
> in Projects mode -> build settings -> build steps -> make ? <<
>
> Aha! Gets a bit further now, though I don't understand the error --
> see
> below.
Seems that just explicitly setting make doesn't do much good because
it still tries to use some other tools from C:\Program Files\Common
Files\Symbian\Tools\
I suppose that this is what the error "BEGIN failed--compilation
aborted at
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\/Checkgcc.pm line
> 83.
> Compilation failed in require at ...." means.
>>> Does it work if you put the epoc32 paths into your computers main
> PATH environment? <<
>
> When you say *paths*, which do you mean? I've tried adding
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32 to the system PATH
> variable
> (though not creating an EPOCROOT variable).
I mean the paths that you previously prepended to the PATH variable in
the build environment, i.e.
M:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\gcc\bin;M:\S60\devices
\S60_3rd_FP2_SDK_v1.1\epoc32\tools;
As additional information someone here informed me that the problem
could be related to your installation on a drive letter "M:", it seems
that the Symbian/S60 SDK has some problems with drive letters other
than C:. But I don't know what problems that could be, and if not
using the tools from "C:\Program Files\Common Files\Symbian\Tools
\" (what we try to do with setting the PATH) would help. I haven't
investigated that yet.
++ Eike
> Sam
>
> ........................
>
> Configuration unchanged, skipping QMake step.
> Starting: M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\make.exe
> bldmake bldfiles
> BLDMAKE ERROR: ERROR: First CPP executable found in path is in
> C:\Program Files\Common Files\Symbian\Tools\,
> but the required CPP.EXE was expected to be found in a directory
> with a name ending in \GCC\BIN\, where the Cygnus tools
> this program depends upon are stored.
> Is your path set up correctly?
> BEGIN failed--compilation aborted at
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\/Checkgcc.pm line
> 83.
> Compilation failed in require at
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\/PREPFILE.PM line
> 20.
> BEGIN failed--compilation aborted at
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\/PREPFILE.PM line
> 20.
> Compilation failed in require at
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\/Modload.pm line
> 49.
>
> ABLD.BAT build winscw udeb
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> EXPORT.make" EXPORT VERBOSE=-s
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> WINSCW.make" MAKEFILE VERBOSE=-s
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> WINSCW.make" LIBRARY VERBOSE=-s
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> make -r -f
> "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\f1-
> test\
> WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
> \epoc32\tools\make.exe was called but is not supported in this
> release.
> Exited with code 0.
>
>
>
> -----Original Message-----
> From: qt-creator-bounces at trolltech.com
> [mailto:qt-creator-bounces at trolltech.com] On Behalf Of Eike Ziller
> Sent: 10 July 2009 15:19
> To: qt-creator at trolltech.com
> Subject: Re: [Qt-creator] QtCreator with S60 Emulator.
>
>
> On Jul 10, 2009, at 1:03 PM, ext Sam Dutton wrote:
>
>> Hi Eike
>>
>>>> the PATH setting should be preceded by <yoursdkroot>
>> \epoc32\gcc\bin;<yoursdkroot>\epoc32\tools; <<
>>
>> I didn't make it clear, but I'd already tried that.
>
> Hm, so if
> M:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\tools\make.exe
> exists, I'm not sure why it still picks the other one.
> Which Qt Creator version do you use?
> Does it work if you explicitly put M:\S60\devices
> \S60_3rd_FP2_SDK_v1.1\epoc32\tools\make.exe into the "Override make"
> in Projects mode -> build settings -> build steps -> make ?
> Does it work if you put the epoc32 paths into your computers main PATH
> environment?
>
> ++ Eike
>
>> My PATH in build settings looks like this:
>>
>> M:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\gcc\bin;M:\S60\devices
>> \S60_3rd_FP2_SDK_v1.1\epoc32\tools;M:\Qt\4.5.2-tower\bin;C:\Program
>> Files\PC Connectivity Solution\;C:\Program Files\Common
>> Files\Symbian\Tools;M:\Program Files\Nokia\Carbide.c++
>> v2.0\x86Build\Symbian_Tools\Command_Line_Tools;M:\Perl\bin\;C:\WINNT
>> \sys
>> tem32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT
>> \system32\WindowsPowerShel
>> l\v1.0;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:
>> \Program
>> Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Support
>> Tools\;M:\Program Files\Visual C++ Express Edition with
>> SP1\Common7\IDE;C:\Program Files\Microsoft
>> SDKs\Windows\v6.0A\bin;C:\Program Files\CSL Arm Toolchain\bin;M:
>> \Program
>> Files\TortoiseSVN\bin;M:\Program Files\QuickTime\QTSystem\;M:\Program
>> Files\CSL Arm Toolchain\bin;M:\Qt\4.5.2-tower\bin;M:\Program
>> Files\Visual C++ Express Edition with SP1\VC\bin;M:\Program Files
>> \Visual
>> C++ Express Edition with SP1\Common7\IDE;C:\Program Files\Microsoft
>> SDKs\Windows\v6.0A\Lib;C:\Program Files\Microsoft
>> SDKs\Windows\v6.0A\bin;M:\Program Files\CSL Arm
>> Toolchain\bin;M:\Perl\bin;M:\Program Files\ffmpeg
>>
>> ...but I still get the error:
>>
>> Starting: C:/Program Files/Common Files/Symbian/Tools/make.exe
>> clean -w
>> Can't open perl script "C:\Program": No such file or directory
>>
>> (Note that, due to our IT policy I've had to install on the M drive
>> -- I
>> guess that may be a separate problem.)
>>
>> Sam
>>
>>
>>
>> -----Original Message-----
>> From: qt-creator-bounces at trolltech.com
>> [mailto:qt-creator-bounces at trolltech.com] On Behalf Of Eike Ziller
>> Sent: 10 July 2009 11:34
>> To: qt-creator at trolltech.com
>> Subject: Re: [Qt-creator] QtCreator with S60 Emulator.
>>
>> Hej,
>>
>> On Jul 10, 2009, at 12:07 PM, ext Sam Dutton wrote:
>>
>>> Hi Eike
>>>
>>> I'm very keen to set up Qt Creator for developing S60 projects, as
>>> per
>>
>>> the instructions in part a) in your mail below, but I'm having some
>>> problems with path setup.
>>>
>>> If I set EPOCROOT to \S60\devices\S60_3rd_FP2_SDK_v1.1\\ (as per the
>>> instructions) I get the error:
>>>
>>> Unable to resolve epocRoot '/S60/devices/S60_3rd_FP2_SDK_v1.1//' to
>>
>>> real dir on current drive, defaulting to '/' for mmp paths
>>>
>>> So, I removed the extra \ from the end of the path, but now I get
>>> the
>
>>> following error:
>>>
>>> Starting: C:/Program Files/Common Files/Symbian/Tools/make.exe
>>> clean -w
>>> Can't open perl script "C:\Program": No such file or directory
>>
>> Either Markdown or its implementation in gitorious are bogus... so
>> there are some \ and < errors in the wiki page :)
>>
>> It should actually be a single backslash in epocroot (as you have
>> found out), and the PATH setting should be preceded by <yoursdkroot>
>> \epoc32\gcc\bin;<yoursdkroot>\epoc32\tools; like in the example
>> C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\gcc\bin;C:\S60\devices
>> \S60_3rd_FP2_SDK_v1.1\epoc32\tools;
>>
>> And you really need to PREpend it (not append), it must override the
>> path to the make.exe tool you got above, because that actually can't
>> cope with spaces in paths :)
>>
>> Hope that resolves it for you,
>> ++ Eike
>>
>>> It looks like there's a problem with spaces in paths, but I'm
>>> unclear
>
>>> where this needs to be fixed. I've checked the makefile and other
>>> files, but found nothing there.
>>>
>>> I've also tried (in build settings) quoting all paths in PATH that
>>> begin with C:\Program Files -- and for PROGRAMFILES AND
>>> COMMONPROGRAMFILES
>>> --
>>> but that doesn't seem to help.
>>>
>>> Sam
>>>
>>> -----Original Message-----
>>> From: qt-creator-bounces at trolltech.com
>>> [mailto:qt-creator-bounces at trolltech.com] On Behalf Of Eike Ziller
>>> Sent: 08 July 2009 14:30
>>> To: qt-creator at trolltech.com
>>> Subject: Re: [Qt-creator] QtCreator with S60 Emulator.
>>>
>>> Hi,
>>>
>>> On Jul 7, 2009, at 6:07 AM, ext Sukant Banik wrote:
>>>
>>>> Hi,
>>>>
>>>> I have some question about Qt Creator IDE .
>>>> 1.Can we configure QtCreator with S60 Emulator ?
>>>>
>>>> 2 .I have S60 5th edition SDK, Qt on S60 4.5.2 (Tower), and Qt
>>>> creator
>>>
>>>> 1.2.0 IDE in an Xp machine. Please let me know how I can configure
>>>> QtCreator with S60 emulator. (I want to execute MyFirstQtApp in in
>>>> S60
>>>
>>>> emulator.)
>>>>
>>> There are two possible ways to follow for you:
>>>
>>> a) Check out the corresponding section in the online FAQ on
>>> http://qt.gitorious.org/qt-creator/pages/QtS60WithQtCreator which
>>> gives an overview about what you can do "manually" from within Qt
>>> Creator.
>>>
>>> b) Get the most recent bleeding edge Qt Creator sources from the git
>>> repository http://qt.gitorious.org/qt-creator, master branch, and
>>> build it while having an environment variable QTCREATOR_WITH_S60 set
>>> to something (e.g. QTCREATOR_WITH_S60=1). That gives you some more
>>> direct, undocumented, and very experimental and unfinished support
>>> for
>>
>>> Qt/S60 applications in Qt Creator.
>>>
>>> ++ Eike
>>>
>>> --
>>> Eike Ziller
>>> Software Engineer
>>> Nokia, Qt Software
>>> Phone +49 (0)30 6392 3255
>>> Fax +49 (0)30 6392 3256
>>> E-mail eike.ziller at nokia.com
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>
>>> http://www.bbc.co.uk/
>>> This e-mail (and any attachments) is confidential and may contain
>>> personal views which are not the views of the BBC unless
>>> specifically
>
>>> stated.
>>> If you have received it in error, please delete it from your system.
>>> Do not use, copy or disclose the information in any way nor act in
>>> reliance on it and notify the sender immediately.
>>> Please note that the BBC monitors e-mails sent or received.
>>> Further communication will signify your consent to this.
>>>
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>> --
>> Eike Ziller
>> Software Engineer
>> Nokia, Qt Software
>> Phone +49 (0)30 6392 3255
>> Fax +49 (0)30 6392 3256
>> E-mail eike.ziller at nokia.com
>>
>>
>>
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>> http://www.bbc.co.uk/
>> This e-mail (and any attachments) is confidential and may contain
>> personal views which are not the views of the BBC unless specifically
>> stated.
>> If you have received it in error, please delete it from your system.
>> Do not use, copy or disclose the information in any way nor act in
>> reliance on it and notify the sender immediately.
>> Please note that the BBC monitors e-mails sent or received.
>> Further communication will signify your consent to this.
>>
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> --
> Eike Ziller
> Software Engineer
> Nokia, Qt Software
> Phone +49 (0)30 6392 3255
> Fax +49 (0)30 6392 3256
> E-mail eike.ziller at nokia.com
>
>
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless
> specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
--
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone +49 (0)30 6392 3255
Fax +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com
More information about the Qt-creator-old
mailing list