Re: [Qt-creator] Qt Creator QmlDesigner Fedora packaging issues problems

2010-11-30 Thread Kai Koehne
On 11/30/2010 7:34 AM, Becker Stefan (Nokia-MS/Salo) wrote:
 Hi,

 I'm trying Qt Creator on Fedora 14 and found that the QmlDesigner was
 missing in their qt-creator-2.1.0-4.rc1.fc14 package. We're discussing
 the problems in the following bug reports:

  https://bugzilla.redhat.com/show_bug.cgi?id=657498
  https://bugzilla.redhat.com/show_bug.cgi?id=657752



 qt-creator/QmlDesigner compilation requires a lot of internal Qt files,
 not only from include/, but also under src/. This makes it really
 difficult to package it separately. Is this issue known and will be
 addressed in future releases?

Hi,

Yes, it is known and we intend to fix it :) The solution we're aiming 
for is to install the private headers with Qt, like we do for normal 
headers. I hope we'll get this with Qt 4.8.

Meanwhile you have to compile creator against a self-compiled Qt (which 
must also be the the exact same Qt version it will run with), and 
specify the location of the private headers in the Qt source tree e.g. 
via `qmake -r QT_PRIVATE_HEADERS=$QTDIR/include`


Regards

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] QML debugger port error

2010-11-17 Thread Kai Koehne
On 11/17/2010 11:38 PM, Pasion Jerome (Nokia-MS-Qt/Oslo) wrote:
 Hello all,

 I don't know if this issue was resolved 
 (http://developer.qt.nokia.com/forums/viewthread/1365) but I'm receiving the 
 same port error. I searched through the archives and I couldn't find a 
 suitable answer.

Qml Debugging is still a bit complicated to set up. First, it requires 
that you are using Qt 4.7.1. Furthermore, for mixed, .pro file based 
C++/Qml apps it only works with code generated by the Qt Quick 
Application Wizard, and if you
   * Are compiling in debug mode
   * Have commented in the QMLJSDEBUGGER define in the .pro file + did 
a full recompile
   * Have checked the Qml language option under run settings

 There is a  checkmark besides debugging helpers.

That's only needed when you want to debug Qt Quick UI projects 
(.qmlproject).

 Also, the debugger is really slow to build and launch. Is it related to the 
 port error?

Could you elaborate on that? If you're still having issues some more 
details would be great (debugger log, application output ...).

Regards

Kai

 Thanks,
 Jerome P.

 ___
 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] Mac debugging helper rebuild error

2010-11-10 Thread Kai Koehne
On 11/10/2010 3:48 PM, ext Stephen Chu wrote:
 I am having errors when rebuilding debugging helper on the Mac with the
 latest 2.0.94 snapshots. It errors when building against the downloaded
 prebuilt 4.7.1 and git 4.7 branch.

 It looks like it's referring qdeclarativedebughelper_p.h header that
 is not in the prebuilt binary. But it still errors in git build (I have
 qt installs onto its own dir with -prefix .) with missing member in
 QDeclarativeDebugHelper class.

Hi,

I pushed a fix yesterday that removes the dependency on the private 
headers being installed (3d759f12c45). This should fix your original issue.

About the missing member in your git build: It got added at last minute 
to 4.7.1, and has just made it's way into 4.7. A git pull should fix this .

Regards

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 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] License Templates / [SOLVED] DPI=72 + 6pt / *.h- and *.cpp-templates

2010-09-23 Thread Kai Koehne
On 9/23/2010 9:26 AM, ext mailingli...@bluespirit.la wrote:
 Hello Adam,

 without the xorg.conf-autodetection (I had no xorg.conf at all) and the
 hand-written DisplaySize and DisplayMode, the fonts look fine now -
 thank a log. I tried something similar some months ago, but my xserver
 crashed - even with the auto-generated xorg.conf.

 The other question: Does someone of you know some documentation of the
 License Template feature of the qtcreator? I just tried qtcreator
 2.0.1 - but I'm still faced with the same problems...

Hi Charly,

in latest master there is documentation for this. Keywords listed there are

   %YEAR%, %DATE%, %USER%, %VARIABLE%, %FILENAME%, %CLASS%

FILENAME and CLASS seems to be available only in master / upcoming 2.1.

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] Any way to stop qt creator automatically hiding itself on application flip?

2010-08-23 Thread Kai Koehne
On 8/23/2010 8:11 AM, ext Brett Morgan wrote:

 Qt Creator has taken to hiding itself of late. Semi randomly when
 starting an application, and pretty much constantly when i want to flip
 to Grab to snapshot some broken part of the UI.

 Is there a way to stop it auto hiding? Tis hella annoying.

