Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-07 Thread Kai Koehne
On 10/6/2010 3:48 PM, ext Stephen Chu wrote:
 On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
 Hi,

 it's true that qmldumper tool requires private headers from Qt being
 installed. This is of course unfortunate, because 'make install' doesn't
 copy them into the install directory ... that is still something we have
 to find a good solution for, I'm afraid. Until then you can either just
 ignore the qmldump tool, or configure your Qt with -prefix '.'.

 Regards

 Kai Koehne

 I finally rebuilt Qt with -prefix '.' successfully. But when I try to
 rebuild debugging helper, it fails without really giving me any errors.

 This is tested with snapshot
 qtcreator-mac-opensource-2.0.91-201010060030. I attached the log.

Hi Stephen,

huh, it seems this time you've been caught by a somewhat optimistic 
timeout for building the debugging helpers ... that is, we had hardcoded 
somewhere a timeout that is good enough for our fast development 
machines, but might break with slower machines.

If I'm right that should be fixed now in 2.1 (commit 2b047a26). Also, 
more extensive error output is already being worked on ... To make sure 
that's really not a build issue, you should also go to 
$QTDIR/qtc-qmldump and run make/nmake there.

Thanks for the time you're spending on this! We really appreciate it :)

Kai

-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-07 Thread André Pönitz
On Thursday 07 October 2010 16:13:12 ext Stephen Chu wrote:
 I installed the new snapshot with the added timeout period (80 sec?) and 
 it goes farther down the build process but still dies without an error. 
 I also checked my Console log and find this line:

Do you have the sources around? If so, could you increase/remove the timeout 
and find out how long your machine actually needs?

Andre'
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-07 Thread Stephen Chu
On 10/7/10 10:22 AM, André Pönitz wrote:
 On Thursday 07 October 2010 16:13:12 ext Stephen Chu wrote:
 I installed the new snapshot with the added timeout period (80 sec?) and
 it goes farther down the build process but still dies without an error.
 I also checked my Console log and find this line:

 Do you have the sources around? If so, could you increase/remove the timeout
 and find out how long your machine actually needs?

No I don't. Could never figure out how to build Creator here. Too old to 
learn the new tricks. :)

-- 
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-07 Thread Stephen Chu
On 10/7/10 11:25 AM, André Pönitz wrote:
 On Thursday 07 October 2010 16:32:22 you wrote:
 On 10/7/10 10:22 AM, André Pönitz wrote:
 On Thursday 07 October 2010 16:13:12 ext Stephen Chu wrote:
 I installed the new snapshot with the added timeout period (80 sec?) and
 it goes farther down the build process but still dies without an error.
 I also checked my Console log and find this line:

 Do you have the sources around? If so, could you increase/remove the timeout
 and find out how long your machine actually needs?

 No I don't. Could never figure out how to build Creator here. Too old to
 learn the new tricks. :)

 Initial checkout:

cd /tmp# or whatever
git clone g...@gitorious.org:qt-creator/qt-creator.git
cd qt-creator
qmake -r
make

 To update later:

cd /tmp/qt-creator
git pull
make

 To get a clean build later:

cd /tmp/qt-creator
git clean -dxf
qmake -r
make


 Andre'

Thanks. I managed to load from git and build Creator using Creator after 
posting that. But your steps will help me building it automatically.

-- 
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-07 Thread Stephen Chu
On 10/7/10 10:22 AM, André Pönitz wrote:
 On Thursday 07 October 2010 16:13:12 ext Stephen Chu wrote:
 I installed the new snapshot with the added timeout period (80 sec?) and
 it goes farther down the build process but still dies without an error.
 I also checked my Console log and find this line:

 Do you have the sources around? If so, could you increase/remove the timeout
 and find out how long your machine actually needs?

I changed the timeout from 8 to 18 (just a random larger number) 
and it works.

-- 
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-06 Thread Stephen Chu

On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:

Hi,

it's true that qmldumper tool requires private headers from Qt being
installed. This is of course unfortunate, because 'make install' doesn't
copy them into the install directory ... that is still something we have
to find a good solution for, I'm afraid. Until then you can either just
ignore the qmldump tool, or configure your Qt with -prefix '.'.

Regards

