Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-20 Thread Kai Koehne
On 7/19/2010 5:55 PM, ext Aurélien Vallée wrote:
 Thanks for your answer!

 I'm planning to develop a rich client based on Qt-creator and I would
 like to be able to benefit from qt-creator, and qt, bug fixes/new features.
 Could you point me to the right tags for both qt and qt-creator that I
 can safely checkout and build *together* ?

 I'm lost between the archives available online, the master,
 master-stable, beta-stable tags, and the build time required by Qt
 exclude the possibility to test each individual combination ;-)

Hi,

I'd recommend to always use the git repos, since they're most up to date:

  * Check out git://gitorious.org/qt/qt.git, 4.7 branch
  * Check out g...@gitorious.org:qt-creator/qt-creator.git, 2.0 or master 
branch (both should compile, most development happens in master these days)

We always try to ensure that the combination works, and actually 
breakages are rare  will be fixed the next working day. Anyhow, they 
_can_ happen, so if you don't want to get burned you can just ask on IRC 
whether it's safe to pull / whether someone has a 'good' combination of 
SHAs he can share with you.

For compiling Qt, you can use:

./configure -developer-build -opensource -nomake examples -nomake demos
make

(-developer-build ensures that no make install is required. This saves 
some trouble with private headers.)

You don't have to update Qt too often, but sometimes it happens. This is 
usually announced on this list. Just do a git pull inside your Qt 
directory, and try to rebuild. If compilation fails due to some missing 
headers, you can run

./bin/syncqt

If this isn't enough, you have to rerun configure. Last resort is a full 
recompile: git clean -fxd  configure ...

Finally, if you set up Qt like this, you can compile creator by

qmake -r  make

Kai

PS: Other options (non-developer build, shadow builds etc) of course 
should also work. Still, this is IMO the 'safest' configuration, and 
used by many core developers.

 On Mon, Jul 19, 2010 at 5:39 PM, Tobias Hunger tobias.hun...@nokia.com
 mailto:tobias.hun...@nokia.com wrote:

 On 19.07.2010 16:41, ext Aurélien Vallée wrote:
   - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)

 IIRC that version is too old (at least for master) already:-(

   - Qt-creator 2.1.0 cloned from gitorious

 I just finished building Qt creator fresh out of gitorious (master
 branch) based on a Qt gitorious checkout (4.7 branch).

 I am on windows though, but Saturday I build myself a version on Linux
 from the same branches. It *is* possible to build creator. Don't
 give up!

 Best Regards,
 Tobias

 --
 Tobias Hunger
 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 mailto:Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator




 --
 Aurélien Vallée
 +33 6 47 41 70 37


-- 
--
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] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Aurélien Vallée
Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now
trying to build qt-creator from a debian lenny:
- Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686
GNU/Linux
- gcc (Debian 4.3.2-1.1) 4.3.2
- GNU Make 3.81
- Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)
- Qt-creator 2.1.0 cloned from gitorious

qmake ../qt-creator.pro  make = FAIL missing qtdeclarative _p.h private
headers
qmake ../qt-creator.pro QT_PRIVATE_HEADERS=  make = FAIL missing
qtdeclarative _p.h private headers
qmake ../qt-creator.pro QT_PRIVATE_HEADERS=/path/to/qt/source/include =
FAIL 
../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp:169:
error: cannot allocate an object of abstract type
‘QmlDesigner::Internal::ItemLibraryImageProvider’

This is very annoying, it seems that whatever platform, qt version, or
qt-creator version that I use, i simply cannot build qt-creator :(

-- 
Aurélien Vallée
+33 6 47 41 70 37
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Tobias Hunger
On 19.07.2010 16:41, ext Aurélien Vallée wrote:
 - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)

IIRC that version is too old (at least for master) already:-(

 - Qt-creator 2.1.0 cloned from gitorious

I just finished building Qt creator fresh out of gitorious (master 
branch) based on a Qt gitorious checkout (4.7 branch).

I am on windows though, but Saturday I build myself a version on Linux 
from the same branches. It *is* possible to build creator. Don't give up!

Best Regards,
Tobias

-- 
Tobias Hunger
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] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Aurélien Vallée
Thanks for your answer!

I'm planning to develop a rich client based on Qt-creator and I would like
to be able to benefit from qt-creator, and qt, bug fixes/new features.
Could you point me to the right tags for both qt and qt-creator that I can
safely checkout and build *together* ?

I'm lost between the archives available online, the master, master-stable,
beta-stable tags, and the build time required by Qt exclude the possibility
to test each individual combination ;-)

On Mon, Jul 19, 2010 at 5:39 PM, Tobias Hunger tobias.hun...@nokia.comwrote:

 On 19.07.2010 16:41, ext Aurélien Vallée wrote:
  - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)

 IIRC that version is too old (at least for master) already:-(

  - Qt-creator 2.1.0 cloned from gitorious

 I just finished building Qt creator fresh out of gitorious (master
 branch) based on a Qt gitorious checkout (4.7 branch).

 I am on windows though, but Saturday I build myself a version on Linux
 from the same branches. It *is* possible to build creator. Don't give up!

 Best Regards,
 Tobias

 --
 Tobias Hunger
 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




-- 
Aurélien Vallée
+33 6 47 41 70 37
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread eike.ziller

On Jul 19, 2010, at 4:41 PM, ext Aurélien Vallée wrote:

 Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now 
 trying to build qt-creator from a debian lenny:
 - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 
 GNU/Linux
 - gcc (Debian 4.3.2-1.1) 4.3.2
 - GNU Make 3.81
 - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)
 - Qt-creator 2.1.0 cloned from gitorious
 
 qmake ../qt-creator.pro  make = FAIL missing qtdeclarative _p.h private 
 headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=  make = FAIL missing 
 qtdeclarative _p.h private headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=/path/to/qt/source/include = 
 FAIL 
 ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp:169:
  error: cannot allocate an object of abstract type 
 ‘QmlDesigner::Internal::ItemLibraryImageProvider’

Another comment:
You seem to try to build Qt Creator with a shadow build that is located in a 
subdirectory of the Qt Creator sources. This doesn't work, qmake can't handle 
it correctly. If you want to use shadow builds, you'll need to use a directory 
outside of the Qt Creator sources.

Br, Eike

-- 
Eike Ziller
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] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Aurélien Vallée
Oh, yeah, no problem this is just a typo, should be ../cfm_studio/
qt-creator.pro

On Mon, Jul 19, 2010 at 6:16 PM, eike.zil...@nokia.com wrote:


 On Jul 19, 2010, at 4:41 PM, ext Aurélien Vallée wrote:

  Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now
 trying to build qt-creator from a debian lenny:
  - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686
 GNU/Linux
  - gcc (Debian 4.3.2-1.1) 4.3.2
  - GNU Make 3.81
  - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)
  - Qt-creator 2.1.0 cloned from gitorious
 
  qmake ../qt-creator.pro  make = FAIL missing qtdeclarative _p.h
 private headers
  qmake ../qt-creator.pro QT_PRIVATE_HEADERS=  make = FAIL missing
 qtdeclarative _p.h private headers
  qmake ../qt-creator.pro QT_PRIVATE_HEADERS=/path/to/qt/source/include
 = FAIL
 ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp:169:
 error: cannot allocate an object of abstract type
 ‘QmlDesigner::Internal::ItemLibraryImageProvider’

 Another comment:
 You seem to try to build Qt Creator with a shadow build that is located in
 a subdirectory of the Qt Creator sources. This doesn't work, qmake can't
 handle it correctly. If you want to use shadow builds, you'll need to use a
 directory outside of the Qt Creator sources.

 Br, Eike

 --
 Eike Ziller
 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




-- 
Aurélien Vallée
+33 6 47 41 70 37
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Laurent Desmecht
I had the same problem. I was using ./configure --prefix=/install-path; make;
make install
To solve the issue I remove the include directory in my installation directory
and I made a symbolic link to the include directory of the source directory of
Qt

Laurent

On Mon, 19 Jul 2010 16:41:09 +0200  Aurélien_Vallée 
vallee.aurel...@gmail.com wrote

 Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now
 trying to build qt-creator from a debian lenny:
 - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686
 GNU/Linux
 - gcc (Debian 4.3.2-1.1) 4.3.2
 - GNU Make 3.81
 - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)
 - Qt-creator 2.1.0 cloned from gitorious
 
 qmake ../qt-creator.pro  make = FAIL missing qtdeclarative _p.h private
 headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=  make = FAIL missing
 qtdeclarative _p.h private headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=/path/to/qt/source/include =
 FAIL
 ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlib
 rary.cpp:169:
 error: cannot allocate an object of abstract type
 ‘QmlDesigner::Internal::ItemLibraryImageProvider’
 
 This is very annoying, it seems that whatever platform, qt version, or
 qt-creator version that I use, i simply cannot build qt-creator :(
 
 --
 Aurélien Vallée
 +33 6 47 41 70 37


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


Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)

2010-07-19 Thread Laurent Desmecht
Le 19/07/2010 20:10, Laurent Desmecht a écrit :
 I had the same problem. I was using ./configure --prefix=/install-path; make;
 make install
   
Sorry I forgot to mention it's to build Qt

 To solve the issue I remove the include directory in my installation directory
 and I made a symbolic link to the include directory of the source directory of
 Qt

 Laurent

 On Mon, 19 Jul 2010 16:41:09 +0200  Aurélien_Vallée 
 vallee.aurel...@gmail.com wrote

   
 Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now
 trying to build qt-creator from a debian lenny:
 - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686
 GNU/Linux
 - gcc (Debian 4.3.2-1.1) 4.3.2
 - GNU Make 3.81
 - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech)
 - Qt-creator 2.1.0 cloned from gitorious

 qmake ../qt-creator.pro  make = FAIL missing qtdeclarative _p.h private
 headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=  make = FAIL missing
 qtdeclarative _p.h private headers
 qmake ../qt-creator.pro QT_PRIVATE_HEADERS=/path/to/qt/source/include =
 FAIL
 ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlib
 rary.cpp:169:
 error: cannot allocate an object of abstract type
 ‘QmlDesigner::Internal::ItemLibraryImageProvider’

 This is very annoying, it seems that whatever platform, qt version, or
 qt-creator version that I use, i simply cannot build qt-creator :(

 --
 Aurélien Vallée
 +33 6 47 41 70 37
 

 ___
 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