qt-iphone-developer Mailing List for qt-iphone
Status: Pre-Alpha
Brought to you by:
greybird
You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
(8) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark K. <gre...@ma...> - 2012-04-20 11:34:33
|
Which xcode are you using? On Apr 18, 2012, at 2:47 PM, Bruno Tezine wrote: > Hi, > I have downloaded the SDK from http://t.co/iHI8rI26 and configured Qt > Creator to use the Gcc toolchain from > /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-g++-4.2, > > but whenever I try to compile a sample application, I get the error: > make: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2: > No such file or directory > I'm using Qt Version from > /Developer/Platforms/iPhoneOS.platform/Developer/usr/share/qt-everywhere-ios-4.8.0/bin/qmake. > It seems that the mkspec is not pointing to arm-apple-darwin10-llvm-g++-4.2. > Does anybody know how to solve this? I already tried to change the > mkspec line to point to arm-apple-darwin10-llvm-g++-4.2, but I got a lot > of other errors. > Thank you, > Bruno. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Qt-iphone-developer mailing list > Qt-...@li... > https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer |
From: Bruno T. <br...@te...> - 2012-04-18 19:48:31
|
Hi, I have downloaded the SDK from http://t.co/iHI8rI26 and configured Qt Creator to use the Gcc toolchain from /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-g++-4.2, but whenever I try to compile a sample application, I get the error: make: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2: No such file or directory I'm using Qt Version from /Developer/Platforms/iPhoneOS.platform/Developer/usr/share/qt-everywhere-ios-4.8.0/bin/qmake. It seems that the mkspec is not pointing to arm-apple-darwin10-llvm-g++-4.2. Does anybody know how to solve this? I already tried to change the mkspec line to point to arm-apple-darwin10-llvm-g++-4.2, but I got a lot of other errors. Thank you, Bruno. |
From: Mark K. <gre...@ma...> - 2010-10-20 08:48:52
|
I forgot to ask, did you run the test case for qatomicponter and qatomicinit just to be safe? Regards, Mark Kromis On Oct 19, 2010, at 1:34 PM, jacob navia wrote: > Hi > Bug 3082827 says: > --------------------------------------------------------------- > Hi > > We have translated the 4.7 source code. There were minor problems tat we > got around by modifying the Makefiles. When we arrive at the link time > however, we are confronted to a bug that we can´t solve: > > [code] > {standard input}:66:selected processor does not support `ldrex ip,[r3]' > {standard input}:67:lo register required -- `sub ip,ip,#1' > {standard input}:68:selected processor does not support `strex r1,ip,[r3]' > {standard input}:69:selected processor does not support `teq r1,#0' > Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 > failed with exit code 1 > [/code] > > There is no way to know which object code file is at fault. We suspect > that the C++ error handling but we cnt say for sure. > > My email is > ja...@ja... > > Thanks in advance for your help > ----------------------------------------------------------------- > > This problem doesn't appear when compiling for the simulator of course. > > More information. > This bug is produced by the inline assembly in qatomic_armv6.h, in the > function > inline bool QBasicAtomicInt::ref() > { > register int newValue; > register int result; > asm volatile("0:\n\t" > "ldrex %[newValue], [%[_q_value]]\n\t" > "add %[newValue], %[newValue], #1\n\t" > "strex %[result], %[newValue], [%[_q_value]]\n\t" > "teq %[result], #0\n\t" > "bne 0b\n\t" > : [newValue] "=&r" (newValue), > [result] "=&r" (result), > "+m" (_q_value) > : [_q_value] "r" (&_q_value) > : "cc", "memory"); > return newValue != 0; > } > > The problem seems to be that the inline assembler of the gcc version is > completely broken. > (1) The instruction ldrex is a valid instruction for the ARM v6 > (2) The syntax for the instruction is also valid > (3) The inline assembler uses for [newvalue] the register ip > (instruction pointer). This can't work of course. > This led me to the belief that somehow I could try to use a fixed > register instead of letting the compiler > assign a new one for me, but that didn't work. Still the instruction > ldrex isn't recognized. > (4) I tried to switch to the generic atomic instructions file > qatomic_arm.h, but that did not work either > because no assembler instruction woud be recognized. > > Conclusion: > > The inline assembler is broken. > > > WORKAROUND: > ------------ > (1) I learned ARM assembly enough to write the following assembler file: > > .globl q_atomic_swp > q_atomic_swp: > push {r7, lr} > swpb r0,r2,[r3] > pop {r7,pc} > > (2) I changed the file qatomic_arm.h: > > #if 0 > inline static char q_atomic_swp(volatile char *ptr, char newval) > { > register char ret; > asm volatile("swpb %0,%2,[%3]" > : "=&r"(ret), "=m" (*ptr) > : "r"(newval), "r"(ptr) > : "cc", "memory"); > return ret; > } > #else > extern "C" char q_atomic_swp(char *ptr,char newval); > #endif > > > (3) I added the assembler file to the Xcode project, and my project > linked and loaded. > > Total work time: a week. > > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Qt-iphone-developer mailing list > Qt-...@li... > https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer |
From: jacob n. <ja...@ja...> - 2010-10-19 17:55:12
|
Hi Bug 3082827 says: --------------------------------------------------------------- Hi We have translated the 4.7 source code. There were minor problems tat we got around by modifying the Makefiles. When we arrive at the link time however, we are confronted to a bug that we can´t solve: [code] {standard input}:66:selected processor does not support `ldrex ip,[r3]' {standard input}:67:lo register required -- `sub ip,ip,#1' {standard input}:68:selected processor does not support `strex r1,ip,[r3]' {standard input}:69:selected processor does not support `teq r1,#0' Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 [/code] There is no way to know which object code file is at fault. We suspect that the C++ error handling but we cnt say for sure. My email is ja...@ja... Thanks in advance for your help ----------------------------------------------------------------- This problem doesn't appear when compiling for the simulator of course. More information. This bug is produced by the inline assembly in qatomic_armv6.h, in the function inline bool QBasicAtomicInt::ref() { register int newValue; register int result; asm volatile("0:\n\t" "ldrex %[newValue], [%[_q_value]]\n\t" "add %[newValue], %[newValue], #1\n\t" "strex %[result], %[newValue], [%[_q_value]]\n\t" "teq %[result], #0\n\t" "bne 0b\n\t" : [newValue] "=&r" (newValue), [result] "=&r" (result), "+m" (_q_value) : [_q_value] "r" (&_q_value) : "cc", "memory"); return newValue != 0; } The problem seems to be that the inline assembler of the gcc version is completely broken. (1) The instruction ldrex is a valid instruction for the ARM v6 (2) The syntax for the instruction is also valid (3) The inline assembler uses for [newvalue] the register ip (instruction pointer). This can't work of course. This led me to the belief that somehow I could try to use a fixed register instead of letting the compiler assign a new one for me, but that didn't work. Still the instruction ldrex isn't recognized. (4) I tried to switch to the generic atomic instructions file qatomic_arm.h, but that did not work either because no assembler instruction woud be recognized. Conclusion: The inline assembler is broken. WORKAROUND: ------------ (1) I learned ARM assembly enough to write the following assembler file: .globl q_atomic_swp q_atomic_swp: push {r7, lr} swpb r0,r2,[r3] pop {r7,pc} (2) I changed the file qatomic_arm.h: #if 0 inline static char q_atomic_swp(volatile char *ptr, char newval) { register char ret; asm volatile("swpb %0,%2,[%3]" : "=&r"(ret), "=m" (*ptr) : "r"(newval), "r"(ptr) : "cc", "memory"); return ret; } #else extern "C" char q_atomic_swp(char *ptr,char newval); #endif (3) I added the assembler file to the Xcode project, and my project linked and loaded. Total work time: a week. |
From: Mark K. <gre...@ma...> - 2010-10-15 11:22:40
|
Currently I'm at a loss at why this is not working, but I put a archive up at qt-iphone.sf.net that contains the build I've been playing with. You can download it at the files section. This is for the simulator build. I will work more on this later. Regards, Mark Kromis On Oct 13, 2010, at 7:00 AM, Gonçalo Rodrigues wrote: > I try it and is equal to yours ( i run diff ). > > Summary of my perl5 (revision 5 version 10 subversion 0) configuration: > Platform: > osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level > uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8: tue may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 ' > config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=gcc-4.2' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include', > optimize='-Os', > cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib' > libpth=/usr/local/lib /usr/lib > libs=-ldbm -ldl -lm -lutil -lc > perllibs=-ldl -lm -lutil -lc > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_PERLIO USE_REENTRANT_API > Locally applied patches: > /Library/Perl/Updates/<version> comes before system perl directories > installprivlib and installarchlib points to the Updates directory > Built under darwin > Compiled at Jun 24 2009 00:35:27 > @INC: > /Library/Perl/Updates/5.10.0 > /System/Library/Perl/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/5.10.0 > /Library/Perl/5.10.0/darwin-thread-multi-2level > /Library/Perl/5.10.0 > /Network/Library/Perl/5.10.0/darwin-thread-multi-2level > /Network/Library/Perl/5.10.0 > /Network/Library/Perl > /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.10.0 > . > > > > A 2010/10/13, às 11:55, Mark Kromis escreveu: > >> Can you try it with a big `V' this is what I get for comparison. >> >> $ perl -V >> Summary of my perl5 (revision 5 version 10 subversion 0) configuration: >> Platform: >> osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level >> uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8: tue may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 ' >> config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=gcc-4.2' >> hint=recommended, useposix=true, d_sigaction=define >> useithreads=define, usemultiplicity=define >> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef >> use64bitint=define, use64bitall=define, uselongdouble=undef >> usemymalloc=n, bincompat5005=undef >> Compiler: >> cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include', >> optimize='-Os', >> cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include' >> ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' >> intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 >> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 >> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 >> alignbytes=8, prototype=define >> Linker and Libraries: >> ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib' >> libpth=/usr/local/lib /usr/lib >> libs=-ldbm -ldl -lm -lutil -lc >> perllibs=-ldl -lm -lutil -lc >> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib >> gnulibc_version='' >> Dynamic Linking: >> dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' >> cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' >> >> >> Characteristics of this binary (from libperl): >> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV >> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL >> USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES >> USE_PERLIO USE_REENTRANT_API >> Locally applied patches: >> /Library/Perl/Updates/<version> comes before system perl directories >> installprivlib and installarchlib points to the Updates directory >> Built under darwin >> Compiled at Jun 24 2009 00:35:27 >> @INC: >> /Library/Perl/Updates/5.10.0 >> /System/Library/Perl/5.10.0/darwin-thread-multi-2level >> /System/Library/Perl/5.10.0 >> /Library/Perl/5.10.0/darwin-thread-multi-2level >> /Library/Perl/5.10.0 >> /Network/Library/Perl/5.10.0/darwin-thread-multi-2level >> /Network/Library/Perl/5.10.0 >> /Network/Library/Perl >> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level >> /System/Library/Perl/Extras/5.10.0 >> . >> >> >> On Oct 13, 2010, at 6:53 AM, Gonçalo Rodrigues wrote: >> >>> Hi, >>> >>> $ perl -v >>> >>> This is perl, v5.10.0 built for darwin-thread-multi-2level >>> (with 2 registered patches, see perl -V for more detail) >>> >>> Copyright 1987-2007, Larry Wall >>> >>> Perl may be copied only under the terms of either the Artistic License or the >>> GNU General Public License, which may be found in the Perl 5 source kit. >>> >>> Complete documentation for Perl, including FAQ lists, should be found on >>> this system using "man perl" or "perldoc perl". If you have access to the >>> Internet, point your browser at http://www.perl.org/, the Perl Home Page. >>> >>> >>> >>> I can't remove it because qconfig.ccp is generated "on-the-fly" when i do the ./configure. >>> >>> >>> Best regards, >>> Gonçalo Rodrigues. >>> >>> A 2010/10/13, às 11:41, Mark Kromis escreveu: >>> >>>> Greetings, >>>> >>>> I'm not able to reproduce the error yet. What is the output from 'perl -V'? >>>> >>>> Are [01;31m#define QT_VERSION_STR[00m actually part of the file? That should not be there. Try removing it. >>>> >>>> Regards, >>>> Mark Kromis >>>> >>>> On Oct 13, 2010, at 6:12 AM, Gonçalo Rodrigues wrote: >>>> >>>>> Hi, >>>>> >>>>> I am running Snow Leopard and Perl v5.10.0 built for darwin-thread-multi-2level. >>>>> >>>>> The generated qconfig.ccp: >>>>> >>>>> /* License Info */ >>>>> static const char qt_configure_licensee_str [256 + 12] = "qt_lcnsuser=Open Source\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=OpenSource\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> >>>>> /* Installation date */ >>>>> static const char qt_configure_installation [12+11] = "qt_instdate=2010-10-13"; >>>>> /* Installation Info */ >>>>> static const char qt_configure_prefix_path_str [256 + 12] = "qt_prfxpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_documentation_path_str[256 + 12] = "qt_docspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/doc\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_headers_path_str [256 + 12] = "qt_hdrspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/include\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_libraries_path_str [256 + 12] = "qt_libspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/lib\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_binaries_path_str [256 + 12] = "qt_binspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/bin\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_plugins_path_str [256 + 12] = "qt_plugpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/plugins\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_imports_path_str [256 + 12] = "qt_impspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/imports\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_data_path_str [256 + 12] = "qt_datapath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_translations_path_str [256 + 12] = "qt_trnspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/translations\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_settings_path_str [256 + 12] = "qt_stngpath=/etc/xdg\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_examples_path_str [256 + 12] = "qt_xmplpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/examples\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> static const char qt_configure_demos_path_str [256 + 12] = "qt_demopath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/demos\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; >>>>> /* strlen( "qt_lcnsxxxx" ) == 12 */ >>>>> #define QT_CONFIGURE_LICENSEE qt_configure_licensee_str + 12; >>>>> #define QT_CONFIGURE_LICENSED_PRODUCTS qt_configure_licensed_products_str + 12; >>>>> #define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12; >>>>> #define QT_CONFIGURE_DOCUMENTATION_PATH qt_configure_documentation_path_str + 12; >>>>> #define QT_CONFIGURE_HEADERS_PATH qt_configure_headers_path_str + 12; >>>>> #define QT_CONFIGURE_LIBRARIES_PATH qt_configure_libraries_path_str + 12; >>>>> #define QT_CONFIGURE_BINARIES_PATH qt_configure_binaries_path_str + 12; >>>>> #define QT_CONFIGURE_PLUGINS_PATH qt_configure_plugins_path_str + 12; >>>>> #define QT_CONFIGURE_IMPORTS_PATH qt_configure_imports_path_str + 12; >>>>> #define QT_CONFIGURE_DATA_PATH qt_configure_data_path_str + 12; >>>>> #define QT_CONFIGURE_TRANSLATIONS_PATH qt_configure_translations_path_str + 12; >>>>> #define QT_CONFIGURE_SETTINGS_PATH qt_configure_settings_path_str + 12; >>>>> #define QT_CONFIGURE_EXAMPLES_PATH qt_configure_examples_path_str + 12; >>>>> #define QT_CONFIGURE_DEMOS_PATH qt_configure_demos_path_str + 12; >>>>> >>>>> >>>>> Best regards, >>>>> Gonçalo Rodrigues. >>>>> >>>>> A 2010/10/13, às 10:54, Mark Kromis escreveu: >>>>> >>>>>> Greetings, >>>>>> >>>>>> the pkg-config is safe to ignore. However the next error is syncqt. This file has not been modified with this branch. This is a perl error. Are you running on Snow Leopard as the sdk requirements state? >>>>>> >>>>>> As far as qconfig.cpp, that file is generated. Can you post that file? >>>>>> >>>>>> You can also try to build from the official 4.7 sources vs. our branch to see where the problem exists. >>>>>> >>>>>> Regards, >>>>>> Mark Kromis >>>>>> >>>>>> On Oct 12, 2010, at 10:36 AM, Gonçalo Rodrigues wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>> I am using the latest 4.7-iphone branche 5ac0794 (06-10-2010 8h14) and i have the following error on ./configure. >>>>>>> Can someone help me? >>>>>>> >>>>>>> Best regards, >>>>>>> Gonçalo Rodrigues. >>>>>>> >>>>>>> >>>>>>> ERROR: >>>>>>> >>>>>>> >>>>>>> ./configure -xplatform iphonesimulator-g++42 -platform macx-ios-g++42 -opensource -ios -no-pch -no-accessibility -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-openssl -no-sql-mysql -no-sql-odbc -no-cups -no-iconv -no-dbus -no-opengl -static -nomake tools -nomake demos -nomake docs -nomake examples -nomake translations >>>>>>> >>>>>>> You have not explicitly asked to use pkg-config and are cross-compiling. >>>>>>> pkg-config will not be used to automatically query cflag/lib parameters for >>>>>>> dependencies >>>>>>> >>>>>>> >>>>>>> This is the Open Source Edition. >>>>>>> >>>>>>> You are licensed to use this software under the terms of >>>>>>> the Lesser GNU General Public License (LGPL) versions 2.1. >>>>>>> >>>>>>> Type 'L' to view the Lesser GNU General Public License version 2.1. >>>>>>> Type 'yes' to accept this license offer. >>>>>>> Type 'no' to decline this license offer. >>>>>>> >>>>>>> Do you accept the terms of the license? yes >>>>>>> >>>>>>> Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. >>>>>>> Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. >>>>>>> header created for /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.h (2) >>>>>>> Creating qmake. Please wait... >>>>>>> g++-4.2 -arch i386 -c -o option.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT option.cpp >>>>>>> g++-4.2 -arch i386 -c -o qlibraryinfo.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp >>>>>>> In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18:141: error: too many decimal points in number >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19:141: error: too many decimal points in number >>>>>>> In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19: error: expected ‘,’ or ‘;’ before numeric constant >>>>>>> make: *** [qlibraryinfo.o] Error 1 >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Beautiful is writing same markup. Internet Explorer 9 supports >>>>>>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >>>>>>> Spend less time writing and rewriting code and more time creating great >>>>>>> experiences on the web. Be a part of the beta today. >>>>>>> http://p.sf.net/sfu/beautyoftheweb_______________________________________________ >>>>>>> Qt-iphone-developer mailing list >>>>>>> Qt-...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer >>>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Beautiful is writing same markup. Internet Explorer 9 supports >>>>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >>>>> Spend less time writing and rewriting code and more time creating great >>>>> experiences on the web. Be a part of the beta today. >>>>> http://p.sf.net/sfu/beautyoftheweb_______________________________________________ >>>>> Qt-iphone-developer mailing list >>>>> Qt-...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer >>>> >>> >> > |
From: Gonçalo R. <gon...@cn...> - 2010-10-13 10:52:10
|
Hi, $ perl -v This is perl, v5.10.0 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. I can't remove it because qconfig.ccp is generated "on-the-fly" when i do the ./configure. Best regards, Gonçalo Rodrigues. A 2010/10/13, às 11:41, Mark Kromis escreveu: > Greetings, > > I'm not able to reproduce the error yet. What is the output from 'perl -V'? > > Are [01;31m#define QT_VERSION_STR[00m actually part of the file? That should not be there. Try removing it. > > Regards, > Mark Kromis |
From: Gonçalo R. <gon...@cn...> - 2010-10-13 10:12:54
|
Hi, I am running Snow Leopard and Perl v5.10.0 built for darwin-thread-multi-2level. The generated qconfig.ccp: /* License Info */ static const char qt_configure_licensee_str [256 + 12] = "qt_lcnsuser=Open Source\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=OpenSource\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; /* Installation date */ static const char qt_configure_installation [12+11] = "qt_instdate=2010-10-13"; /* Installation Info */ static const char qt_configure_prefix_path_str [256 + 12] = "qt_prfxpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_documentation_path_str[256 + 12] = "qt_docspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/doc\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_headers_path_str [256 + 12] = "qt_hdrspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/include\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_libraries_path_str [256 + 12] = "qt_libspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/lib\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_binaries_path_str [256 + 12] = "qt_binspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/bin\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_plugins_path_str [256 + 12] = "qt_plugpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/plugins\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_imports_path_str [256 + 12] = "qt_impspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/imports\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_data_path_str [256 + 12] = "qt_datapath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_translations_path_str [256 + 12] = "qt_trnspath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/translations\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_settings_path_str [256 + 12] = "qt_stngpath=/etc/xdg\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_examples_path_str [256 + 12] = "qt_xmplpath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/examples\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static const char qt_configure_demos_path_str [256 + 12] = "qt_demopath=/usr/local/Trolltech/Qt-[01;31m#define QT_VERSION_STR[00m "4.7.1"/demos\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; /* strlen( "qt_lcnsxxxx" ) == 12 */ #define QT_CONFIGURE_LICENSEE qt_configure_licensee_str + 12; #define QT_CONFIGURE_LICENSED_PRODUCTS qt_configure_licensed_products_str + 12; #define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12; #define QT_CONFIGURE_DOCUMENTATION_PATH qt_configure_documentation_path_str + 12; #define QT_CONFIGURE_HEADERS_PATH qt_configure_headers_path_str + 12; #define QT_CONFIGURE_LIBRARIES_PATH qt_configure_libraries_path_str + 12; #define QT_CONFIGURE_BINARIES_PATH qt_configure_binaries_path_str + 12; #define QT_CONFIGURE_PLUGINS_PATH qt_configure_plugins_path_str + 12; #define QT_CONFIGURE_IMPORTS_PATH qt_configure_imports_path_str + 12; #define QT_CONFIGURE_DATA_PATH qt_configure_data_path_str + 12; #define QT_CONFIGURE_TRANSLATIONS_PATH qt_configure_translations_path_str + 12; #define QT_CONFIGURE_SETTINGS_PATH qt_configure_settings_path_str + 12; #define QT_CONFIGURE_EXAMPLES_PATH qt_configure_examples_path_str + 12; #define QT_CONFIGURE_DEMOS_PATH qt_configure_demos_path_str + 12; Best regards, Gonçalo Rodrigues. A 2010/10/13, às 10:54, Mark Kromis escreveu: > Greetings, > > the pkg-config is safe to ignore. However the next error is syncqt. This file has not been modified with this branch. This is a perl error. Are you running on Snow Leopard as the sdk requirements state? > > As far as qconfig.cpp, that file is generated. Can you post that file? > > You can also try to build from the official 4.7 sources vs. our branch to see where the problem exists. > > Regards, > Mark Kromis > > On Oct 12, 2010, at 10:36 AM, Gonçalo Rodrigues wrote: > >> Hi, >> >> >> I am using the latest 4.7-iphone branche 5ac0794 (06-10-2010 8h14) and i have the following error on ./configure. >> Can someone help me? >> >> Best regards, >> Gonçalo Rodrigues. >> >> >> ERROR: >> >> >> ./configure -xplatform iphonesimulator-g++42 -platform macx-ios-g++42 -opensource -ios -no-pch -no-accessibility -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-openssl -no-sql-mysql -no-sql-odbc -no-cups -no-iconv -no-dbus -no-opengl -static -nomake tools -nomake demos -nomake docs -nomake examples -nomake translations >> >> You have not explicitly asked to use pkg-config and are cross-compiling. >> pkg-config will not be used to automatically query cflag/lib parameters for >> dependencies >> >> >> This is the Open Source Edition. >> >> You are licensed to use this software under the terms of >> the Lesser GNU General Public License (LGPL) versions 2.1. >> >> Type 'L' to view the Lesser GNU General Public License version 2.1. >> Type 'yes' to accept this license offer. >> Type 'no' to decline this license offer. >> >> Do you accept the terms of the license? yes >> >> Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. >> Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. >> header created for /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.h (2) >> Creating qmake. Please wait... >> g++-4.2 -arch i386 -c -o option.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT option.cpp >> g++-4.2 -arch i386 -c -o qlibraryinfo.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp >> In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18:141: error: too many decimal points in number >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19:141: error: too many decimal points in number >> In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18: error: expected ‘,’ or ‘;’ before numeric constant >> /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19: error: expected ‘,’ or ‘;’ before numeric constant >> make: *** [qlibraryinfo.o] Error 1 >> >> ------------------------------------------------------------------------------ >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today. >> http://p.sf.net/sfu/beautyoftheweb_______________________________________________ >> Qt-iphone-developer mailing list >> Qt-...@li... >> https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer > |
From: Gonçalo R. <gon...@cn...> - 2010-10-12 15:05:08
|
Hi, I am using the latest 4.7-iphone branche 5ac0794 (06-10-2010 8h14) and i have the following error on ./configure. Can someone help me? Best regards, Gonçalo Rodrigues. ERROR: ./configure -xplatform iphonesimulator-g++42 -platform macx-ios-g++42 -opensource -ios -no-pch -no-accessibility -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-openssl -no-sql-mysql -no-sql-odbc -no-cups -no-iconv -no-dbus -no-opengl -static -nomake tools -nomake demos -nomake docs -nomake examples -nomake translations You have not explicitly asked to use pkg-config and are cross-compiling. pkg-config will not be used to automatically query cflag/lib parameters for dependencies This is the Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of the license? yes Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. Use of uninitialized value $ts in utime at /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/bin/syncqt line 337. header created for /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.h (2) Creating qmake. Please wait... g++-4.2 -arch i386 -c -o option.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT option.cpp g++-4.2 -arch i386 -c -o qlibraryinfo.o -pipe -DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -DQT_IOS_BOOTSTRAP -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/include/QtCore -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/xml -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/mkspecs/macx-ios-g++42 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18:141: error: too many decimal points in number /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19:141: error: too many decimal points in number In file included from /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qlibraryinfo.cpp:65: /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:8: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:9: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:10: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:11: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:12: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:13: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:14: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:15: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:16: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:18: error: expected ‘,’ or ‘;’ before numeric constant /Users/goncalorodrigues/Documents/Cnotinfor/iPhoneDevelopment/qt-iphone-clone/src/corelib/global/qconfig.cpp:19: error: expected ‘,’ or ‘;’ before numeric constant make: *** [qlibraryinfo.o] Error 1 |
From: Mark K. <gre...@ma...> - 2010-10-04 11:30:01
|
Greetings, The active branch is the 4.7-iphone. The recent build has the 4.2 hard coded within the config files. As long as you have the latest public sdk it should work fine. Follow the instructions in the iOS.txt in root folder of the 4.7 release. The core, xml, and network passed the unit testing, but I did not test on a real device. I'm not sure on how to check 3G vs WiFi. The gui is currently a work in progress. Regards, Mark Kromis On Oct 4, 2010, at 6:50 AM, James Turner wrote: > Hi, I'm evaluating qt-iphone as way to get some existing Qt backend code running on the iPhone; currently I have to maintain a separate code base for the iPhone, always painful. > > I'm not interested in the widgets - what I need is XML, QtCore and QtNetwork to work reliably - especially threads and timers, and the QNetworkAccessManager classes. I also use the QNetworkInterface code, which I guess might be problem area - I know 4.7 adds QNetworkConfiguration which might need to expose the P2P networking aspects (3G vs Wifi connection) but right now I could live with only 4.6 features. > > It sounds from the web pages as if XML and QtCore have been working for a long time, and widgets are in progress - is this correct? I see a 4.6-stable branch on Gitorious, but all the recent commits are on the 4.7-iphone branch, so which one should give me the best results for what I need? > > Are the build instructions here: http://www.qt-iphone.com/FAQS.html still valid? I generally use the iOS 4.0 SDK at the moment, but those instructions refer to the 3.0 SDK. > > Regards, > James > > > ------------------------------------------------------------------------------ > Virtualization is moving to the mainstream and overtaking non-virtualized > environment for deploying applications. Does it make network security > easier or more difficult to achieve? Read this whitepaper to separate the > two and get a better understanding. > http://p.sf.net/sfu/hp-phase2-d2d > _______________________________________________ > Qt-iphone-developer mailing list > Qt-...@li... > https://lists.sourceforge.net/lists/listinfo/qt-iphone-developer |
From: James T. <ja...@bu...> - 2010-10-04 11:20:33
|
Hi, I'm evaluating qt-iphone as way to get some existing Qt backend code running on the iPhone; currently I have to maintain a separate code base for the iPhone, always painful. I'm not interested in the widgets - what I need is XML, QtCore and QtNetwork to work reliably - especially threads and timers, and the QNetworkAccessManager classes. I also use the QNetworkInterface code, which I guess might be problem area - I know 4.7 adds QNetworkConfiguration which might need to expose the P2P networking aspects (3G vs Wifi connection) but right now I could live with only 4.6 features. It sounds from the web pages as if XML and QtCore have been working for a long time, and widgets are in progress - is this correct? I see a 4.6-stable branch on Gitorious, but all the recent commits are on the 4.7-iphone branch, so which one should give me the best results for what I need? Are the build instructions here: http://www.qt-iphone.com/FAQS.html still valid? I generally use the iOS 4.0 SDK at the moment, but those instructions refer to the 3.0 SDK. Regards, James |
From: Mark K. <gre...@ma...> - 2010-09-15 11:26:23
|
A test of support for 4.1 SDK is up on the gitorious website. Please check out and give any necessary feedback. Regards, Mark Kromis |
From: Mark K. <gre...@ma...> - 2010-06-24 09:27:43
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, This forum is created for general discussion for qt-iphone development. Currently the basic frameworks are working. Core, Xml, and Test. Any questions greatly appreciated. Regards, Mark Kromis -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAkwjJOsACgkQ74ci1S6/F59s8gCeLq3a2dnZsS1nFhiYObH59iJE vIIAn0MfneH3fBX6xIpBiy2cHz8BOYwW =sqTL -----END PGP SIGNATURE----- |