Kai Koehne


I finally rebuilt Qt with -prefix '.' successfully. But when I try to 
rebuild debugging helper, it fails without really giving me any errors.


This is tested with snapshot 
qtcreator-mac-opensource-2.0.91-201010060030. I attached the log.

--
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
Building helper library 'qmldump' in /qt/qtc-qmldump/

Running /usr/bin/make distclean...
rm -f .obj/debug-shared/main.o
rm -f *~ core *.core
rm -f -r qmldump.app
rm -f Makefile

Running /qt/bin/qmake ...

Running /usr/bin/make ...
g++ -c -pipe -Xarch_i386 -mmacosx-version-min=10.4 -Xarch_ppc 
-mmacosx-version-min=10.4 -g -gdwarf-2 -arch i386 -arch ppc -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW 
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 
-DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_SHARED -I../mkspecs/macx-g++ -I. 
-I../lib/QtCore.framework/Versions/4/Headers -I../include/QtCore 
-I../lib/QtGui.framework/Versions/4/Headers -I../include/QtGui 
-I../lib/QtDeclarative.framework/Versions/4/Headers -I../include/QtDeclarative 
-I../include -I.moc/debug-shared -F/qt/lib -o .obj/debug-shared/main.o main.cpp
g++ -headerpad_max_install_names -arch i386 -arch ppc 
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -Xarch_i386 
-mmacosx-version-min=10.4 -Xarch_ppc -mmacosx-version-min=10.4 -o 
qmldump.app/Contents/MacOS/qmldump .obj/debug-shared/main.o   -F/qt/lib 
-L/qt/lib -framework QtDeclarative -L/qt/lib -F/qt/lib -framework QtScript 
-framework QtCore -framework QtSvg -framework QtGui -framework QtSql -framework 
QtXmlPatterns -framework QtNetwork -framework QtOpenGL 
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-05 Thread Coda Highland
Okay, thanks. :)

On Tue, Oct 5, 2010 at 6:56 AM, Kai Koehne kai.koe...@nokia.com wrote:
 On 10/4/2010 5:00 PM, ext Coda Highland wrote:
 I thought you needed a -developer-build flag to do that... I could be
 wrong; I haven't done this in a LONG time, but I seem to remember that
 flag being in there.

 With -prefix . you don't have to run make install. You use the Qt
 directly from it's source directory (or shadow build directory if you've
 called configure from another directory).

 -developer-build does this + a lot more: Namely it exports more
 symbols, and changes the default to -debug (instead of
 -debug-and-release). Have a look at $QTDIR\configure, it will give you
 the full story :)

 Regards

 Kai

 /s/ Adam

 On Mon, Oct 4, 2010 at 8:59 AM, Stephen Chustep...@ju-ju.com  wrote:
 On 10/1/10 4:31 PM, Stephen Chu wrote:
 On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
 configure your Qt with -prefix '.'.

 Cool. I didn't know you can do this. Thanks.


 I tried -prefix '.' over the weekend and  it failed at the install.
 Got this message:

 g++ -headerpad_max_install_names -arch ppc -arch x86_64 -arch i386
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -single_module
 -dynamiclib -compatibility_version      4.7 -current_version    4.7.1
 -install_name   /qt/lib/QtXml.framework/Versions/4/QtXml_debug
 -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64
 -mmacosx-version-min=10.5 -Xarch_i386 -mmacosx-version-min=10.4
 -Xarch_ppc -mmacosx-version-min=10.4 -o QtXml_debug
 .obj/debug-shared/qdom.o .obj/debug-shared/qxml.o
 .obj/debug-shared/qxmlstream.o  -F/qt/lib -L/qt/lib -framework QtCore
 ld: framework not found QtCore
 collect2: ld returned 1 exit status

 I looked at /qt/lib and find there's only a .prl file in
 QtCore.framework folder.

 Will try to clean and rebuild it. Wonder if this is a know issue?

 --
 Stephen Chu
 mailto:step...@ju-ju.com
 http://www.ju-ju.com
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 --
 Kai Koehne
 Software Engineer
 Nokia, Qt Development Frameworks

 Nokia gate5 GmbH
 Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
 Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
 Umsatzsteueridentifikationsnummer: DE 812 845 193
 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-04 Thread Stephen Chu
On 10/4/10 9:59 AM, Stephen Chu wrote:
 On 10/1/10 4:31 PM, Stephen Chu wrote:
 On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
 configure your Qt with -prefix '.'.

 Cool. I didn't know you can do this. Thanks.


 I tried -prefix '.' over the weekend and  it failed at the install.
 Got this message:

 g++ -headerpad_max_install_names -arch ppc -arch x86_64 -arch i386
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -single_module
 -dynamiclib -compatibility_version4.7 -current_version4.7.1
 -install_name /qt/lib/QtXml.framework/Versions/4/QtXml_debug
 -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64
 -mmacosx-version-min=10.5 -Xarch_i386 -mmacosx-version-min=10.4
 -Xarch_ppc -mmacosx-version-min=10.4 -o QtXml_debug
 .obj/debug-shared/qdom.o .obj/debug-shared/qxml.o
 .obj/debug-shared/qxmlstream.o  -F/qt/lib -L/qt/lib -framework QtCore
 ld: framework not found QtCore
 collect2: ld returned 1 exit status

 I looked at /qt/lib and find there's only a .prl file in
 QtCore.framework folder.

 Will try to clean and rebuild it. Wonder if this is a know issue?

OK. Never mind. There's an permission error during the building of 
QtCore framework. Off the wipe the git and start from scratch.

Sorry for the false alarm.

-- 
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-04 Thread Coda Highland
I thought you needed a -developer-build flag to do that... I could be
wrong; I haven't done this in a LONG time, but I seem to remember that
flag being in there.

/s/ Adam

On Mon, Oct 4, 2010 at 8:59 AM, Stephen Chu step...@ju-ju.com wrote:
 On 10/1/10 4:31 PM, Stephen Chu wrote:
 On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
 configure your Qt with -prefix '.'.

 Cool. I didn't know you can do this. Thanks.


 I tried -prefix '.' over the weekend and  it failed at the install.
 Got this message:

 g++ -headerpad_max_install_names -arch ppc -arch x86_64 -arch i386
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -single_module
 -dynamiclib -compatibility_version      4.7 -current_version    4.7.1
 -install_name   /qt/lib/QtXml.framework/Versions/4/QtXml_debug
 -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64
 -mmacosx-version-min=10.5 -Xarch_i386 -mmacosx-version-min=10.4
 -Xarch_ppc -mmacosx-version-min=10.4 -o QtXml_debug
 .obj/debug-shared/qdom.o .obj/debug-shared/qxml.o
 .obj/debug-shared/qxmlstream.o  -F/qt/lib -L/qt/lib -framework QtCore
 ld: framework not found QtCore
 collect2: ld returned 1 exit status

 I looked at /qt/lib and find there's only a .prl file in
 QtCore.framework folder.

 Will try to clean and rebuild it. Wonder if this is a know issue?

 --
 Stephen Chu
 mailto:step...@ju-ju.com
 http://www.ju-ju.com
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-01 Thread kai.koehne
Hi,

it's true that qmldumper tool requires private headers from Qt being installed. 
This is of course unfortunate, because 'make install' doesn't copy them into 
the install directory ... that is still something we have to find a good 
solution for, I'm afraid. Until then you can either just ignore the qmldump 
tool, or configure your Qt with -prefix '.'.

Regards

Kai Koehne


--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Stephen Chu [step...@ju-ju.com]
Sent: Friday, October 01, 2010 5:50 PM
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] Qt Creator 2.1 branch

On 9/29/10 6:43 AM, André Pönitz wrote:

 Hello everybody.

 As you may have noticed, there's a new branch 2.1 in the git repository.

 The plan is to have the Qt Creator 2.1.x releases from this branch at some
 point of time, and we are right now in a feature freeze for the 2.1.0 release.

 New development is supposed to go to the master branch, fixes to 2.1, which
 is roughly daily merged back into master. In theory there should not be much
 master-only activity right now.

 When released, Qt Creator 2.1.0 will require Qt 4.7.1 because of two sets
 of features/fixes that are not present in Qt 4.7.0. The first one concerns
 QML, the second one affects the performance of the syntax highlighter.
 While the new semantic syntax highlighter (introduced after 4.7.0 was
 branched) works with Qt 4.7.0 it triggers too many updates causing stress
 to the hardware.

I can't rebuild debugger helper on the Mac with Creator 2.0.91 snapshot
and Qt 4.7.1 from git. It's looking for some private headers that are
not in the install. See the attached file.


--
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-01 Thread kai.koehne
4.7.1 is in qt-releases.git (in contrast to 4.7, which is in qt.git). Anyway, 
that doesn't change the private header dependency.

Regards

Kai

who is forced to top-post due to Outlook Web Access
--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Stephen Chu [step...@ju-ju.com]
Sent: Friday, October 01, 2010 10:03 PM
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] Qt Creator 2.1 branch

On 10/1/10 2:15 PM, Andre Poenitz wrote:
 On Fri, Oct 01, 2010 at 11:50:04AM -0400, Stephen Chu wrote:
 On 9/29/10 6:43 AM, André Pönitz wrote:

 Hello everybody.

 As you may have noticed, there's a new branch 2.1 in the git repository.

 The plan is to have the Qt Creator 2.1.x releases from this branch at some
 point of time, and we are right now in a feature freeze for the 2.1.0 
 release.

 New development is supposed to go to the master branch, fixes to 2.1, which
 is roughly daily merged back into master. In theory there should not be much
 master-only activity right now.

 When released, Qt Creator 2.1.0 will require Qt 4.7.1 because of two sets
 of features/fixes that are not present in Qt 4.7.0. The first one concerns
 QML, the second one affects the performance of the syntax highlighter.
 While the new semantic syntax highlighter (introduced after 4.7.0 was
 branched) works with Qt 4.7.0 it triggers too many updates causing stress
 to the hardware.

 I can't rebuild debugger helper on the Mac with Creator 2.0.91
 snapshot and Qt 4.7.1 from git. It's looking for some private
 headers that are not in the install. See the attached file.

 I am afraid the upcoming beta (and therefore the current nightlies)
 will be built using the 4.7 development branch, not the already
 branched 4.7.1 release branch as originally planned.

 The reason is that there are three changes needed for Creator present in
 4.7 that have not made it yet into the 4.7.1 branch. The final release
 is still planned to use 4.7.1.

I don't see a 4.7.1 branch at http://qt.gitorious.org/qt and I am
tracking 4.7 branch in my build.


--
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator 2.1 branch

2010-10-01 Thread Stephen Chu
On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
 configure your Qt with -prefix '.'.

Cool. I didn't know you can do this. Thanks.

-- 
Stephen Chu
mailto:step...@ju-ju.com
http://www.ju-ju.com
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Qt Creator 2.1 branch

2010-09-29 Thread André Pönitz

Hello everybody.

As you may have noticed, there's a new branch 2.1 in the git repository.

The plan is to have the Qt Creator 2.1.x releases from this branch at some
point of time, and we are right now in a feature freeze for the 2.1.0 release.

New development is supposed to go to the master branch, fixes to 2.1, which
is roughly daily merged back into master. In theory there should not be much
master-only activity right now.

When released, Qt Creator 2.1.0 will require Qt 4.7.1 because of two sets
of features/fixes that are not present in Qt 4.7.0. The first one concerns
QML, the second one affects the performance of the syntax highlighter.
While the new semantic syntax highlighter (introduced after 4.7.0 was
branched) works with Qt 4.7.0 it triggers too many updates causing stress
to the hardware.

So we have the following situation currently:

Qt Creator   QtSyntax Highlighting QMLCompiles
branch branch approach  performance
2.0.1  4.7.0oldgoodsome  yes
2.0.1   4.7 oldgoodsome  yes
2.14.7.0newbad more  yes
2.1 4.7 newgoodmore  yes  [*]
master 4.7.0newbad more maybe
master  4.7 newgoodmore maybe

The Qt Creator 2.1 branch/Qt 4.7 branch combination is currently the 
recommended way to use Creator-from-source for people that like to stay
close to the bleeding edge. It's also what the nightly snapshots today and
during the next few weeks will use.

Andre'

-- 
André Pönitz
Senior Software Engineer
Nokia, Qt Development Frameworks
 
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator