Re: [Qt-creator] Qt Creator 2.0 looks ugly on Debian/VMWare

2010-08-04 Thread Aurélien Vallée
We had the exact same problem here.
You have to install x11-dev  xproto-* libraries and it will be fine.

On Wed, Aug 4, 2010 at 1:08 PM, Karl Krach mailingli...@bluespirit.lawrote:

 Hello,

 on my old system (Gentoo + VirtualBox) the qtcreator worked great and looks
 fine, but on the Debian Squeeze installation with VMWare, the it looks
 really
 ugly:

 http://www.bluespirit.la/tmp/qtcreator.png

 I have compiled qtcreator with Qt 4.7, which I have installed (./configure
 --prefix /opt/qt-4.7) by my own (without package manager). The qtcreator
 from
 Debian (1.3.1) looks better, but has some font problems.

 I would be grateful for every hint...

 Charly






 ___
 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


[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 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 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] parallel processing in make

2010-07-16 Thread Aurélien Vallée
Actually, I think he meant: j argument present but not set.
Such as make -j. And yes, that should automagically use all available
cores.

On Fri, Jul 16, 2010 at 2:49 PM, Carter, Nathan ncar...@bentley.edu wrote:


 On Jul 15, 2010, at 9:49 PM, Coda Highland wrote:

  I can't imagine why Creator couldn't guess at a default value anyway;
  just ask QThreadPool what the ideal number of threads is. :P

 Actually, if Creator can do it with QThreadPool, why can't qmake do it with
 QThreadPool?  Then my Makefile would always have the right -j argument for
 the machine it was created on.


 On Jul 16, 2010, at 6:29 AM, Danny Price wrote:

  I used to do that but the setting is lost when the pro.user file is
 regenerated. Is there a way to set this in the .pro file?

 Yes, but even better, let's have it as the default behavior for qmake to
 choose a -j N argument for make, but you can override it if you'd rather not
 use all cores or something like that.


  Doesn't make automatically use all available cores if the 'j' argument is
 not set? I'm sure I read that somewhere.

 No, here's what I just tried on my 4-core system with one
 small/medium-sized Qt project:

make clean ; time make
Time: 1m10s
Activity monitor showed:
Two cores nearly unused the whole time
Other two partially used the whole time (up+down)

make clean ; time make -j 2
Time: 42s
Activity monitor showed:
Two cores only slightly (30%?) used the whole time
Other two maxed out the whole time

make clean ; time make -j 4
Time: 34s
Activity monitor showed:
All four cores maxed out the whole time

 So make does not guess correctly from the point of view of please finish
 as fast as possible.

 Nathan


 ___
 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] documentation for qt-creator plugin development

2010-07-15 Thread Aurélien Vallée
Hello Duan,

You can find a bit of information in the doc directory of qt-creator, you'll
have to build it tho.
There is also a nice introduction from VCreateLogic available at
http://www.vcreatelogic.com/downloads/files/Writing-Qt-Creator-Plugins.pdf.

Good luck,
Aurélien

On Thu, Jul 15, 2010 at 6:38 AM, duan wenhui duanwen...@gmail.com wrote:


 Hi all,

 I am a newbie for qt-creator.
 I need to create a qt-creator plug-in in my project. But, I find few
 stuff/documentation about qt-creator plugin development.
 where can I get the documentation for qt-creator plugin development.

 thanks

 dwh



 ___
 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


[Qt-creator] Build issues under OSX10.5

2010-07-05 Thread Aurélien Vallée
Hello everyone,

I am having issues while trying to build qt-creator on OSX10.5:

- The default xcode spec does generate empty xcode projects.
- The macx-g++ spec does generate a not-fully-linked bundle (core fails to
link correctly)
- Out of source build is not working due to some hardcoded relative links

Anyone encountered such kind of issues?

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