Re: [Qt-creator] Sub-project support in 2.1 RC1

2010-12-01 Thread eike.ziller

On Nov 30, 2010, at 10:29 PM, ext Robert Caldecott wrote:

> I am keen to try the new sub-project support but the new ‘Add to project’ 
> drop-down on the last page of the New Project wizard is always greyed out. 
> What am I missing here? For example, I created a GUI project and then tried 
> to create a static library project but I can’t select the GUI project from 
> this new drop-down.  I thought there was support coming for handling .pro 
> dependencies, etc. with this release?

You have to create your subdirs project that will combine the two first.
I.e. you already have your GUI app, now create a subdirs project and on the 
second wizard after "Done & Add Subproject" you create your new library project.
You have to add your gui project to the new subdirs project by hand for now.
It's work in progress :)

-- 
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] [Announce] Qt Creator 2.1.0 rc1 released

2010-11-30 Thread eike.ziller

On Nov 30, 2010, at 10:28 AM, ext eike.zil...@nokia.com wrote:

> 
> On Nov 29, 2010, at 3:59 PM, ext Stephen Chu wrote:
> 
>> Glad to see it coming along. Having been using the snapshots, I like the 
>> new 2.1 a lot.
>> 
>> I just noticed the snapshots now all have version 0 on the FTP? Also, 
>> Mac build has been missing for some days.
> 
> Thanks for the note. The snapshots have been switched to master and obviously 
> some changes there made our build system hick up. I'll have a look.

Fixed. Mac builds are up; the other platforms update next night.

Br, Eike

>> On 11/25/10 8:42 AM, eike.zil...@nokia.com wrote:
>>> We just pressed all the buttons for the Qt Creator 2.1.0 rc1 release,
>>> and it is available for download.
>>> 
>>> Please find the blog post here:
>>> http://labs.qt.nokia.com/2010/11/25/qt-creator-2-1-rc-released/
>>> 
>>> or proceed directly to the prerelease downloads page:
>>> http://qt.nokia.com/developer/qt-qtcreator-prerelease/
>>> 
>>> The Qt Creator Team
>>> 
>> 
>> 
>> -- 
>> Stephen Chu
>> 
>> 
>> ___
>> Qt-creator mailing list
>> Qt-creator@trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> -- 
> 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

-- 
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] [Announce] Qt Creator 2.1.0 rc1 released

2010-11-30 Thread eike.ziller

On Nov 29, 2010, at 3:59 PM, ext Stephen Chu wrote:

> Glad to see it coming along. Having been using the snapshots, I like the 
> new 2.1 a lot.
> 
> I just noticed the snapshots now all have version 0 on the FTP? Also, 
> Mac build has been missing for some days.

Thanks for the note. The snapshots have been switched to master and obviously 
some changes there made our build system hick up. I'll have a look.

++ Eike

> On 11/25/10 8:42 AM, eike.zil...@nokia.com wrote:
>> We just pressed all the buttons for the Qt Creator 2.1.0 rc1 release,
>> and it is available for download.
>> 
>> Please find the blog post here:
>> http://labs.qt.nokia.com/2010/11/25/qt-creator-2-1-rc-released/
>> 
>> or proceed directly to the prerelease downloads page:
>> http://qt.nokia.com/developer/qt-qtcreator-prerelease/
>> 
>> The Qt Creator Team
>> 
> 
> 
> -- 
> Stephen Chu
> 
> 
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

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


[Qt-creator] [Announce] Qt Creator 2.1.0 rc1 released

2010-11-25 Thread eike.ziller
We just pressed all the buttons for the Qt Creator 2.1.0 rc1 release,
and it is available for download.

Please find the blog post here:
http://labs.qt.nokia.com/2010/11/25/qt-creator-2-1-rc-released/

or proceed directly to the prerelease downloads page:
http://qt.nokia.com/developer/qt-qtcreator-prerelease/

The Qt Creator Team

-- 
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] Qt-Creator plugins to support Python, PySide

2010-11-25 Thread eike.ziller

On Nov 25, 2010, at 1:25 PM, ext Sebastian Pawlus wrote:

> Hi,
> 
> Hi I have question about supporting python with PySide or PyQt by Qt-Creator. 
> Are there any plans to put this kind of things to Qt-Creator any soon? This 
> questions has background in mobile device development especially, but 
> probably not only mobile platform developers will be satisfied by that 
> feature.  
> 
> Are made decisions in that matter, any branch or plugin code? 

There is some highlighting for python (I think via the generic highlighting 
based on kate highlighting files), and some python debugging in Qt Creator.
More is not on our list of things we'll do in the nearer future.

> And second question related to previous, are somewhere tutorials to creating 
> qt-creator plugins? :)


Run "qmake && make" in /doc/api to generate some sparse API 
doc, and you can have a look at the stuff in /doc/pluginhowto 
which is work-in-very-slow-progress.

-- 
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] How to chekout qt creator branch 2.0.1???

2010-11-23 Thread eike.ziller

On Nov 23, 2010, at 10:26 AM, ext bobas wrote:

> Thank you for your reply!
> 
> I assume that at first I need clone Qt Creator repository. Right?
> Is bellow commands sequence correct?
> 
> git clone git://gitorious.org/qt-creator/qt-creator.git qt-creator
> cd qt-creator
> git checkout -b 2.0 origin/2.0.1

Looks fine to me.
Or you download the sources by clicking on "Download 2.0.1 as tar.gz" here 
http://qt.gitorious.org/qt-creator/qt-creator/commits/2.0.1
or you download the source package of the release from the Qt download pages 
http://qt.nokia.com/downloads

-- 
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] replace this occurance and stop (like emacs .)

2010-11-22 Thread eike.ziller

On Nov 20, 2010, at 1:00 PM, ext Jeffrey Newman wrote:

> Is there a way to replace the occurrence of string as the last replace?
> Like the . in emacs.  As things stand now, after I change the last
> occurrence of string, the editor wraps and find myself far way from I
> want to be.

In 2.1 beta and later the answer is yes.

-- 
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] Unable to build on Solaris

2010-11-16 Thread eike.ziller

On Nov 16, 2010, at 2:49 PM, ext Oswald Buddenhagen wrote:

> hi,
> 
> On Tue, Nov 16, 2010 at 02:34:12PM +0100, ext Murphy, Sean M. wrote:
>> ".moc/release-shared/../../../../../../qt-creator-2.1.0-beta1-src/src/libs/qtconcurrent/runextensions.h",
>>  line 354: Error: Templates can only declare classes or functions.
>> 
>> 
>> 
>> I'm using Qt 4.7.1, Solaris Studio 12.  I've tried building both QtCreator 
>> 2.0.1, and 2.1.0 beta1, with the same results.
>> 
> solaris is not a nokia-supported platform for creator. please post a
> patch (or make a merge request on gitorious) if you come up with a
> solution.


At the very least you need to use a compiler that is supported by Qt 
Concurrent, Qt Webkit, and CLucene:
http://doc.qt.nokia.com/4.7/compiler-notes.html

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


Re: [Qt-creator] replace once

2010-11-11 Thread eike.ziller

On Nov 10, 2010, at 2:16 PM, ext Jeffrey Newman wrote:

> I have a question.
> How do I do a replace once, and don't find the next.
> 
> When I use the find and replace, and I want to change the last
> occurrence of a symbol, and I do not go any further (like the . in
> emacs) how is this done.

In Qt Creator 2.1 that's the "replace" button next to "replace & find" and 
"replace all" (or assign your favorite shortcut to it). :)

++ Eike


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


Re: [Qt-creator] mac osx snow leopard custom debug hotkeys

2010-11-09 Thread eike.ziller

On Nov 9, 2010, at 7:38 AM, ext Paulo Silva wrote:

> Hi,
> I was trying to change the hotkey for start "Debug" command.
> By default on mac we get command+Y. If I change this to for example F5, it 
> works the first time I launch it, but when I try to launch it again the 
> hotkey changes automatically to the default value.
> This only seems to happen with this particular command, as I was able to 
> remap the "steps *" to the linux default mapping. And these seem to stay.
> I'm using the daily build from 20/10/2010.

Can you please create a bugreport on bugreports.qt.nokia.com for this?

Thanks, Eike


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


Re: [Qt-creator] Project <-insert cool name here->

2010-11-04 Thread eike.ziller

On Nov 4, 2010, at 9:40 AM, ext Nicolas Arnaud-Cormos wrote:

> Hi,
> 
> I would like to propose a community effort to enhance the API of Qt Creator.
> I can see several areas where the community can help Nokia developers.
> 
> Coding style
> 
> I was a little frustrated with my first big merge request, when I had to make 
> all those little changes to follow the coding style, whereas the existing 
> code 
> is not following it:
> * use of m_ for class members
> * use of d-pointer for exported classes
> * use class instead of struct
> 
> I can also see some inconsistency, I'm sure I can find 5 different way to 
> create 
> a d-pointer (private class inside the class, private class outside, append 
> Private to the class name, just Private, struct, class...).
> 
> Documentation
> ==
> The documentation of exported is sometimes missing, or incomplete.
> I'm talking about the code documentation, for plugin developers, not the 
> documentation of Qt Creator.

I'll be very glad to review and accept merge requests for API documentation.
BTW, you can generate the little stuff that is there by
cd /doc/api
qmake -r && make

> API
> ==
> The API is sometime strange, I have two examples in mind I came across 
> recently:
> * it looks like exporting the plugin class is a bad idea, but the 
> ProjectExplorerPlugin is exported whereas other plugins are using 
> handler/manager/whatever

Yes, historically. Should be renamed to ProjectExplorer, and a separate 
ProjectExplorerPlugin class created.

> * the openEditorAt method is a static method in BaseTextEditor, whereas the 
> EditorManager has openEditor and openEditorWithContents

The EditorManager should in the best case not know about the concept of "text 
editors" at all, so couldn't even know what openEditorAt should mean ;). But 
yes, there crept some api for it into IEditor over the years.

> Maybe there are good reason for those choices, it just feels strange.
> 
> There are also some lack for the plugin developers. I know that the policy is 
> to not export anything until it's used, but some method seems so useful that 
> they should be exported, so the developer can use them directly (changing the 
> Qt Creator code can be discouraging). Some example:
> * there's no method to get the different panes
> * I'm biased here but I think switchHeaderSource can be really really useful 
> (see my MR #188)
> 
> 
> The goal of the project is to:
> * collect all these (I'm thinking of a wiki page on Qt DevNet)
> * discuss what should be done with the Nokia developers
> * propose some MR to enhance the code
> 
> I totally understand that Nokia developers don't have time to polish the API,

Well, as a plugin developer you'll probably find that we actually polish the 
API, breaking compatibility again and again ;). But the polish and changes are 
often related to what we do in features here, true.

> and need more features (Meego target, QML integration...), but it can't 
> succeed without your help.
> What do you think?


Suggestions for API changes are welcome to be discussed of course. (And after 
agreement also be accepted for merge, has happened before ;) .)
I think QtDevNet Wiki is the right place for collecting that stuff, but I'd 
suppose that the discussion itself has to be done through other mediums (looks 
like the QtDevNet Wiki doesn't have any commenting/discussion functionality 
like MediaWiki).

++ Eike

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


Re: [Qt-creator] Way to make some custome operations before file save in subclasses of TextEditor::BaseTextEditor

2010-11-04 Thread eike.ziller

On Nov 3, 2010, at 10:41 PM, ext Denis Kormalev wrote:

> Hello all,
> I'm developing plugin to show xml as tree (you can look at it here: 
> http://gitorious.org/qt-creator-xml-tree-plugin). For now I've stopped at 
> design where I have two tabs: one for tree and another for xml source. I'm 
> showing xml source in PlainTextEditor subclass and so I use BaseTextEditable 
> subclass too instead of custom Core::IEditor subclassing. I need to perform 
> some work before saving. For example, I need to update PlainTextEditor 
> contents before saving if I'm in tree tab (I'm updating contents of tabs only 
> at tab switching for better performance), but I can't find way to put my code 
> after ctrl-s was clicked and before data was pushed to file. 
> I think that someone who will need to write some editor based on 
> PlainTextEditor will want such functionality too. For example if he wants to 
> add some data to file or maybe clean it from unneeded spaces or somewhat else.
> What are you thinking about adding virtual method named like beforeSave() to 
> BaseTextEditor?

Subclass BaseTextDocument and reimplement the "save" method (do your stuff, 
then call BaseTextDocument::save).
Set an instance of your BaseTextDocument subclass as the text document via 
BaseTextEditor::setBaseTextDocument. Have a look how that is used in other 
BaseTextEditor subclasses in Qt Creator.

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


Re: [Qt-creator] Qt Creator master on Mac 10.4

2010-11-03 Thread eike.ziller

On Nov 3, 2010, at 1:38 PM, ext Danny Price wrote:

> Thanks for the heads-up.
> 
> Out of interest, how can you use rpath with qmake, in the pro. file? I still 
> use excutable_path, run as a post-link command on my dylibs.

We do it in Qt Creator like here for the utility libraries:
http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/rpath.pri

I.e. set the install_name for the lib (let's call it "A") that will be linked 
against. This way code that link against A refer to it this way. Unfortunately, 
with @executable_path, this approach is of no use if you link to A from two 
different locations that would require different "install_name"s for A.
With the use of @rpath, the search path can be specified for the different 
locations individually (and still be relative by using an @rpath that contains 
e.g. @loader_path). For code linking to Qt Creator libs or plugins we require 
an @rpath pointing to the Contents directory of the Qt Creator.app (like done 
in line 6 of rpath.pri).

(Note, when using QMAKE_LFLAGS_SONAME, qmake will append the name of the 
library to the actual line passed to the linker.)

Br, Eike

> On Mon, Nov 1, 2010 at 2:21 PM,  wrote:
> I'm wondering if anyone actually compiles Qt Creator on Mac OS 10.4 by 
> themselves (we don't provide binary packages for that platform anymore).
> 
> If you do so, read on.
> 
> A recent change (49b86e771761b3a9a1799d11f777b13077c6305e) requires you to 
> specify that you want to build Qt Creator 10.4-compatible by either
> a) setting the env var QTC_TIGER_COMPAT=1, or
> b) calling qmake -r TIGER_COMPAT_MODE=1
> 
> Technical reason is a switch to use @rpath instead of @executable_path, 
> because the latter is an inflexible beast (and @loader_path too) and makes 
> using the Qt Creator libs directly in e.g. tests next to impossible.
> 
> Please notify me of any problems you encounter.
> 
> ++ Eike
> ___
> 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] Replace with special character

2010-11-03 Thread eike.ziller

On Nov 2, 2010, at 11:42 PM, ext Andre Poenitz wrote:

> On Thu, Oct 14, 2010 at 02:56:57PM +0800, Li Lirong wrote:
>> Hi,
>> 
>> I have two question regarding Find/Replace in Qt Creator.  How do I
>> key in special characters line newline in the "Replace with:" edit
>> box?  Also, in vi, we can use "\u" to make the following character
>> upper case.  How can we do this with Qt Creator?
> 
> It's not implemented (yet).

The first one is now (commit c7a1068f212d8e46a438113438fd0aa0d93fee15 in 
master), when using regular expressions (just type \n).

++ Eike

> You could file a bug report on bugreport.qt.nokia.ciom if you wish.
> 
> Andre'
> ___
> 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


[Qt-creator] Qt Creator master on Mac 10.4

2010-11-01 Thread eike.ziller
I'm wondering if anyone actually compiles Qt Creator on Mac OS 10.4 by 
themselves (we don't provide binary packages for that platform anymore).

If you do so, read on.

A recent change (49b86e771761b3a9a1799d11f777b13077c6305e) requires you to 
specify that you want to build Qt Creator 10.4-compatible by either
a) setting the env var QTC_TIGER_COMPAT=1, or
b) calling qmake -r TIGER_COMPAT_MODE=1

Technical reason is a switch to use @rpath instead of @executable_path, because 
the latter is an inflexible beast (and @loader_path too) and makes using the Qt 
Creator libs directly in e.g. tests next to impossible.

Please notify me of any problems you encounter.

++ Eike
___
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] parallel processing in make

2010-07-19 Thread eike.ziller

On Jul 16, 2010, at 8:01 PM, ext alan.westbr...@nokia.com wrote:

> Well then that would definitely be a problem for me, I start everything from 
> spotlight!
> 
> No, seriously, CMD+Space  Enter -> BAM!
> 
> =)
> 
> Alan
> 
> On Jul 15, 2010, at 11:12 PM, ext Kai Koehne wrote:
> 
>> On 7/16/2010 3:09 AM, ext Carter, Nathan wrote:
>>> 
>>> Is there a way to tell Creator to use "make -j N" for some N in all 
>>> projects?  I know that I can change it on a per-project basis, but since 
>>> it's a value that's pretty much just contingent on how many cores my 
>>> machine has, I'd like to just say "please use all cores all the time."
>>> 
>>> I couldn't find this in the options.  Did I miss it or should I file a 
>>> request for it?
>>> 
>>> (Or I could set MAKEFLAGS="-j 4" in my environment, but I guess I'm not 
>>> sure where Qt Creator gets its environment from in OS X, when launched from 
>>> Finder rather than the command line...maybe from my bash .profile??  I have 
>>> no idea.)
>> 
>> Google is your friend :) Setting them in ~/.MacOSX/environment.plist 
>> worked for me in the past (although I just learned that it might fail if 
>> you start QtCreator from Spotlight).

It seems that it doesn't work on 10.5, but it works on 10.6 again (for me it 
does).
Note though, that you have to log out and log in again after changing 
environment.plist, because that actually sets the environment for the launchd 
process that is the mother of all your processes when logged in.

++ Eike

>> I think this is really something you want to set system-wide / per user, 
>> and not somewhere inside QtCreator.
>> 
>> 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
> 
> 
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

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

2010-07-16 Thread eike.ziller

On Jul 16, 2010, at 3:49 AM, ext 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 I can't imagine why make couldn't guess at a default value by checking 
the number of cores :P

(Our little project ibjom, a replacement for nmake on Windows, does exactly 
that.)

Br, Eike

> On Thu, Jul 15, 2010 at 8:09 PM, Carter, Nathan  wrote:
>> 
>> Is there a way to tell Creator to use "make -j N" for some N in all 
>> projects?  I know that I can change it on a per-project basis, but since 
>> it's a value that's pretty much just contingent on how many cores my machine 
>> has, I'd like to just say "please use all cores all the time."
>> 
>> I couldn't find this in the options.  Did I miss it or should I file a 
>> request for it?
>> 
>> (Or I could set MAKEFLAGS="-j 4" in my environment, but I guess I'm not sure 
>> where Qt Creator gets its environment from in OS X, when launched from 
>> Finder rather than the command line...maybe from my bash .profile??  I have 
>> no idea.)
>> 
>> Nathan
>> ___
>> 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

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

2010-07-15 Thread eike.ziller
Hej,

much of the mentioned vcreatelogic document have recently been merged into Qt 
Creator's master branch.

With the advantage that the API misuses in the original document have been 
corrected in the merged version. But also the merged version is neither 
finished, nor is it updated to Qt Creator 2.0 or master.
You find it in qt-creator/doc/pluginhowto, generate it with "qdoc3 
qtcreator-pluginhowto.qdocconf" (qdoc3 is part of the Qt installation). The 
result is put into a subdirectory html/.

Also, there is a little bit of documentation of the very basic classes in Qt 
Creator (e.g. the plugin manager, some core interfaces), which you can either 
read in the sources, or generate with qdoc3 from 
qt-creator/doc/api/qtcreator-api.qdocconf

Good luck, Eike

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Aurélien Vallée [vallee.aurel...@gmail.com]
Sent: Thursday, July 15, 2010 09:37
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] documentation for qt-creator plugin development

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


Re: [Qt-creator] Plugin to display compile errors warnings etc. inline

2010-07-09 Thread eike.ziller

On Jul 9, 2010, at 9:04 AM, ext Liebe Markus (RtP2/TEF72) wrote:

> Hi,
> 
>>> Is it possible for you to extend that a bit?
> 
> I was hoping to be able to somehow add an Icon to the FIXME, TODOS.
> 
>> So far there is only a string used. What do you want in
>> addition to that?
> 
> I am fine with that.
> 
>> 
>> Icons are only used for the task types (Warning, Error and Unknown).
>> These types can not get extended at this time (and actually I do not
>> consider that a good idea to extend them;-), so we have not seen any
>> need to add icons at this time.
> 
> I see. So there are multiple Categories like "QML,Compile,Build System".
> Those categories all belong to the "Build Issues".
> 
> At the moment I created another category "todo" for the FIXME/TODOS/HACK etc.
> All comments are added into the "Build Issues" pane as well, just like the 
> compiler
> warnings and errors and it would make it easier for the eye to have a 
> "todo"-Icon
> for each entry.
> 
> I am not quite sure right now if the "Build Issues" really is the correct 
> place for it.
> In terms of functionality it is: I can navigate the todos like the 
> warnings/errors
> which makes it consistent (and easy to implement ;) )
> But on the other hand TODOS and FIXME entries are not really "BuildIssues"...

We've got a similar problem to solve when talking about auto test integration 
and test results.
What is definitely not a solution is to add dozens of additional output tabs 
for the different things :)
I could imagine that a good way would be to rename the build issues tab to 
something like only "Issues" and use it for the different kind of things that 
need attention: TODOs/FIXMEs, failing test results, build issues, etc.
The classes for that output pane have already been called TaskHub and 
TaskWindow, not "BuildIssueHub" etc, maybe that's a hint ;)

Br, Eike

>> PS: Just curious: How are you parsing for the FIXMEs/TODOs? Are you
>> hooking into the C++ parser framework?
> 
> No, I am using a quite simple minded approach. As I want to have all 
> additional code
> in the plugin I do not want to modify QtCreators code if it is not necessary.
> 
> I have three triggers that I use to start the parsing:
> 
> 1.) Whenever a new editor is opened I read its contents and parse each line 
> for comments
>starting with a given keyword like "TODO","FIXME","HACK" etc. to build up 
> an internal
>list of the items and I add them to the taskwindow via the taskhub.
> 
> 2.) Whenever the current file is changed (saved etc.) I do the same.
> 
> 3.) Whenever the current text is changed I look on the current line where the 
> TextCursor is
>and just parse that line. If it contains one of the searched comments I 
> check if there
>already is a "Task" for that line. If so, then I just modify that task. If 
> not I add a
>new one.
>If the line does not contain a comment but I already have a task for it, I 
> remove that
>Task.
> 
> At the moment I looks like the attached screenshot.
> 
> Regards,
> Markus
> 
> 

-- 
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] new C++ indenter: request for feedback

2010-07-09 Thread eike.ziller

On Jul 8, 2010, at 11:34 PM, ext Bryce Schober wrote:

> It'd be nice if at least Nokia would release Qt 4.7 binary pre-releases for 
> Linux, like the other platforms. That would make the process of getting to 
> building Qt Creator a lot shorter.

Hm, looks like we never release Qt-only binary packages for Linux.
For the Qt 4.7 release candidate we'll distribute a RC of the updated Qt SDK as 
well, which will give you a binary Qt 4.7 for Linux again.

++ Eike

> On Thu, Jul 8, 2010 at 11:14 AM,  wrote:
> Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:
> >
> > Too bad we don't get master binary snapshots. Maybe I should repeat this 
> > mantra indefinitely. ;-)
> 
> I think we got the point now :) We have some dedicated machines here for the 
> nightly builds. They are however building from the 2.0 branch, because that's 
> were the next release will come from (see e-mail from Eike a while ago). And 
> we AFAIK don't have the resources to build two in configurations in parallel.
> 
> Anyhow, out of curiosity: Why do you push so much for nightly builds, in 
> contrast to compiling yourself? It's true that you might have to compile Qt 
> yourself then once, but then updating / recompiling creator afterwards isn't 
> really a big hassle.
> 
> Kai

-- 
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] Qt Mobile Application

2010-07-06 Thread eike.ziller
On Jul 6, 2010, at 1:24 PM, ext dhk wrote:

> Is there a good reference on making a simple Qt mobile application?  It
> should be very basic.  In addition, documentation on how to upload an
> application to the device is needed.


Try the Nokia Qt SDK:
(Contains Qt Creator, Qt for Symbian and Maemo, the Qt Simulator, and some Doc 
to get started)



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 under OSX10.5

2010-07-06 Thread eike.ziller

On Jul 6, 2010, at 10:36 AM, ext Aurélien Vallée wrote:

> I already tried all these steps.
> Using Qt creator does not change anything, it just basically call qmake/make 
> or qmake/xcodebuild.
> 
> Here is what I'm doing:
> 
> ### Using g++
> git clone QTCREATORGITURL
> cd qt-creator
> mkdir build; cd build
> qmake ..\qt-creator.pro -recursive -spec macx-g++
> # Here I got tons of errors that qmake can't find 
> "../../../whatever_project_debug"
> make
> # make successfull but bundle won't execute.Qt error, core is not a valid Qt 
> plugin
> 
> ### Using g++
> git clone QTCREATORGITURL
> cd qt-creator
> mkdir build; cd build
> qmake ..\qt-creator.pro -recursive -spec macx-xcode
> # Here I got tons of errors that qmake can't find 
> "../../../whatever_project_debug"
> xcodebuild
> # error, project qt-creator has no targets

Hej,
I've no idea about the xcode part, it might very well be that what we do in the 
Qt Creator pro files doesn't easily translate into xcode projects.

Regarding macx-g++
Don't use a build directory that is a sub directory of your sources. QMake 
fails to handle that correctly. Put the build directory parallel to the source 
directory instead.

qt-creator-2.0-src/
qt-creator-2.0-build/

and 
cd qt-creator-2.0-build
qmake ../qt-creator-2.0-src -r -spec macx-g++

Best regards, Eike

> On Tue, Jul 6, 2010 at 10:22 AM,  wrote:
> 
> On Jul 5, 2010, at 11:41 PM, ext Victor Sardina wrote:
> 
> > Aurélien:
> >
> > I haven't tried building qt-creator via xcode, but you don't really need
> > to use xcode to do so. You can simply create a build directory parallel
> > to the qt-creator source directory. Let's say you have the source under
> > "qt/qt-creator". Then cd up to qt and issue a "mkdir qtcreatorbuil"
> > command to create a new build directory. Then cd in their with "cd
> > qtcreatorbuild and issue a "qmake ../qt-creator/qtcreator.pro" command.
> >
> > Then follow that with the usual "make" command. You can probably issue
> > "make -j3" if you have a dual core Mac, which usually speeds up the
> > building process quite a bit. At the end of the build the "bin"
> > directory should contain the "Qt Creator.app" application bundle that
> > you can copy wherever you intend to. This approach also leaves the
> > source tree clean. It also provides a much smaller bundle, as it uses
> > your Qt installation libraries. To do this you need Qt-4.7.0 installed.
> > Otherwise the build will fail.
> 
> Or:
> 1) Download a binary version of Qt Creator
> 2) Start Qt Creator and point it to your Qt 4.7 build
> 3) Open qtcreator.pro in Qt Creator and let it use Qt 4.7
> 3) Press build and run
> 
> :-)
> 
> Br,
> Eike
> 
> >
> > On 7/5/10 7:29 AM, Aurélien Vallée wrote:
> >> 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?
> >>
> >>
> >>
> >>
> >> ___
> >> Qt-creator mailing list
> >> Qt-creator@trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> > 
> 
> --
> 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
> 

-- 
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 under OSX10.5

2010-07-06 Thread eike.ziller

On Jul 5, 2010, at 11:41 PM, ext Victor Sardina wrote:

> Aurélien:
> 
> I haven't tried building qt-creator via xcode, but you don't really need
> to use xcode to do so. You can simply create a build directory parallel
> to the qt-creator source directory. Let's say you have the source under
> "qt/qt-creator". Then cd up to qt and issue a "mkdir qtcreatorbuil"
> command to create a new build directory. Then cd in their with "cd
> qtcreatorbuild and issue a "qmake ../qt-creator/qtcreator.pro" command.
> 
> Then follow that with the usual "make" command. You can probably issue
> "make -j3" if you have a dual core Mac, which usually speeds up the
> building process quite a bit. At the end of the build the "bin"
> directory should contain the "Qt Creator.app" application bundle that
> you can copy wherever you intend to. This approach also leaves the
> source tree clean. It also provides a much smaller bundle, as it uses
> your Qt installation libraries. To do this you need Qt-4.7.0 installed.
> Otherwise the build will fail.

Or:
1) Download a binary version of Qt Creator
2) Start Qt Creator and point it to your Qt 4.7 build
3) Open qtcreator.pro in Qt Creator and let it use Qt 4.7
3) Press build and run

:-)

Br,
Eike

> 
> On 7/5/10 7:29 AM, Aurélien Vallée wrote:
>> 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?
>> 
>> 
>> 
>> 
>> ___
>> Qt-creator mailing list
>> Qt-creator@trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> 

-- 
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] Developing extension on Qt State Machine Framework

2010-07-02 Thread eike.ziller

On Jul 2, 2010, at 10:39 AM, ext Antonio Cano Gómez wrote:

> Hi, 
> 
> I am trying to develop extensions to the Qt State Machine Framework. Mainly 
> on its conexions with formal logic and model checking. 
> 
> Please could someone if I could do it somewhere closer to Qt community and 
> how to contact people with the same interest? 

Join qt-inter...@trolltech.com, our Qt irc channel at 
irc://irc.freenode.org/#qt-labs, and have a look at 
http://qt.gitorious.org/qt/pages/QtContributionGuidelines

Best regards,
-- 
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] Menu bar grayed out when accesing it with shortcuts

2010-06-29 Thread eike.ziller

On Jun 29, 2010, at 8:24 AM, ext Tomás Ortí wrote:

> Hi.
> When I try to access the menu bar with shortcuts (Alt+MenuLetter), the menus 
> get grayed out.
> Let me give an example:
> 
> - Use Alt+E to access Edit menu.
> - Use arrow keys to move in the menu an (or A to go to Advanced menu)
> - The menus get grayed out and are not accesible.
> 
> If you do the same using the mouse, there is no problem.

If you are on Windows, this bug is fixed for the next release: QTCREATORBUG-865


-- 
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] Transformin Qt Creator in a compact Programming Text Editor

2010-06-28 Thread eike.ziller

On Jun 28, 2010, at 6:08 AM, ext Jefferson Bandeira wrote:

> I Think I'll try and strip off QtCreator of the whole project management 
> things, and change it in a compact editor, it'll be kinda hard however, well, 
> I'll keep you noticed if I manage to pull out something =)
> 
> Thanks for the answer guys, and, if anyone else would be interested in 
> something like this, warn me. 

The strongest reason for Qt Creator even having the project management things, 
is that they are needed for the great features you are talking about.

You can't just open a single file in Qt Creator and suppose that it has working 
code completion, semantic highlighting and refactoring features. It needs to 
know about all include paths, defines, the compiler used, etc, etc.

++ Eike

> 2010/6/26 Coda Highland 
> > I Know i could "always" carry a full install of Creator on my pen-drive, but
> > that usually don't work, 'cause the PC needs to have Qt installed :/
> 
> That's not true at all. The binary builds of Creator work with a local
> set of libraries instead of the system libraries (and in fact Creator
> can't be built against the current public release of Qt!).
> 
> If you install it on the pen drive, it'll work as long as the pen
> drive has the same drive letter, and you can use the DOS "subst"
> command to map a virtual drive letter. So for example, if on your home
> computer the pen drive appears as E:, try issuing the command "subst
> e: q:" and then install Qt on the new Q: drive. Then when you put the
> pen drive on another computer and want to use it, use subst to map the
> drive letter on THAT computer to Q: and Creator will work.
> 
> /s/ Adam
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> 
> 
> -- 
> Jefferson Bandeira
> 
> 

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


[Qt-creator] [Announce] Qt Creator 2.0.0 Released

2010-06-23 Thread eike.ziller

We are pleased to announce that Qt Creator 2.0 is released and available for 
download.  Commercially licensed versions are available for download from 
customer download areas, and LGPL versions are available from 
http://qt.nokia.com/downloads.

Qt Creator 2.0 brings a range of new features specifically designed to make 
mobile development for Symbian, MeeGo and other platforms faster and easier.

For a complete list of changes in Qt Creator 2.0.0, see the changes file at 
http://qt.nokia.com/developer/changes/changes-qtcreator-2.0.


Qt Creator 2.0 part of Nokia Qt SDK 1.0
---
Released today, the Nokia Qt SDK provides developers with a single package 
containing all tools they need - including Qt Creator and the Qt framework - to 
code, simulate, debug and build cross-platform applications for Symbian, Maemo, 
and in the future, MeeGo devices. For more information, and to download, visit 
http://www.forum.nokia.com/Develop/Qt/Tools/.

Download Qt Creator 2.0
---
Qt Creator 2.0 is available as part of the Nokia Qt SDK 1.0, as part of an 
updated build of the Qt SDK (Build 2010.04), or as a standalone binary or 
source download. All Qt releases are available for download from 
http://qt.nokia.com/downloads.

Qt Quick Features Coming Soon in Qt Creator 2.1 Snapshots
-
As communicated earlier this month, Qt Quick features have been removed from Qt 
Creator 2.0, and will be released with Qt Creator 2.1 together with Qt 4.7.  
Snapshots of Qt Creator 2.1 will be made available shortly at: 
http://qt.nokia.com/developer/qt-qtcreator-prerelease.

New Qt APIs for Mobile Development Updates
--
Also released today is an update to the New Qt APIs for mobile development - 
Mobility 1.0.1. The patch release provides new Symbian backends, finalizes the 
Qt Multimedia API and includes bug fixes.  For more information, visit the New 
Qt APIs for mobile development catalog at 
http://qt.nokia.com/products/appdev/add-on-products/catalog/4/new-qt-apis/mobility.
 

How to Report Bugs
--
Any problems encountered with Qt Creator 2.0 can be reported via the Qt Bug 
Tracker at http://bugreports.qt.nokia.com.  If you are a commercial customer 
and require support, please log in to the customer portal at 
https://qt.nokia.com/customerportal. 

We hope you enjoy Qt Creator 2.0!

--
The Qt Creator Team

-- 
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] Distributing project

2010-01-27 Thread eike.ziller
And here's a link from the Qt documentation:

http://doc.qt.nokia.com/4.6/deployment-windows.html

++ Eike

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Tiago Correia [ti...@cnotinfor.pt]
Sent: Tuesday, January 26, 2010 17:04
To: qt-creator
Subject: Re: [Qt-creator] Distributing project

Hi,

You can do this, if you use a static version of Qt, instead of using the shared 
version.

But you need to compile qt your self. Here is a link to help you.
http://www.formortals.com/build-qt-static-small-microsoft-intel-gcc-compiler/

On Tue, Jan 26, 2010 at 15:55, Aekold Helbrass 
mailto:helbr...@gmail.com>> wrote:
Hi All!

Is there any possibility to make "distribution" of project in Qt
Creator? Like putting all required libs into single folder or building
single binary with all dependencies bundled? I am afraid that there
are few different Qt installations, plus few mingw installations and
resulting application may not run properly because of this, and
installing virtual OS just to check if distribution will run is not
very comfortable...
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator



--
Tiago Correia
chief technology officer

www.cnotinfor.pt
Telefone: +351 239 499 231
follow us on twitter: cnotinfor

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


Re: [Qt-creator] QtCreator doesn't use the QMAKE_MAKEFILE variable from a .pro file

2009-09-10 Thread eike.ziller
/me scratches head, trying to follow the setup

So, if I get this right, you have a toplevel Makefile that does the whole build 
thing, and depending on the make target it does TheRightThing(tm) whether it is 
Qt or not.
I suppose that if your build system is not actually using anything like cmake 
or qmake (except somewhere in the background),
the best option is to use a "Generic Makefile based" project in Qt Creator (New 
file or project -> import of makefile-based project).
Which then will basically call "make" in the project directory with whatever 
target you specify in the build configuration for doing the build.

Best regards, Eike


From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Miles Gazic [miles.ga...@gmail.com]
Sent: Friday, September 11, 2009 00:27
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] QtCreator doesn't use the QMAKE_MAKEFILE variable 
from a .pro file

> Other users checking out your project also don't get the operation "cd
> to the 'obj' directory and run qmake && make from there"
> automatically, right?
They do, because I put those commands in a makefile.  I have a gnu-make-based 
build system to build applications for several platforms, Qt is only one of 
them.  Every directory with an app of any type has a file named Makefile that 
builds that app.  For Qt apps, the default target does "cd obj; qmake 
../$(PROJFILENAME); make".  I also have a makefile target named "debug" that I 
can have do a "cd obj; qtcreator ../$(PROJFILE) --workhere &".

I agree the above is rather silly, but how else can I have my make-based system 
(which works for the other 75% of my projects, whether they run on an 8051, an 
ARM, or on a PC without Qt) build my Qt apps?  Currently I can cd into any 
directory in the tree and type 'make', and it'll build anything that needs to 
be built.  This is also convenient for my daily build servers, which currently 
just issue one make command to build everything.  I don't want to have to 
change my top-level build to only build non-Qt apps, or to make people learn 
new rules for building Qt apps besides cd'ing to the source directory and 
typing 'make' (at which type the make rule will cd to the obj dir to build the 
Qt app, so that it doesn't overwrite the Makefile, or clutter the source tree 
with generated files).

> Cd-ing into a directory before running Qt Creator is something you'd
> need to do everytime before you want to build/debug from Qt Creator,
> the way you propose. I don't see what the advantage of that in
> comparison to setting the shadow build option in Qt Creator once, the
> first time you open that project.
As I described above, the cd-ing is done automatically when you type 'make' or 
'make debug'.  The shadow build option in Qt Creator would have to be done 
manually each time you launch creator without a .pro.user file in place.  So if 
you sync to revision control for the first time and try to debug an app, you'll 
forget to set the shardowBuild option, it'll overwrite the existing Makefile 
used by my own build system, a bunch of generated files will get dropped in the 
source tree, and the next time you do a top-level build in my build system 
it'll use the qmake-generated Makefile that overwrote the one from revision 
control.  Then if you notice that, you have to delete all the generated files, 
revert the Makefile changes, change the buildShadow setting in QtCreator, and 
build again.

> If you do *different* builds, like a release build in one directory,
> and a debug build in another, and want to switch between these, you
> should create two different build configurations in Qt Creator, with
> the two different build directories. Which you can switch via the
> "Build" menu and the context menu of you project in the project tree
> atm.
I'd love to do that, but the settings to accomplish it are stored in the 
.pro.user file, which I don't think should be checked in to revision control 
(should it?).  When I build from the command-line the two different build dirs 
can be easily accomplished by using qmake and make (on the resulting generated 
makefile), and everything needed to do it can be checked into revision control 
so that it works for all my coworkers when they sync and do a 'make'.  I don't 
think I'm using qmake in a way unintended by it's makers, but I am struggling 
for how to get QtCreator to follow the same pattern as qmake easily does.

My preferred solution would be a single option in .pro files called something 
like BUILD_DIR that I could set to ./obj.  I've tried to implement that in 
QtCreator, but unfortunately it doesn't look like an easy change.  The 
--workdir/--workhere option meets me needs, but I don't know if the patch for 
it would be accepted (even though it's only about 20 lines of code).

If anyone knows of a way I can use existing QtCreator options to do what I 
want, or how I should modify my make-based build

Re: [Qt-creator] compiling the git version (requiring qt 4.6)

2009-09-10 Thread eike.ziller
Hi,

it would be great if you could report that on the qt4-preview-feedback list 
(http://lists.trolltech.com/qt4-preview-feedback/).

Thanks, Eike

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Lorenzo Bettini [bett...@dsi.unifi.it]
Sent: Thursday, September 10, 2009 21:28
To: qt-creator@trolltech.com
Subject: [Qt-creator] compiling the git version (requiring qt 4.6)

Hi

In order to compile the git version of qt-creator, I was trying to
compile the qt 4.6 version (I tried with both the qt git version and the
preview version), but it looks I cannot build it in a separate
directory, is that right?

when running ../configure from the build directory I get

g++ -c -o qutfcodec.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators
-Igenerators/unix -Igenerators/win32 -Igenerators/mac
-Igenerators/symbian -I/home/bettini/install/qt/qt-4.6/build/include
-I/home/bettini/install/qt/qt-4.6/build/include/QtCore
-I/home/bettini/install/qt/qt-4.6/build/src/corelib/global
-I/home/bettini/install/qt/qt-4.6/build/src/corelib/xml -DQT_NO_PCRE
-DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/home/bettini/install/qt/qt-4.6/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP
-DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
/home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp
In file included from
/home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec_p.h:57,
  from
/home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp:42:
/home/bettini/install/qt/qt-4.6/build/include/QtCore/private/qtextcodec_p.h:1:60:
error: ../../../../../src/corelib/codecs/qtextcodec_p.h: No such file or
directory
In file included from
/home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp:42:
/home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec_p.h:70:
error: ‘QTextCodec::ConverterState’ has not been declared

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

___
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 with S60

2009-09-07 Thread eike.ziller
Hi,

> The only thing that confuses me is when I read 
> (http://qt.gitorious.org/qt-creator/pages/QtS60WithQtCreator) that you can 
> use Qt Creator to build for winscw too.

> How do you actually do that? That page suggests to check that the path I'm 
> using for my default Qt installation during the build is the correct path - 
> ok but this
> doesn't allow me to switch between gcce and winscw ..does it?

The winscw tool chain is the default tool chain that is used by the Makefiles 
that are generated by qmake for S60, i.e. it is what is built for if you just 
call 'qmake && make'.
To switch between different tool chains you need to change the target that is 
given the 'make' command in the build steps. E.g. 'debug-gcce' for using gcce.
If you want to switch regularly between these configurations, you should create 
additional build configurations, one for gcce and one for winscw.

Yes, you can just run the executable in winscw\udeb to run the app in the 
emulator (as described in the Wiki you already mentioned).

Br, Eike


From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Salvatore Rinaldo [salvato...@symbian.org]
Sent: Monday, September 07, 2009 18:27
To: qt-creator@trolltech.com
Subject: [Qt-creator] Qt Creator with S60

Hi guys,

I have built the latest snapshot of Qt Creator from the git repo to see whether 
you can actually make it work with the S60 emulator
and I can actually build for gcce using Qt Creator, which is cool ... obviously 
debugging won't work.

...
On the other hand, once you build for winscw from command line (by the way you 
need Carbide installed for winscw) and you have the executable in 
epoc32\release\winscw\udeb,
you can always set up the run environment (from Projects -> Run Settings -> Run 
Environment) to launch the S60 emulator.

Has anyone tried this successfully yet?

Thanks,
--
Salvatore

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


Re: [Qt-creator] Linked projects/workspace/'solutions'

2009-07-21 Thread eike.ziller
Hi,
Subdirs pro files can contain dependencies. Either by specifying a specific 
build order, using
CONFIG += ordered
or by explicitly stating dependencies. 
See http://doc.qtsoftware.com/4.5/qmake-variable-reference.html#subdirs and 
e.g. Qt Creator's plugin.pro here:
http://qt.gitorious.org/qt-creator/qt-creator/blobs/2b24033f143dc612e3df0f1077f47b8b9e101ed2/src/plugins/plugins.pro
Doing everything in your build system (qmake / pro files) has the additional 
advantage of being independent of the IDE :)

Unfortunately Qt Creator doesn't really help you yet to set this kind of things 
up...

++ Eike

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Robert Caldecott [robert.caldec...@gmail.com]
Sent: Tuesday, July 21, 2009 12:54
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] Linked projects/workspace/'solutions'

OK, I feel the need to post again about the lack of 'workspace'
support.  The current concept of user-specific 'sessions' makes it
very difficult for a team to work on the same project.  It would also
appear that some vital information about projects is stored in the
session file including dependencies and custom build steps.  This
means if other team members want to checkout a project they need to
add this information again by hand.  This, in my humble opinion, is a
mistake - it's counter-productive and I urge the Qt Creator team to
re-think this approach.

I have also experimented with the 'subdirs' TEMPLATE.  Now, this is
pretty good but has some problems.  For example, if you open one of
these templates, you get a nice project tree but you can't right-click
on an individual project and run/build it.  You have the build the
entire 'tree' so it would be good for when people want to simply
checkout and build a 'solution' but not if they want to work on the
components.  Plus dependencies and custom build steps would still be
an issue.

Am I alone in thinking that support for multiple-projects needs some
work or am I missing something here?  Nearly all of my projects
require at least three separate 'sub projects' - the main app, a
static lib containing core code and a unit tests app.  The current
session scheme is fine for individual projects but if this project is
to make in-roads in the commercial sector then I think some
improvements are required.

I posted this because I have wasted a lot of time this morning setting
up another member of my team to work on a project.  Don't get me wrong
- I think Qt Creator is a superb tool and I do my best to 'sell' it to
anyone who will listen, but the project management side of things is a
little lacking.  Ack, I hate posting criticism.  :(

Regards.

http://qtcreator.blogspot.com/

2009/7/8 Andre Poenitz :
> On Wed, Jul 08, 2009 at 08:47:43PM +0100, Robert Caldecott wrote:
>> Nearly all the projects I create using Qt Creator have a separate unit
>> test project - how can I link projects so that when I open the main
>> project, the unit test one is also opened?  The same question would
>> apply to projects that use library projects, etc.  I'm thinking of
>> something similar to the Visual Studio 'solution' idea.  It wouldn't
>> have to be anything too complicated.
>>
>> Is this possible?  If not, it is planned?  Can I hack my .pro files by
>> hand in the meantime?
>
> You can (and should...) use 'Sessions' to handle projects (and some
> other information) that logically belong together.
>
> A 'TEMPLATE = subdirs' .pro might be an option, too.
>
> Andre'
> ___
> 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

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