Sounds like a window manager issue. Which OS/Window Manager are you using?

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] cmake environment

2010-07-22 Thread Kai Koehne
On 07/23/2010 07:32 AM, ext celil wrote:
 I am using cmake to build my project, and in order for my project to
 build correctly, I need to define several environment variables in
 ~/.bash_profile.

 However, under QtCreator it seems that the environment variables are
 never set. How can I modify the environment variables under which cmake
 is run inside QtCreator?

Which OS, and how are you launching Qt Creator?

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


Re: [Qt-creator] parallel processing in make

2010-07-16 Thread Kai Koehne
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).

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


Re: [Qt-creator] Class View in navigation pane (merge request #2167)

2010-07-16 Thread Kai Koehne

On 7/5/2010 10:56 PM, ext Denis Mingulov wrote:

Hi,

The most popular feature request for Qt Creator is 'Class View in
navigation pane' (
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-28 ) now.

I created such plugin (with additional minor change in
src/libs/cplusplus/Icons.h / .cpp - added possibility to get an icon
id instead of QIcon - it is needed for work not in GUI thread and for
faster sorting) and I sent a merge request:
http://qt.gitorious.org/qt-creator/qt-creator/merge_requests/2167

Due to the summer (a lot of vacations) I do not think that the review
will start before the middle of August (or even later).


Actually you were faster ... the ClassView plugin just got merged into 
mainline, master branch! Thanks a lot Denis, this is really a great 
piece of code!


Kai

PS: I'm sure you can imagine how a class view looks like ... still, I'm 
attaching a screenshot to let the size of the e-mail reflect it's 
importance ;)


--
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
attachment: ClassView.PNG___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] PathView editing?

2010-04-09 Thread Kai Koehne
ext Louis Koziarz wrote:
 Are there any plans to implement Path (and PathQuad, PathCubic, etc) 
 element editing to Qt Creator soon?  Dropping a PathView into a project 
 is fine and all, but doesn't really mean anything if you can't add path 
 elements to it.

Hi,

being able to edit a Path is on the wish list for Qt Quick Designer, but 
honestly speaking we won't find time to look into it anytime soon. There 
is still heaps of higher prioritized stuff to do ...

Kai

PS: Feel free to make this a JIRA suggestion, this way you can track the 
status, and others can comment/vote for it too :)

 Thanks,
 Louis Koziarz
 


-- 
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] Creator stability

2010-03-26 Thread Kai Koehne
ext John Vilburn wrote:
 [...]
 Creator is working fine for general Qt development for me. My top 
 request is for Creator to include a way in Design mode to specify 
 actions and transitions for QML. I know that opens up a lot of 
 possibilities and a lot of work would be involved. But a good and very 
 useful start would be to allow the designer to specify a transition 
 between states and to specify that a mouse click or double click in a 
 certain mousearea will cause the transition from state A to state B.

Hi John,

Support for transitions is also high on our TODO list ... but we will 
not be able to work on it for 2.0, unfortunately. But I agree that it's 
something you really want to have.

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
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Using flickable in QTCreator Designer

2010-03-24 Thread Kai Koehne
ext Tobias Wahlstrom wrote:
 Hi,
 
 How do I get a stack trace from Quick Designer? I have been using the
 precompiled version of Quick Designer in my tests. Can I get a stack trace
 out of this version or do I have to build my own?
 
 I have some more feedback on Quick Designer. I understand that you havn't
 had the time to add all fancy features one could ever wish for yet - but I
 still would like to mention the things that I think is most important. We
 are hoping to be able to use this tool for both our design team and our
 UI-developer team letting the both teams take care of different aspects.
 To me it seems like that UI-developer team will be pleased with the nice
 text-editor with auto-completion and context help and everything.

That's the idea :)

 The part that needs most improvements if you ask me is the visual editor.
 At least our UI-designers do not like to edit magic code so much and I
 think that this applies to most UI-designers. The things below are
 comments as seen out of a UI-designer perspective...

 One thing I really like is that qml-files I create in the project folder
 that appear among the Items in the Library using the visual qml-editor. I
 would like to be able to arrange my qml-documents in folders. This folder
 structure should be used in the Library view to make it easier to handle
 many qml-documents. You may use the filter but I still think that
 organising the documents by some topic add a value and usability.

Not sure how this should look like. The Library is just a list with 
sections ... We could create different sections for different 
directories maybe? Or would it help you if subcomponents would be listed 
in the file system tree under resources too?

 I created a qml-document NumberBox.qml with a few custom string
 properties. Then I choose to use these properties as a text value and a
 color value for my NumberBox. I found out how this is done in the visual
 editor - very nice! Even though the properties was defined in the document
 the text disappeared in the editor area. If I run the project it appear
 as the should do but not in the editor and not in the state preview.

I can reproduce it, thanks for pointing it out!

 Then I added a few NumberBox:es using drag-n-drop to my main document and
 wanted to change the header text and the color for each box. But I could
 not find a way to set the property values for my NumberBoxes using the
 visual editor. It would be pretty neat if my custom properties appeared in
 the Advanced tab so that I can change the header and color for my
 NumberBoxes within the visual editor.

Yeah, that's a long standing wish, which we just have to come around to 
implement :(

 And finally it is a bit cumbersome that the library in the visual editor
 never update its list of Qml Components if I add a new one. If I edit a
 qml component (in my case the NumberBox) and go back to my main view I
 would like that all instances of the NumberBox should update - but they
 don't. I have to close the document in the text-editor and then open it
 again to force the library to reload.

I'll look into it :)

Thanks for the report!

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
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Including MinQW system headers

2010-03-11 Thread Kai Koehne
ext Bryce Schober wrote:
 FYI, my probably was actually my own time.h in one of my added include 
 paths. I see that the GCC documentation says that the -I option adds 
 include paths ahead of the system includes, but I always thought that 
 using the angle-bracket form of #include only search system include 
 paths, not user include paths. Apparently that's not true. Does anyone 
 have any clarification to offer?

Just that you're not the first one who is bitten by this :) Both (as you 
already pointed out) gcc and also MSVC search header files in include 
paths given on the command line. The difference is rather that #include 
.. does not search in the 'local' directories.

So you should
  - avoid using already existing file names for your header files
  - avoid excessive use of -I for a project with multiple folders.

http://gcc.gnu.org/onlinedocs/gcc-4.4.2//cpp/Include-Syntax.html#Include-Syntax
http://msdn.microsoft.com/de-de/library/36k2cdd4.aspx

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] QmlProjectPlugin got a dependency to QtDeclarative (master branch)

2010-02-02 Thread Kai Koehne
ext Brian McGillion wrote:
 Hi Kai,
 
 I have been having some trouble getting the QmlPlugin working from the
 master branch.  The steps I followed are:
 
 [...]

 In creator I choose to compile the latest git version of creator against
 this 4.6.2 version of qt.  Here is the error that I am receiving.
  
 ../../../../src/libs/qmljs/qmljsinterpreter.cpp:39:75: error:
 QtDeclarative/private/qmlgraphicsanchors_p.h: No such file or directory

Hi Brian,

The QmlDesignerPlugin right now depends on some private headers of 
QtDeclarative. Unfortunately these aren't copied by make install.

There are two ways to work around this: Either set up Qt to be used from 
the source directory, e.g. by passing -prefix=$PWD to configure (you 
don't do the extra make install then). Or run ./bin/syncqt -outdir 
/usr/local/Trolltech/Qt-4.6.2/ after make install, which will also 
copy the private headers into the installation directory.

We're right now looking into ways to fix this, or at least properly 
document it ;)

Regards

Kai

PS: CCing this to the mailing list so that others don't run into the 
same problems.

-- 
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] QmlProjectPlugin got a dependency to QtDeclarative (master branch)

2010-02-01 Thread Kai Koehne
Hi,

last Friday I changed the file format used in .qmlproject files to 
something Qml based in master. As a consequence the QmlProjectManager 
plugin now requires QtDeclarative (e.g. it has to be compiled with the 
kinetic-declarativeui branch).

Is this a problem for anyone? E.g. is somebody using Creator to work on 
qml, and is _not_ compiling against kinetic-declarativeui? I can uglify 
the code by a couple of #ifdefs, but only if somebody really calls for 
it ...

Regards

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] New QmlDesigner module in master

2010-01-28 Thread Kai Koehne
Koehne Kai (Nokia-D-Qt/Berlin) wrote:
 Hi,
 
 with the usual delay of a couple of hours a new QmlDesigner module will 
 appear in our public repository.
 
 This adds a new Design mode. In this mode you will be able to manipulate 
 .qml files graphically, much like you can manipulate .ui files in Designer. 
 This is in addition to the text editor support for qml we already have. 
 
 The mode will only show up if you compile against an up to date qt from the 
 kinetic repository, kinetic-declarativeui branch 
 (http://qt.gitorious.org/+qt-kinetic-developers/qt/kinetic/commits/kinetic-bauhaus).
 
 No, it won't replace the old Designer, and no, it's not ready yet :) We 
 will blog about it within short time, and also provide a compiled test 
 version. Stay tuned!

We stretched the meaning of within short time a bit, but anyhow, we 
finally released a technical preview:

http://labs.trolltech.com/blogs/2010/01/27/upcoming-qtcreator-support-for-qml-or-what-is-bauhaus/

Have fun with it, feedback is warmly welcome :)

Regards

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] Broken Wiki?

2010-01-21 Thread Kai Koehne
ext Wilhelm wrote:
 Hi,
 
 I get some errors opening this document:
 
 http://wiki.qtcentre.org/index.php?title=Undocumented_qmake
 
 Can this be fixed, please?

I somehow doubt anybody on this list will feel responsible :)

How about contacting the maintainers of the site? E.g. 
http://www.qtcentre.org/sendmessage.php . qtcentre.org is neither run by 
Nokia, nor has it much to do with QtCreator ...

Regards

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] how to link a library project to main project

2009-08-27 Thread Kai Koehne
ext Danny Price wrote:
 
 
 On Wed, Aug 26, 2009 at 3:49 PM, Kai Koehne kai.koe...@nokia.com 
 mailto:kai.koe...@nokia.com wrote:

 I feel like I have to defend the current approach here. The .user files
 are named .user because they are user specific - that is, they are not
 meant to be shared between users! The very same is true for the session
 files.
 
 
 I would agree with you if it were not for the fact that Creator persists 
 project-specific build settings and dependencies (the OP's question) in 
 .user files and sessions. A session is Creator's version of a 
 VisualStudio solution. Without it you lose that information. The only 
 option is to embed as much as possible into .pro files but as I said 
 earlier, Creator handles subdirs as aggregates rather than project 
 hierachies.

I see what you mean, and it is true that the project settings got more 
and more functionality over time, with e.g. the project dependencies 
somewhat overlapping with the build system features ...

About the creator handling subdirs as aggregates ... I'm not sure what 
you mean. Say you load the toplevel src.pro of qt, and then build, 
qmake/make do handle project dependencies quite nicely. What exactly are 
you missing here?


About the subdirs being aggregates, I'm not sure
 The idea behind this is that QtCreator is (primarily) an editor, not a
 build system. You want to use QtCreator to work on your project - great!
 
 
 No, Creator is an IDE and is documented as such. There's nothing in Qt's 
 lit. that states Creator is purely an editor. This limitation appears to 
 be the result of a design decision rather than any technical limitation.

I take back the QtCreator is an editor part, I intended it just to 
emphasize it's not a full build system :) But I agree that it would be 
very nice to have better support for the qmake integration.

Regards

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] how to link a library project to main project

2009-08-26 Thread Kai Koehne
ext Danny Price wrote:
 
 
 On Wed, Aug 26, 2009 at 1:58 PM, Vladimir al...@mail.tsu.ru 
 mailto:al...@mail.tsu.ru wrote:
 
 Thanks a lot, Danny!
 
 It looks like it works from first sight, but:
 1) .user file is really huge and contains a lot of strange information
 like my environment variables and absolute paths. So my coworkers
 probably would be unable to checkout the tree and start working.
 
 
 Yes that's why they not suitable for SVN. I'm sure the Trolls have a 
 solution in the works :)

I feel like I have to defend the current approach here. The .user files 
are named .user because they are user specific - that is, they are not 
meant to be shared between users! The very same is true for the session 
files.

The idea behind this is that QtCreator is (primarily) an editor, not a 
build system. You want to use QtCreator to work on your project - great! 
Your colleague is a die-hard emacs fan ... well, he should be able to 
just work on the project too. Same goes for Visual Studio, Eclipse ... 
Forcing anyone who wants to compile your code to use a specific editor 
in a specific version is IMO a very bad idea.

Now one can argue that qmake needs better documentation, or lacks some 
functionality when it comes to project dependencies ... but that's 
another issue then.

Regards

Kai

NOT an (active) QtCreator developer, just a happy user


-- 
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] Multithread / multi jobs build with QtCreator

2009-08-19 Thread Kai Koehne
ext Vincent LEFORT wrote:
 So it's a problem of qmake when he create the Makefile or the make 
 command from mingw ?
 
 No one have a solution ?


How about using the MAKEFLAGS environment variable instead of the -j 
command line argument. E.g specify MAKEFLAGS-j4 in your build environment.

I did not check whether mingw make supports the MAKEFLAGS variable, though.

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
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator