Re: [Qt-creator] Creator editor color control.

2010-10-25 Thread Eike Ziller

On Oct 24, 2010, at 2:19 AM, ext Clark Williams wrote:

 I set my background to black and my foreground color to a dark orange (black 
 on white is just too tiring on everyone's eyes).
 But when I do that the cursor is extremely difficult to see.
 Is there an IDE-editor cursor color control?
 
 If not then there should be.
 If you allow me to change my background/foreground either complement the 
 cursor color when it is the same as the background color or allow the user to 
 change it to what they would like to see.
 Any possibility of getting that control?

http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2178

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


Re: [Qt-creator] Debugging/ptrace problems in Ubuntu 10.10

2010-10-18 Thread Eike Ziller

On Oct 17, 2010, at 9:21 PM, ext Andre Poenitz wrote:

 On Sat, Oct 16, 2010 at 07:13:11PM +0300, Juha Ruotsalainen wrote:
 Hi there!
 
 Can someone more knowledgeable than I give a good answer how to proceed with 
 this problem:
 I'm running Ubuntu 10.10 and Qt Creator cannot debug there due to 10.10's 
 heightened security.
 
 *sigh* 
 
 Currently I can debug with:
 a) sudo qtcreator (don't like this)
 b) First echoing 0 to /proc/sys/kernel/yama/ptrace_scope then running 
 qtcreator
 
 Is any of that needed when using plain gdb?

From https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening
I would think that only attaching to an arbitrary process should be blocked 
(for both Qt Creator and plain gdb), normal debugging from Qt Creator (i.e. 
starting the debugged process from Qt Creator) should still work (except 
perhaps for debugging an application that is run in a terminal, since in this 
situation we explicitly attach gdb to the app that is run in the terminal).

++ Eike

 I'm looking for a solution where I could launch qtcreator without any extra 
 gimmicks. 
 Would setting setuid bit for qtcreator cut it?
 
 Oh, I also tried setcap cap_sys_prace=eip qtcreator but that didn't work 
 because
 qtcreator cannot find libextensions. If I change the 'eip' to plain 'i', 
 qtcreator starts
 but still debugging results in 'Ptrace: not permitted'.
 
 Any ideas?
 
 Ask the distributor?
 
 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


Re: [Qt-creator] Hiding windows in debug mode

2010-10-18 Thread Eike Ziller

On Oct 18, 2010, at 10:54 AM, ext Sergey wrote:

 Does any one know how to hide this window (highlighted with red on 
 screenshoot) ? It started to appear when I launch application in the debug 
 mode.

Window-Views-Debugger Log, though it should not appear just so.

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


Re: [Qt-creator] fakevim roadmap

2010-10-14 Thread Eike Ziller

On Oct 14, 2010, at 12:25 PM, ext Cristian Tibirna wrote:

 
 Hello
 
 Is there somewhere a documenting of the fakevim prospective roadmap?

Fakevim is a community supported part, and gets fixes/features whenever someone 
feels the urge to do so. Feel free to chat with us at 
irc://irc.freenode.org/#qt-creator (and/or to file bug reports).

 I like this special mode a lot, especially for the additional functionality 
 that it brings to editing blocks.
 
 Yet, there are functionalities of vim that aren't yet supported and I would 
 like to be able to discern what is still a work in progress and what are 
 bugs, 
 in order to avoid filling the bug report database with noise.

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


Re: [Qt-creator] DYLD_IMAGE_SUFFIX and OS X

2010-10-04 Thread Eike Ziller

On Sep 4, 2010, at 1:54 AM, ext Willy P wrote:

 Hey,
 I want to be able to see the Qt source code in my debugger.
 
 I'm running OSX.5
 qt 4.6.3 installed w/ click through installer
 and Creator 2.01
 
 I have set DYLD_IMAGE_SUFFIX = _debug in:
 
 projects-build settings-build environment.
 
 This setting is also reflected in the
 
 projects-build settings-run settings
 
 I have also checked the Use debug version of frameworks checkbox in
 run settings.
 
 When I run my app in the debugger it still says:
 
 Unable to read symbols for QtGui.framework/Versions/4/QtGui (file not 
 found).
 Unable to read symbols from QtGui (not yet mapped into memory).
 Unable to read symbols for QtCore.framework/Versions/4/QtCore (file
 not found).
 Unable to read symbols from QtCore (not yet mapped into memory).
 
 And I only see assembly code for Qt functions.
 
 Any thoughts?

The reason is that the Qt binary packages don't come with the Qt sources. So 
you'll not be able to see them. The only way I know of how you can step into Qt 
sources on Mac, is by compiling Qt yourself and using that version. Though 
there might be some way to download the Qt sources and trick gdb into finding 
these sources.

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


Re: [Qt-creator] Editor Lag

2010-08-09 Thread Eike Ziller
Hi,

On Aug 2, 2010, at 7:26 PM, Westbrook Alan (Nokia-MS/MtView) wrote:

 Hi,
 
 Before I submit a bug report, I wanted to see if anyone else is seeing this.
 
 I am using Mac OS X 10.6.4

I'm also on 10.6.4 and don't experience these problems.
Perhaps you could keep Activity Monitor open and visible, to see if there's 
high CPU or disk activity going on during these seconds, and who takes it?
Also, if the freeze is long enough, try the sample process button in activity 
monitor on the Qt Creator process while it is freezing. Perhaps that sheds some 
light on what is actually going on during these times.

Br, Eike

 Very often, when I go to start typing in the editor, I get the modal blocking 
 wait cursor for a few seconds (spinning beachball).
 
 The editor is doing something that seems to be waiting on disk, perhaps?
 
 Please let me know if you see this on other platforms, or if it's just my 
 machine. =)
 
 Alan
 ___
 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] macro with current version number

2010-08-09 Thread Eike Ziller
Hi,

On Aug 3, 2010, at 9:27 AM, ext Lykurg Nomothet wrote:

 Hi,
 
 I have a plugin for creator and since the API changed between 1.3.1,
 2.0.0 and 2.1 I wonder if there is a macro with the version number so
 that I can keep all my code in the same file. I searched the sources
 with no luck.

IDE_VERSION_* in coreconstants.h

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


Re: [Qt-creator] Qt Creator Community

2010-07-29 Thread Eike Ziller

On Jul 29, 2010, at 8:55 AM, ext Victor Sardina wrote:

 Eike:

Hi,

 I just compiled the latest QtCreator (2.1.0 branch), and then in turn
 compiled Kevin's DoxygenPlugin. The plugin works with both, the debug
 and release versions. Then I downloaded the latest QtCreator binary
 release for Mach from your website and tested the plugin: it doesn't
 work. Do you have any insight on the reasons behind the incompatibility?

What does About plugins tell about the plugin and the error when trying to 
resolve/load?

Last binary release is 2.0.0.
I'm pretty sure that 2.1 and 2.0 are not binary compatible, and it is possible 
that it is not even completely source compatible in some parts (though it might 
be for parts that are used by the plugin).
This is also reflected in the pluginspecs of the plugins delivered with Qt 
Creator, so it's not possible to resolve a plugin successfully against both Qt 
Creator 2.0.0 and 2.1.0 without changing the versions of the dependency tags in 
the plugin's pluginspec.

Br, Eike

 On 7/27/10 9:42 PM, Victor Sardina wrote:
 Kevin:
 
 No problem, I will send you the binary Mac file to your email address
 shortly, together with the specs file as well. You can work out the
 installation path inside the Qt Creator.app bundle by looking at the
 project file I sent in a previous email: not really complicated. The
 installation path ends up as: Qt Creator.app/Contents/PlugIns/Kofee.
 
 Greetings,
 Victor
 
 On 7/27/10 5:34 PM, Kevin Tanguy wrote:
 On Tue, 27 Jul 2010 16:51:54 -1000, Victor Sardina
 victor.sard...@noaa.gov wrote:
 Kevin:
 
 Thank you for the hint above the usage of the plugin: it works as
 intended, but only on the header files, and if you place the cursor on a
 function or object declaration.
 
 
 Yes, I know it's a huge limitation. It actually works on local
 variables in source files but that's pretty much useless.
 
 As a rule I place the documentation of the code not in the header file,
 but inside the implementation file. I don't know if there exist some
 sort of convention about it based on some better supported rationale. I
 simply place comments in the implementation files, among other reasons,
 to keep the header files as clean and lean as possible, as anyone using
 a class can get an idea of the general layout of the class that way.
 This of course turns into a matter of personal preference.
 
 
 Lots of people do so and I understand the reason(s) but I don't for
 other reasons, so I indeed started with making it working with header
 files (and that's where the code of Nicolas from his cpphelper plugin
 was really helpful, hence the credit I gave him).
 I wanted to implement it for source files as well as you can see in the
 options page but the tick box really isn't used.
 I liked that idea as well:
 http://lists.trolltech.com/pipermail/qt-creator/2010-February/006060.html
 
 You might call the code ugly, but it works, does what you intended it
 to do, and can get much better with some work. Nobody writes a stellar
 application as a first crack at it, unless they have done something
 similar in the past, which makes it a de facto non-first-crack anyway...
 
 
 Indeed, and with the beautiful documentation we'll get, there will be
 no more excuses ;)
 Didn't check for a while the progress on this side but I will.
 
 The doxygen plugin actually works as you explained: as long as you place
 the cursor on a function declaration et al. inside the header file. I
 obviously needed some rest and some mojitos to clear my mind...;-)
 
 I haven't tried the latest changes you made to the code base. Did you
 update the svn repo as yet?
 
 
 Didn't commit anything yet and didn't make any change to the code
 anyway.
 But will have to for the 2.1 branch as it doesn't compile against
 current git.
 
 I think that having a menu option to generate all the doxygen tags at
 once turns quite useful. Of course, for that you have to write the
 function to actually parse the whole header/source file first.
 
 
 The main problem I see would be to detect and leave unchanged or update
 existing documentation blocks, not a really simple task.
 
 I guess we can call that a (partially) solved issue.
 A Mac binary would be sweet as a direct download if you can send it to
 me :)
 
 Cheers,
 Kevin
 
 I haven't actually perused the sources as yet, but I started to get
 curious... :-)
 
 Greetings,
 Victor
 
 
 
 On 7/27/10 9:57 AM, Kevin Tanguy wrote:
 On Mon, 26 Jul 2010 20:37:43 -1000, Victor Sardina
 victor.sard...@noaa.gov wrote:
 Hi Kevin:
 
 My apologies for not replying a little bit sooner.
 
 You have a point: I did missed your email inside the specs file: they
 call that either tunel vision, or need of a break...:-(
 
 
 No problem², we should all rest on a beach drinking a mojito instead of
 working anyway.
 
 To get the plugin to compile and show in QtCreator I did the following:
 
 1) Modified the project (.pro) file to reflect the location of both, the
 QtCreator sources and the 

Re: [Qt-creator] Error when trying to install commercial Qt Creator package

2010-07-28 Thread Eike Ziller

On Jul 27, 2010, at 3:49 PM, Hunger Tobias (Nokia-MS/Berlin) wrote:

 On 27.07.2010 14:36, ext Wiese Stefan (RtP2/TEF72) wrote:
 # source qt-license-4.6.3
 # ./qt-creator-linux-x86-commercial-2.0.0.bin --installer-language de 
 --license_licensee $Licensee --license_key $LicenseKeyExt --installdir 
 /usr/local/ --mode unattended --debuglevel 4
 Problem running post-install step. Installation may not complete correctly
  Die Datei ***unknown variable license_check_output*** konnte nicht entpackt 
 werden, da sie nicht gefunden wurde
 # echo $?
 1
 
 Hello Stefan!
 
 Could you please file this as a bug report in 
 http://bugreports.qt.nokia.com/
 
 Bugs do get lost on mailing lists but stay around forever in the 
 bugtracker;-)

Actually that's already there:
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-472

feel free to vote on it :)

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


Re: [Qt-creator] This week in Qt Creator

2010-07-26 Thread Eike Ziller
Hi,

On Jul 26, 2010, at 12:57 PM, ext Robert Caldecott wrote:

 There hasn't been a nightly Windows build for a while now - any chance this 
 will be available soon so we can download and play with this new code rather 
 than build from the source?

* We hope that we have windows 2.1.0 snapshots again soon, but it depends on 
fixes to Qt
* Many of the changes below were done in the master branch which will not have 
binary snapshots for a while still

Br, Eike

 On 26 July 2010 10:44, Tobias Hunger tobias.hun...@nokia.com wrote:
 Hello everybody!
 
 Here is this weeks update on the recent developments in Qt Creator:
 
  * Many people are on vacation, so it was a slow week
 
  * A branch for the 2.1.0 release was set up. Testing of that branch is
underway. This is a good time to report any issue you find in that
branch!
 
  * The windows CDB debugger starts about 15s faster now
 
  * Debugger plugin had a mayor refactoring effort: You can now debug
multiple executables, take snapshots and switch between the running
applications and snapshots. Note that the UI side of this change is
not yet done
 
  * Searching for symbols was added. See:
http://share.ovi.com/media/tobias.hunger.Qtcreator/tobias.hunger.10004
 
  * QML preview and javascript debugger was worked on
 
  * Quick Property sheet in the QML editor was improved
 
  * Outline mode can now reorder elements with drag and drop in QML.
 
  * The C++/QML quickfix infrastructure was improved
 
  * Library projects can now get deployed to Maemo devices
 
 All these developments are visible in the master branch available at
 http://qt.gitorious.org/qt-creator
 
 Please test the 2.1.0 branch and report any issues you encounter there
 so that it is in good shape when we are going to release it!
 
 Best Regards,
 Tobias
 
 --
 Tobias Hunger
 Software Engineer
 Nokia, Qt Development Frameworks
 
 Nokia gate5 GmbH
 Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
 Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
 Umsatzsteueridentifikationsnummer: DE 812 845 193
 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 ATT1..txt


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


Re: [Qt-creator] Enable find toolbar / searching in own editor plugin

2010-06-16 Thread Eike Ziller

On Jun 16, 2010, at 10:58 AM, ext Liebe Markus (RtP2/TEF72) wrote:

 Hi there,
 
 I have created a custom editor plugin for qtcreator. Now I want to use CTRL+F 
 to bring up and use the search toolbar.
 I already had a look at the BinEditorPlugin and found out about class 
 BinEditorFind : public Find::IFindSupport which I used to model my own 
 OwnEditorFind class accordingly.
 
 And I used this class in my editor plugin according to the way it is done in 
 the BinEditor plugin.

If you could point us to your code, we could have a look and help :)

The general information is:
Whenever the focus changes, the find plugin looks in the Widget hierarchy of 
the focus widget for one that has a IFindSupport attached.
I.e. you need to create an Aggregate::Aggregation* and add the IFindSupport and 
the _QWidget_ instance to it (not the IEditor). (Aggregate::Aggregation has 
even some documentation about its usage.)

Br, Eike

 But the Find menu entry stays disabled when my editor is opened.
 
 Can anyone give me a hint which steps are necessary to enable searching in 
 custom editor plugins?
 
 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] Compile console scroll down

2010-06-15 Thread Eike Ziller
Hi,

On Jun 11, 2010, at 9:21 PM, ext Oleg Shalnev wrote:

 Hi all.
 
 Compilation console does not scroll to the bottom of the buffer during 
 compilation.
 So discomfortable.

Hm, it should do that *if the console is already at the botton*.
That the console does *not* scroll to bottom if you scrolled it up is 
intentional, to allow you to investigate the output.

Does it work that way for you? If not, then it's a bug, which I'd ask you to 
report on bugreports.qt.nokia.com

Thanks,
-- 
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] Crash under Mac while creating a new Class

2010-06-15 Thread Eike Ziller
 0x7fff82f7ed85
 SendEventToEventTarget + 45
 29  com.apple.HIToolbox 0x7fff82fade61
 SendHICommandEvent(unsigned int, HICommand const*, unsigned int,
 unsigned int, unsigned char, void const*, OpaqueEventTargetRef*,
 OpaqueEventTargetRef*, OpaqueEventRef**) + 387
 30  com.apple.HIToolbox 0x7fff82fdabf6
 SendMenuCommandWithContextAndModifiers + 56
 31  com.apple.HIToolbox 0x7fff82fdabae
 SendMenuItemSelectedEvent + 101
 32  com.apple.HIToolbox 0x7fff82fdaabe
 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 150
 33  com.apple.HIToolbox 0x7fff82fbbe49
 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**,
 unsigned short*) + 467
 34  com.apple.HIToolbox 0x7fff82fbb596
 _HandleMenuSelection2 + 453
 35  com.apple.AppKit0x7fff882d43b9
 _NSHandleCarbonMenuEvent + 236
 36  com.apple.AppKit0x7fff882a7eda _DPSNextEvent + 
 1908
 37  com.apple.AppKit0x7fff882a7379 -[NSApplication
 nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
 38  com.apple.AppKit0x7fff8826d05b -[NSApplication
 run] + 395
 39  QtGui   0x00010010c9e4
 QEventDispatcherMac::processEvents(QFlagsQEventLoop::ProcessEventsFlag) +
 1588
 40  QtCore  0x000100ff9b14
 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 68
 41  QtCore  0x000100ff9e24
 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 180
 42  QtCore  0x000100ffb4cc
 QCoreApplication::exec() + 188
 43  com.nokia.qtcreator 0x0001aeca main + 9356
 (main.cpp:320)
 44  com.nokia.qtcreator 0x00015260 start + 52
 


-- 
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] Crash renaming file not under source control

2010-06-15 Thread Eike Ziller

On Jun 14, 2010, at 1:10 PM, ext Victor Sardina wrote:

 Bjørn:
 
 I would have submitted a patch if doing so didn't come so close to my
 incompetence level... :-) Fortunately the community have people like you
 to save us from ourselves...

Hey, you are using Qt Creator, don't you ;)

0) Get Qt Creator from the git repository
1) Open qtcreator.pro in Qt Creator
2) Make your changes in the git version
3) Tools-Git-Diff Current Project (Alt+G,Alt+Shift+D)
4) Tools-Code Pasting-Paste Snippet (Alt+C,Alt+P)
5) In your email paste the URL (it is copied to clipboard in step 4)

and to apply a patch

6) Tools-Code Pasting-Fetch Snippet (Alt+C,Alt+F)
7) Tools-Git-Apply Patch
8) Compile and run

:)

 Thank you for the patch and the commit as well.
 
 Best regards,
 Victor
 
 On 6/14/10 12:38 AM, Thorbjørn Lindeijer wrote:
 On 06/12/2010 07:17 AM, ext Cameron Hart wrote:
 This crash occurs when running a local build of Qt Creator master at
 commit 2e1001621042a5704e504821fd5677733ffd9167. I'm building and
 running on Ubuntu Linux 10.04.
 
 If you rename a file in your project through the project explorer which
 is in a directory not under source control, the code attempts to access
 a null pointer.
 
 Thanks for the complete bug report, you might as well have sent in the 
 patch! :-)
 
 The fix is pushed now in commit 6f118927de98855a6fc744c8eb66231121e63d8e.
 
 Regards,
 Bjørn
 
 
 victor_sardina.vcfATT1..txt

-- 
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] Scrolling past end of file

2010-06-11 Thread Eike Ziller

On Jun 10, 2010, at 6:47 PM, ext Nikos Chantziaras wrote:

 I recently installed Qt Creator 2.0.0 beta, and today RC1.  The beta had 
 this very useful functionality of being able to scroll past the end of 
 the file.  That way, when I want to add something to the end, I don't 
 first have to press enter 30 times, add my code, and then delete all the 
 newlines again.
 
 However, in RC1 I'm not able to scroll past the EOF anymore.  And I 
 can't find a configuration option for it.  What's happening?  How to 
 bring it back?

Though the name of the option is not obviously pointing to that feature, it is
Prefs-TextEditor-Display-Center cursor on scroll

Br,
-- 
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 RC released today

2010-06-09 Thread Eike Ziller
We are proud to announce that we released the Qt Creator 2.0 release candidate 
today, together with the Nokia Qt SDK 1.0 release candidate:

Qt Creator:   http://labs.trolltech.com/blogs/?p=1600
Nokia Qt SDK: http://labs.trolltech.com/blogs/?p=1607

So, last chance to provide feedback to us before the final release :), through 
the usual channels:

IRC:irc://irc.freenode.org/#qt-creator
Bugtracker: http://bugreports.qt.nokia.com/

and of course this mailing list.

Happy hacking!
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] 64-bit debugging helper on OS X 10.5?

2010-06-08 Thread Eike Ziller
Hi,

On Jun 2, 2010, at 4:23 PM, ext Stephen Chu wrote:

 Now I can't debug 64-bit code with the last few snapshots, even without 
 debugger helper.
 
 It looks like gdb is not set to x86_64 when debugging. I got this error:
 
 A handler for the OS ABI Darwin is not built into this configuration
 of GDB.  Attempting to continue with the default i386:x86-64 settings.

I had this problem before as well, but was never able to reproduce it again, in 
the end:
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-430

++ Eike

 
 I attached the debugger log. I use this project setting to force Creator 
 to build x86_64 on OS X 10.5:
 
   CONFIG(debug, debug|release) {
   CONFIG += x86_64
   CONFIG -= x86
   }
 
 It does build a 64-bit binary. I just can not debug it. And I was able 
 to a week or 2 ago.
 
 Is 64-bit development only supported in OS X 10.6 now?
 
 -- 
 Stephen Chu
 mailto:step...@ju-ju.com
 http://www.ju-ju.com
 64bitdebuglog.txtATT1..txt

-- 
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] 64-bit debugging helper on OS X 10.5?

2010-05-21 Thread Eike Ziller

On May 20, 2010, at 10:24 PM, ext Stephen Chu wrote:

 I just started to experiment with 64-bit build with Creator 2.0 and Qt 
 4.7 snapshots. It works pretty well with one exception: Creator only 
 build the debugging helper in 32-bit. So I lost all the smart formatting 
 of the variables.
 
 Does Creator build helper in 64-bit when running in 10.6? And how do I 
 make it to build both 32 and 64-bit helper?

So, you used the Qt 4.7.0 beta1 binary package? (Or did you build from source)
Do explicitly pass an architecture to your project's CONFIG ?
Because if you don't, your application and the debugging helpers should be 
built with the same architecture(s) (for me it is 64bit for both).

I wonder though, why the Qt binary package doesn't build the user's apps as 
universal binaries, it does so when building Qt from source and configuring it 
as universal.

-- 
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 breakage on osx 10.6.3

2010-05-21 Thread Eike Ziller

On May 21, 2010, at 1:56 PM, ext Brett Morgan wrote:

 Build went splat on OSX. Help?

Fixed in e6480735f42947df4ec315b85faa3b0e25db2d3b

(Apply the following till this is updated on qt.gitorious.org:

diff --git a/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp 
b/src/plugins/qt4projectmanager/qt-maemo/qemu
index 3f9926b..3d16648 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp
@@ -47,6 +47,7 @@
 #include QtCore/QDir
 #include QtCore/QList
 #include QtCore/QSet
+#include QtCore/QStringBuilder
 #include QtCore/QTextStream
 
 #include QtGui/QMessageBox



Sorry.

 g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64
 -mmacosx-version-min=10.5 -fvisibility=hidden
 -fvisibility-inlines-hidden -Wall -W -fPIC
 -DIDE_LIBRARY_BASENAME=\lib\ -DWITH_TESTS -DQT_NO_CAST_TO_ASCII
 -DPROPARSER_THREAD_SAFE -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN
 -DQT_TESTLIB_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
 -DQT_CORE_LIB -DQT_SHARED
 -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/macx-g++
 -I../../../../qt-creator/src/plugins/qt4projectmanager
 -I/usr/local/Trolltech/Qt-4.7.0/lib/QtCore.framework/Versions/4/Headers
 -I/usr/local/Trolltech/Qt-4.7.0/include/QtCore
 -I/usr/local/Trolltech/Qt-4.7.0/lib/QtNetwork.framework/Versions/4/Headers
 -I/usr/local/Trolltech/Qt-4.7.0/include/QtNetwork
 -I/usr/local/Trolltech/Qt-4.7.0/lib/QtGui.framework/Versions/4/Headers
 -I/usr/local/Trolltech/Qt-4.7.0/include/QtGui
 -I/usr/local/Trolltech/Qt-4.7.0/lib/QtXml.framework/Versions/4/Headers
 -I/usr/local/Trolltech/Qt-4.7.0/include/QtXml
 -I/usr/local/Trolltech/Qt-4.7.0/lib/QtTest.framework/Versions/4/Headers
 -I/usr/local/Trolltech/Qt-4.7.0/include/QtTest
 -I/usr/local/Trolltech/Qt-4.7.0/include
 -I../../../../qt-creator/src/libs
 -I/Users/brettmorgan/qt-creator/tools
 -I../../../../qt-creator/src/plugins
 -I../../../../qt-creator/src/libs/3rdparty/botan/build
 -I../../../../qt-creator/src/libs/3rdparty/net7ssh/src
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/cplusplus
 -I../../../../qt-creator/src/shared/symbianutils
 -I../../../../qt-creator/src/shared/proparser
 -I../../../../qt-creator/src/shared
 -I../../../../qt-creator/src/plugins/qt4projectmanager/customwidgetwizard
 -I.moc/debug-shared -I.uic -I. -F/usr/local/Trolltech/Qt-4.7.0/lib -o
 .obj/debug-shared/classlist.o
 ../../../../qt-creator/src/plugins/qt4projectmanager/customwidgetwizard/classlist.cpp
 ../../../../qt-creator/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp:
 In member function ‘void
 Qt4ProjectManager::Internal::QemuRuntimeManager::startRuntime()’:
 ../../../../qt-creator/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp:376:
 error: no match for ‘operator%’ in ‘QProcessEnvironment::value(const
 QString, const QString) const(((const QString)( QString(((const
 QLatin1String)( key), ((const QString)((const QString*)(
 QString() % QLatin1Char(58)’
 ../../../../qt-creator/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp:381:
 error: no match for ‘operator%’ in ‘root % QLatin1String(((const
 char*)madlib/))’
 ../../../../qt-creator/src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp:387:
 error: no match for ‘operator%’ in ‘app % QLatin1Char(32)’
 make[3]: *** [.obj/debug-shared/qemuruntimemanager.o] Error 1
 
 
 -- 
 Brett Morgan
 http://www.google.com/profiles/brett.morgan
 
 ___
 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] Significant slow down with the 2.0 beta on mac

2010-05-14 Thread Eike Ziller

On May 12, 2010, at 10:41 PM, ext alan.westbr...@nokia.com wrote:

 I did notice 741 console error messages originating from Creator that took 
 place in the space of about 6 seconds from earlier today if anyone from the 
 Creator team is interested.

Yes, I am interested.

Br, Eike

 Alan
 
 On May 12, 2010, at 1:34 PM, ext alan.westbr...@nokia.com wrote:
 
 Hello,
 
 I am using the Creator 2.0 beta 
 
 Qt Creator 1.3.82
 Based on Qt 4.7.0 (64 bit)
 
 Built on Mar 19 2010 at 11:56:02
 
 On the mac, and with this version, there are now a lot of UI freezes with 
 spinning wait cursor showing up when just using it normally (typing, 
 scrolling, opening menus ...).
 
 Any ideas what might be causing this behavior?
 
 Thanks!
 Alan
 
 ATT1..txt
 
 ATT1..txt

-- 
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] Compilation issues while building webkit on QTCreator

2010-05-12 Thread Eike Ziller
Hej,

On May 12, 2010, at 2:32 PM, ext Rajasekhar M wrote:

 Hi,
To run through the webkit source code using simulator, i was trying to 
 build it over QT-Creator, I followed the following steps.
 
 1. Installed Nokia QT SDK linux flavour.
 2. Opened the project 
 NokiaQtSDK/QtSources/4.7.0/src/3rdparty/webkit/webkit.pro
 3. Build Settings :
qmake-qt4 Webkit.pro -r spec linux-g++ CONFIG+=debug
 
 it failed with the following errors. Any clue on how to resolve these ?

It might be that you miss the libx11-dev packages. You need to make sure you 
have installed a few development packages from your Linux distribution, see the 
Linux requirements here:

http://doc.qt.nokia.com/qtcreator-snapshot/creator-os-supported-platforms.html

Best regards,
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] Building Debugging Helper library error

2010-05-11 Thread Eike Ziller

On May 11, 2010, at 10:46 AM, ext Jack Wootton wrote:

 On Mon, May 10, 2010 at 6:30 PM, Andre Poenitz 
 andre.poen...@mathematik.tu-chemnitz.de wrote:
 On Mon, May 10, 2010 at 11:33:31AM +0100, Jack Wootton wrote:
  I'm having problems getting Qt Debugger libraries to build.
 
  Environment
  -
  Creator 2.0 built from source
  Qt 4.7 built from source
  Windows XP
  Nokia N97 SDK
  I have %epocroot% set to \
  Creator is run from the command line at C:\git\creator2.0\bin
 
 You do not need the compiled debugging helpers for neither Symbian
 nor Windows/MinGW deverlopment. They have been replaced by Python
 scripts that do not need compilation.
 
 The problem I'm facing is that Creator Projects  Build Settings  Qt 
 Version isn't listing all the Qt installations listed under Tools  Options 
  Qt4.  
 
 The Projects tab within Creator allows general Build Settings to be set. 
 One such setting is the Qt Version to use when building.  The only Qt 
 Versions listed are Qt installations where the helper library is built. At 
 least it seems that way.

It lists the Qt Versions that match the Target architecture of the target you 
have selected (probably Desktop ?).
If you have Qt Versions installed (and known to Qt Creator) that make it 
possible to develop for multiple targets, your Projects mode should have tabs 
Targets, Editor Settings and Dependencies.
Similar to 
http://doc.qt.nokia.com/qtcreator-snapshot/creator-building-running.html#building-for-symbian
If you want to compile for a different target than shown in the tabs on the 
Targets page, e.g. Symbian devices, you need to add a target (press + next to 
the Desktop tab).

 I didn't know that Creator used devices.xml to auto-detect SDKs.  I thought 
 it really was auto-detecting them.

Define really auto-detecting :)

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] Building Debugging Helper library error

2010-05-11 Thread Eike Ziller

On May 11, 2010, at 2:37 PM, ext Jack Wootton wrote:

 On Tue, May 11, 2010 at 1:21 PM, Eike Ziller eike.zil...@nokia.com wrote:
 
 On May 11, 2010, at 10:46 AM, ext Jack Wootton wrote:
 
  On Mon, May 10, 2010 at 6:30 PM, Andre Poenitz 
  andre.poen...@mathematik.tu-chemnitz.de wrote:
  On Mon, May 10, 2010 at 11:33:31AM +0100, Jack Wootton wrote:
   I'm having problems getting Qt Debugger libraries to build.
  
   Environment
   -
   Creator 2.0 built from source
   Qt 4.7 built from source
   Windows XP
   Nokia N97 SDK
   I have %epocroot% set to \
   Creator is run from the command line at C:\git\creator2.0\bin
 
  You do not need the compiled debugging helpers for neither Symbian
  nor Windows/MinGW deverlopment. They have been replaced by Python
  scripts that do not need compilation.
 
  The problem I'm facing is that Creator Projects  Build Settings  Qt 
  Version isn't listing all the Qt installations listed under Tools  
  Options  Qt4.
 
  The Projects tab within Creator allows general Build Settings to be 
  set. One such setting is the Qt Version to use when building.  The only Qt 
  Versions listed are Qt installations where the helper library is built. At 
  least it seems that way.
 
 It lists the Qt Versions that match the Target architecture of the target you 
 have selected (probably Desktop ?).
 If you have Qt Versions installed (and known to Qt Creator) that make it 
 possible to develop for multiple targets, your Projects mode should have tabs 
 Targets, Editor Settings and Dependencies.
 
 Ok, that makes sense.  I've added a target Symbian Device and in this 
 scenario the Qt Version which is listed is Nokia_N97_SDK(Qt 4.7.0).  So that 
 means you're correct, and my idea of it being dictated by the debugger 
 library faling to build, was definitely wrong. 
 
 However I don't really want to build for a device, I want to build for the 
 emulator in the SDK.  So the build process should use abld, but the target 
 should be winscw and not armv5.  It seems that when I add a Symbian Device as 
 a target, Creator will only build it for armv5.  Does creator even know where 
 epoc.exe is or is capable of launching the emulator?

1) You need to point Qt Creator to your Carbide.c++ installation (which 
contains the necessary tool chain). To do that, open 
Tools-Options-Qt-Versions, select the Qt Version and point Carbide path to 
the Carbide install.

2) Add a target Symbian Emulator to your project

Hope that helps,
Eike

 Similar to 
 http://doc.qt.nokia.com/qtcreator-snapshot/creator-building-running.html#building-for-symbian
 If you want to compile for a different target than shown in the tabs on the 
 Targets page, e.g. Symbian devices, you need to add a target (press + next 
 to the Desktop tab).
 
  I didn't know that Creator used devices.xml to auto-detect SDKs.  I 
  thought it really was auto-detecting them.
 
 Define really auto-detecting :)
  
 OK.  Good point.  I assumed (bad I know) that it may have scanned for epoc32 
 or something like that.
  
 
 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
 
 
 
 -- 
 Regards
 Jack
 ATT1..txt

-- 
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] Building Debugging Helper library error

2010-05-11 Thread Eike Ziller

On May 11, 2010, at 2:59 PM, ext Eike Ziller wrote:

 
 On May 11, 2010, at 2:37 PM, ext Jack Wootton wrote:
 
 On Tue, May 11, 2010 at 1:21 PM, Eike Ziller eike.zil...@nokia.com wrote:
 
 On May 11, 2010, at 10:46 AM, ext Jack Wootton wrote:
 
 On Mon, May 10, 2010 at 6:30 PM, Andre Poenitz 
 andre.poen...@mathematik.tu-chemnitz.de wrote:
 On Mon, May 10, 2010 at 11:33:31AM +0100, Jack Wootton wrote:
 I'm having problems getting Qt Debugger libraries to build.
 
 Environment
 -
 Creator 2.0 built from source
 Qt 4.7 built from source
 Windows XP
 Nokia N97 SDK
 I have %epocroot% set to \
 Creator is run from the command line at C:\git\creator2.0\bin
 
 You do not need the compiled debugging helpers for neither Symbian
 nor Windows/MinGW deverlopment. They have been replaced by Python
 scripts that do not need compilation.
 
 The problem I'm facing is that Creator Projects  Build Settings  Qt 
 Version isn't listing all the Qt installations listed under Tools  
 Options  Qt4.
 
 The Projects tab within Creator allows general Build Settings to be 
 set. One such setting is the Qt Version to use when building.  The only Qt 
 Versions listed are Qt installations where the helper library is built. At 
 least it seems that way.
 
 It lists the Qt Versions that match the Target architecture of the target 
 you have selected (probably Desktop ?).
 If you have Qt Versions installed (and known to Qt Creator) that make it 
 possible to develop for multiple targets, your Projects mode should have 
 tabs Targets, Editor Settings and Dependencies.
 
 Ok, that makes sense.  I've added a target Symbian Device and in this 
 scenario the Qt Version which is listed is Nokia_N97_SDK(Qt 4.7.0).  So 
 that means you're correct, and my idea of it being dictated by the debugger 
 library faling to build, was definitely wrong. 
 
 However I don't really want to build for a device, I want to build for the 
 emulator in the SDK.  So the build process should use abld, but the target 
 should be winscw and not armv5.  It seems that when I add a Symbian Device 
 as a target, Creator will only build it for armv5.  Does creator even know 
 where epoc.exe is or is capable of launching the emulator?
 
 1) You need to point Qt Creator to your Carbide.c++ installation (which 
 contains the necessary tool chain). To do that, open 
 Tools-Options-Qt-Versions, select the Qt Version and point Carbide path 
 to the Carbide install.
 
 2) Add a target Symbian Emulator to your project
 

And to do some advertising for a better world ;)
What about trying the Nokia Qt SDK beta, with the shiny new Qt Simulator?
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Nokia_Qt_SDK/

Best regards,
Eike

 Similar to 
 http://doc.qt.nokia.com/qtcreator-snapshot/creator-building-running.html#building-for-symbian
 If you want to compile for a different target than shown in the tabs on the 
 Targets page, e.g. Symbian devices, you need to add a target (press + next 
 to the Desktop tab).
 
 I didn't know that Creator used devices.xml to auto-detect SDKs.  I 
 thought it really was auto-detecting them.
 
 Define really auto-detecting :)
 
 OK.  Good point.  I assumed (bad I know) that it may have scanned for epoc32 
 or something like that.

-- 
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] Share color scheme across platforms?

2010-05-07 Thread Eike Ziller
Hi,

On May 6, 2010, at 8:53 PM, ext Danny Price wrote:

 Is there anyway to share my custom Creator color scheme between my Mac and 
 Pc? I don't want to have to re-create it.

It should be possible to copy the .config/Nokia/qtcreator/styles/foo.xml from 
the Mac to the respective settings directory on your PC. 
(datadir/qtcreator/styles/foo.xml)
For information about the location of the personal settings, have a look at the 
first answer on our FAQ section on gitorious here:
http://qt.gitorious.org/qt-creator/pages/FrequentlyAskedQuestions

Br,
-- 
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] where should I install Qt Creator / Qt SDK, on Linux?

2010-05-04 Thread Eike Ziller
On May 3, 2010, at 11:22 PM, ext Elfen wrote:

  If you use the qt creator which comes with suse this is no problem.
 
 okay, but Qt Creator 1.2 is really old?  I wonder how long until the openSUSE 
 repo has Qt Creator 2.0?  Plus, if I'm doing cross-platform development...  
 Isn't it best to have Qt Creator 1.3 on all platforms?  (And Qt Creator 2.0 
 when it's released).
 
 
  You probably need to tell Qt Creator about your new Qt installation 
  (Tools-Options-Qt4-Versions). It is a known issue in 1.3, that the 
  installer writes the initial Qt Creator settings *for the root user* if you 
  install as root. So, if you'd start Qt Creator as root user, it would 
  already know about the new Qt version in /opt, but if you start as any 
  other user, it doesn't and you have to tell it manually.
 
 You mean /opt/qtsdk-2010.02/qt/bin/qmake ?  Yes this worked.  However, when I 
 open a project, now it says I have to copy the project to a writable 
 location, to edit or compile the sample project.

Yes, since /opt is not writable for you as a normal user.

 So, overall, I guess I generally understand the difference...  
 /opt/qtsdk-2010.02/ is read-only and meant for the system,.  While 
 /home/user/[my user name]/qtsdk-2010.02/ is writable and meant only for my 
 user.  However, I still don't know which is the right / best / ideal 
 choice.

The right choice is dependent on your use case. And on what your preference 
is. If you ask two people working on Linux, where to best install applications 
(that don't come with the distribution), you'll probably get 3 answers 
(/usr/local, /opt, /home/,...)

Br, Eike

  Sounds like the default of ( /user/[my user name]/qtsdk-2010.02/ ) is 
 easier... unless I missed something?
 
 
 thank you for info
 
 
 2010/5/3 Thorbjørn Lindeijer thorbjorn.lindei...@nokia.com
 On 04/30/2010 10:04 AM, ext Alex Richardson wrote:
  I wonder if Qt Creator should make /opt/qt-sdk-2010.02 the default install
  path (instead of /home/[user name]/qt-sdk-2010.02), since that's the
  official FHS standard.
 
  The problem is that a normal user usually does not have write permission to 
  /opt/, so installing to
  the home directory is safer.
 
 Exactly. Also, when you run the installer as root, it already defaults
 to installing in /opt.
 
 That you don't get a GUI installer when running with sudo is strange. At
 least on Ubuntu this works fine for me.
 
 Regards,
 Bjørn
 
 --
 Thorbjørn Lindeijer
 Software Engineer
 Nokia, Qt Development Frameworks
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 ATT1..txt

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

2010-05-03 Thread Eike Ziller
On Apr 30, 2010, at 8:51 PM, ext Nicolas Arnaud-Cormos wrote:

 Hi,
 I've updated the source code of Qt Creator (master), and I have this build 
 error:
 I../../../../dev/src/plugins/qmldesigner/components/resources 
 -I.moc/debug-shared -I.uic -I. -o 
 .obj/debug-shared/qmlgraphicsitemnodeinstance.o 
 ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp
  
 ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:440:
  error: ‘Anchor’ in class ‘QDeclarativeAnchors’ does not name a type 
 ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:
  In member function ‘virtual bool 
 QmlDesigner::Internal::QmlGraphicsItemNodeInstance::hasAnchor(const QString) 
 const’: 
 ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:562:
  error: ‘anchorLineFlagForName’ was not declared in this scope 
 There's no QDeclarativeAnchors::Anchor in QDeclarativeAnchors in my Qt 4.7 
 checkout (4.7-stable).

Hi,
Qml/Declarative is still sort of a moving target.
We decided to only make sure that Qt Creator (master  2.0) compiles against 
qt/4.7, avoiding madness with supporting intermediate QDeclarative states that 
even are not versioned.
(I don't think that 4.7-stable serves any use anymore btw, but I might be 
wrong.)

++ 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] where should I install Qt Creator / Qt SDK, on Linux?

2010-05-03 Thread Eike Ziller

On Apr 30, 2010, at 8:40 PM, ext Elfen wrote:

 1) Yea, I ran into that, so I did sudo  
 ./qt-sdk-linux-x86_64-opensource-2010.02.bin.  For whatever reason, this 
 caused it to run a command line installer (instead of a GUI installer).  
 Strange...
 
 2) So it installed, but when I opened Qt Creator, Welcome - Getting Started 
 - Explore Qt Examples, it says Examples not installed.  Strange...

You probably need to tell Qt Creator about your new Qt installation 
(Tools-Options-Qt4-Versions).
It is a known issue in 1.3, that the installer writes the initial Qt Creator 
settings *for the root user* if you install as root. So, if you'd start Qt 
Creator as root user, it would already know about the new Qt version in /opt, 
but if you start as any other user, it doesn't and you have to tell it manually.

++ Eike

 3) Hm, I wonder what other non-package Linux installers do about this issue.  
 The issue is (/opt/ is the FHS standard for install apps) yet (most users 
 don't have permissions to /opt/).  Not much of a standard if no one uses it.
 
 
 
 On Fri, Apr 30, 2010 at 3:04 AM, Alex Richardson alex.richard...@gmx.de 
 wrote:
  I wonder if Qt Creator should make /opt/qt-sdk-2010.02 the default install
  path (instead of /home/[user name]/qt-sdk-2010.02), since that's the
  official FHS standard.
 
 The problem is that a normal user usually does not have write permission to 
 /opt/, so installing to
 the home directory is safer.
 
 ---
 Alex Richardson
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 ATT1..txt

-- 
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] Sorting lines

2010-04-29 Thread Eike Ziller
On Apr 28, 2010, at 10:02 PM, ext Craig Bradney wrote:

 On 4/28/10 8:57 PM, Craig Bradney wrote:
 On 4/28/10 12:26 PM, Thorbjørn Lindeijer wrote:
 
 On 04/27/2010 10:17 PM, ext Christian Hoenig wrote:
 
 
 Hi,
 
 
 
 Is there a feature/plugin/way to get line sorting available in Qt
 Creator? I remember KDevelop had this ability to send a selection
 through an external program, in this case, sort.
 
 
 I have a patch in the queue that allows to sort lines. Unfortunately I did 
 not
 submit it yet. If you build your qtcreator on your own, I can send you the
 patch if you like.
 
 Another way to sort lines is to use !sort in fakevim, if you use this 
 :-).
 
 
 I'm looking forward to your patch, so I hope you will have time to 
 submit it. :-)
 
 There is an open task about this here:
 
 http://bugreports.qt.nokia.com/browse/QTCREATORBUG-913
 
 Regards,
 Bjørn
 
 
 
 Great, I have now voted for this one, and will test out fakevim options
 in the meantime.
 
 Hmm fakevim does little to nothing.. the mode kicks in, but running the
 !sort does nothing apart from deselect the text selection

Maybe you need to run a Qt Creator snapshot (I'm not sure when the sort was 
implemented).
Also not that you need to type a ':' as well, i.e. 
select, alt-v,alt-v, :!sort

-- 
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] printf() with Qt Creator?

2010-04-26 Thread Eike Ziller

On Apr 24, 2010, at 11:51 PM, ext Danny Price wrote:

 
 On 24 Apr 2010, at 22:22, Robert Hairgrove wrote:
 
 
 This is also an issue in non-Qt apps. Just change this line:
  std::cout  test;
 to this:
  std::cout  test  std::endl;
 
 On some platforms (*nix, I think) you need to do this in order to keep 
 the next output from overwriting the line test.
 
 Thanks it now works! The CONFIG += console line appears to have no effect on 
 OSX either way. I suppose it's really for Windows?

http://doc.qt.nokia.com/4.6/qmake-variable-reference.html#config

 I've not been able to get printf to work though, even with a '\n'.
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 ATT1..txt

-- 
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 settings for cross platform? multiple svn checkouts on each development computer

2010-04-26 Thread Eike Ziller

On Apr 26, 2010, at 1:14 PM, ext Danny Price wrote:

 
 On Mon, Apr 26, 2010 at 11:13 AM, Tobias Hunger tobias.hun...@nokia.com 
 wrote:
 Hi Danny!
 
 Sorry, I really do not see anything to fix in creator for the following
 reasons:
 
  * No variable is ignored. DESTDIR is relative to the build directory,
 so it is set and used correctly (but points to a location where the
 stuff it is looking for is not found).
 
  * No build pathes are changed. Everything is put exactly where specified.
 
  * Creator does not interfere with anything set in the .pro-file.
 
 
 Your example project layout is basically three separate projects, tied
 together using relative pathes so that the libraries are found. That
 does indeed break in the presence of shadow building (or even more minor
 changes like the user checking out these three projects into separate
 directories, renaming some directory, etc.). I do not know your project
 requirements and there is probably a good reason for doing things the
 way you did, but I would really suggest making the build system more robust.
 
 Ah so you can explain how I should modify the sample projects to do just 
 that? I assume that relative paths from the shadow build directories are also 
 a bad idea?
  
 The preferred way is of course (as you already suggested) to bundle the
 libraries and the application using them together into one SUBDIRS
 project. That way you do get dependency tracking and the libraries will
 get automatically rebuild when they are changed. This further should
 ease packaging of the complete thing.
 
 Now this I find interesting as it seems to contradict Nokia's previous advice 
 on the subject - that is to use sessions... 

We (as in a bunch of Qt Creator developers) have been promoting the use of 
subdirs pro files a lot as well on this mailing list. Because both sessions and 
special setups in Qt Creator's project settings are special Qt Creator setups. 
So relying on these is no use in mixed environments.

 I've had very mixed results with SUBDIRS in creator. I have to be setup 
 manually, require the use of undocumented qmake features and don't always 
 link together properly when dependants change. And until recently, you had to 
 rebuild the until tree for a single dependant change to be picked up.
 
 But even if I use a subdir, won't I have the same issues? SUBDIRS allow me to 
 specify the build order but not link dependencies for which I need 
 PRE_TARGETDEPS. So I have to specify a path. What path do I specify?

Since you would open the SUBDIRS project in Qt Creator, you end up with a 
single project in Qt Creator,
and therefore with a single shadow build directory for your whole, multi-part 
project. So you can use relative paths for mapping between the sub-projects.
Like when opening qtcreator.pro.
The thing that is not clear to me (haven't tried), though, is how qmake 
actually maps the paths to a shadow build directory if you use SUBDIRS that 
refer to sub projects via ../ (ie. if your sub projects are not in a sub-path 
of the SUBDIRS project).

 
 If you are reusing the same libraries together with several applications
 you can of course have several top-level SUBDIRS project files (one for
 each application, referencing the application itself and all libraries
 used by it).
 
 Thanks I might try that.
  
 

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] QTCreator loads but crashes

2010-04-21 Thread Eike Ziller
 
 
 
 -- 
 Regards
 Jack
 ATT1..txt

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

2010-03-29 Thread Eike Ziller

On Mar 29, 2010, at 1:55 AM, King Bill (Nokia-D-Qt/Brisbane) wrote:

 On 03/26/2010 07:18 PM, Ziller Eike (Nokia-D-Qt/Berlin) wrote:
 
 Well, except that we don't have windows binary builds for for various 
 reasons at the moment, we have nightly binary builds of Qt Creator master on 
 top of Qt 4.7 (or before a release the release branches), which you could 
 use to find the last working thing for you. (Of course you should still bug 
 us about issues you find, increasing the chances that it will be fixed in a 
 timely manner.)
 ftp://ftp.qt.nokia.com/qtcreator/snapshots
 
 The known quality of the binary snapshots is obviously that it had minimal 
 build testing ;)
 
 Maybe put this link up on the gitorious page, I (for one) was very
 unaware of the snapshots directory.

You can find this information and lots of other useful things under the 
gitorious Qt Creator Wiki link:
http://qt.gitorious.org/qt-creator/pages/Home

I now put a link to that page also in the project description, perhaps that 
helps people find it.

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

2010-03-26 Thread Eike Ziller

On Mar 26, 2010, at 12:20 AM, King Bill (Nokia-D-Qt/Brisbane) wrote:

 On 03/25/2010 07:40 PM, Ziller Eike (Nokia-D-Qt/Berlin) wrote:
 
 Especially regarding Qt Creator's Qml support, a CI system for Qt Creator 
 would be mostly pointless.
 
 Unless it produced a point of stability, say a branch in both qt and
 creator called qtcreator_stable, that's had minimal build and run
 testing, it's a known quality that people can understand, currently
 that's not even available, and you have to rewind one or both until you
 get something that works. (something that's both difficult and time
 consuming).

Well, except that we don't have windows binary builds for for various reasons 
at the moment, we have nightly binary builds of Qt Creator master on top of Qt 
4.7 (or before a release the release branches), which you could use to find the 
last working thing for you. (Of course you should still bug us about issues you 
find, increasing the chances that it will be fixed in a timely manner.)
ftp://ftp.qt.nokia.com/qtcreator/snapshots

The known quality of the binary snapshots is obviously that it had minimal 
build testing ;)

 Because most of the time when Qt Creator builds break in Qml support, it is 
 because of changes in Qt/QML that don't yet have corresponding changes in Qt 
 Creator.
 We already have to handle the problem that synchronized changes in Qt and 
 Qt Creator first need the change in Qt/mainline, and only then the 
 corresponding change in Qt Creator can be pushed. That wouldn't get better 
 with yet another process in between for the Qt Creator changes.
 Also the current CI system is barely able to handle Qt at the moment, 
 resources-wise (that will hopefully be mended, but takes time).
 
 We have nighlty builds btw, and there is a (admittedly slow) progress 
 ongoing to move that to pulse, so we'll hopefully profit from the 
 infrastructure there in the longer run.
 
 
 
 Can I help this somehow? Rohan's just around the corner, so I can pester
 him in person if it's that that's needed.

I don't think that pestering is what is needed, because afaik he's got the 
important Job of making the CI system (more) usable for Qt already,
and I wouldn't like to keep him from doing that first :)

-- 
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] segmentation fault

2010-03-26 Thread Eike Ziller

On Mar 26, 2010, at 9:57 AM, ext Mark Brand wrote:

 
  Hi,
 
 Lately the head of qt-creator master branch has been crashing with a 
 segmentation fault when I open a form. This patch keeps it from 
 crashing, but I don't know if this is the right way to fix it.

Thanks for the report, should be fixed with
4f4bbe98289f20b760bffb6f2d63f6ec9b93e093 and
0befb98c203cac04e85d7cb3b3bc52620b1cbad8

Br, Eike

 For what it's worth:
 
 
 diff --git a/src/plugins/coreplugin/editortoolbar.cpp 
 b/src/plugins/coreplugin/editortoolbar.cpp
 index 6fa3737..b32d768 100644
 --- a/src/plugins/coreplugin/editortoolbar.cpp
 +++ b/src/plugins/coreplugin/editortoolbar.cpp
 @@ -190,6 +190,9 @@ void EditorToolBar::closeView()
 
  void EditorToolBar::addEditor(IEditor *editor)
  {
 +if (!editor)
 +return;
 +
  connect(editor, SIGNAL(changed()), this, SLOT(checkEditorStatus()));
  QWidget *toolBar = editor-toolBar();
 
 ___
 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] Run Debug buttons in the latest snapshots

2010-03-25 Thread Eike Ziller

On Mar 25, 2010, at 4:09 PM, ext Coda Highland wrote:

 My suggestion would be to have shift+click use the other mode, or add
 a context menu, or both.

Actually you can do that with Qt Creator on the Mac already (Alt+click though) 
:)
But on this platform it is sort of an accepted paradigm that tool buttons can 
have
different meanings while pressing Alt.

++ Eike

 /s/ Adam
 
 On Thu, Mar 25, 2010 at 9:16 AM, Stephen Chu step...@ju-ju.com wrote:
 I notice that the 2 run and debug buttons are now merged into 1. And
 works differently depending on if you are in Edit (run) or Debug (debug)
 mode.
 
 I like the previous 2 buttons way better. It allows access to both
 actions in all modes. I mostly work in Edit mode since it has more real
 estate to work with in the editor. Now I need to switch to Debug mode to
 click at the debug button.
 
 Of course I can always just hit F5. But if that's the rationale of
 having just one button, why having button at all then?
 
 And if for some reason there can absolutely be one button, make it the
 debug button all the time. It's way more useful in an IDE.
 
 --
 Stephen Chu
 mailto:step...@ju-ju.com
 http://www.ju-ju.com
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
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] Run Debug buttons in the latest snapshots

2010-03-25 Thread Eike Ziller

On Mar 25, 2010, at 5:15 PM, ext Coda Highland wrote:

 On Thu, Mar 25, 2010 at 10:53 AM, Bernd Stramm bernd.str...@gmail.com wrote:
 On Thu, 2010-03-25 at 11:27 -0400, Stephen Chu wrote:
 Better yet. Switch between Run and Debug automatically depending on the
 build config.
 
 A good idea, if that status is prominently displayed.
 
 It would have to have a default run mode option stored in the build
 config, since you can have more than just debug and release
 configs.


I usually just do a Run (even with a debug build), except for phases during 
which I'm debugging a specific problem.
Also it sounds a bit overkill to add a phalanx of options for the behavior of a 
single stupid button :)

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

2010-03-09 Thread Eike Ziller

On Mar 9, 2010, at 6:05 PM, ext inf200...@ucf.edu.cu wrote:

 Hi:
 How can I use a QSplitter from QtCreator?
 Why it not appears on the list of widgets of QtCreator?

In the form editor, there's a tool button and menu item for Layout in a 
Splitter which you use to create a splitter with the selected widgets in it.

++ 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] Problems while compiling Qt Creator plugins in mac

2010-02-25 Thread Eike Ziller

On Feb 25, 2010, at 7:44 AM, ext Aneesh Muralidharan wrote:

 Hi Eike,
 Thanks for the reply...
 This is the full output of make http://dpaste.com/hold/164550/ 
 well also as you have suggested i tried to linked it with release libs as 
 CONFIG+=release and CONFIG-=debug still same error please check 
 Thanks
 Aneesh .

The linker line specifies 
/Users/prashanthudupa/Development/qt-creator-1.3.1-src/build/lib/qtcreator/plugins/Nokia
 as a library path, but that is not the place where the libaries are put on the 
mac.

The lines 
DESTDIR = $$QTC_BUILD/lib/qtcreator/plugins/VCreateLogic
LIBS += -L$$QTC_BUILD/lib/qtcreator/plugins/Nokia
in QtCPlugins.pri are wrong.

Put 
DESTDIR = $$IDE_PLUGIN_PATH/VCreateLogic
LIBS += -L$$IDE_PLUGIN_PATH/Nokia

after including qtcreatorplugin.pri instead.

++ Eike

 On Wed, Feb 24, 2010 at 3:25 PM, Eike Ziller eike.zil...@nokia.com wrote:
 Hi,
 
 On Feb 24, 2010, at 4:54 AM, ext Aneesh Muralidharan wrote:
 
  Hi,
  is there any special doc which point to how to compile Qt Creator
  Plugin in Mac I am following
  http://www.vcreatelogic.com/p/2009/08/document-on-writing-plugins-for-qt-creator/
  I'm finding it difficult to compile Qt Creator plugins in mac. which
  is available here SVN Location:
  https://svn2.hosted-projects.com/vcreatelogic/VCLTools/QtCPlugins
  Username: anonymous
  Password: anonymous
  I'm using Qt 4.6.2 and Qt Creator 1.3.0.
 
  When I tried to compile I got these errors
  ldld: library not found for -lCore_debug
  : library not found for -lCore_debug
  collect2: ld returned 1 exit status
  collect2: ld returned 1 exit status
  lipo: can't open input file:
  /var/folders/Vy/Vyn6FFtiFOKCA48HAb-RwTI/-Tmp-//ccDV1o4V.out (No
  such file or directory)
  make[1]: *** [../../qt-creator-1.3.1-src/build/bin/Qt
  Creator.app/Contents/PlugIns/VCreateLogic/libQTCPluginProjectSupport_debug.dylib]
  Error 1
  make: *** [sub-QTCPluginProjectSupport-make_default-ordered] Error 2
 
 It would be useful to see a few more lines above the the actual error message 
 (e.g. the actual line passed to the linker).
 
 Generally speaking, your plugin tries to link against the debug version of 
 Qt. Which might not be there if you use the Qt binary download. It might help 
 to download and install the package with the debug libraries (you find the 
 link on the page that pops up when you download the Qt Mac binary package).
 
 ++ Eike
 
  Thanks and regards,
  Aneesh.M
  ___
  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
 
 ATT1..txt

-- 
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] waiting for app trk to start error

2010-02-25 Thread Eike Ziller

On Feb 25, 2010, at 8:38 AM, ext john Alvin Mathew wrote:

 Hi,
 
 I was working with TRK for many days. Then one fine day i am getting this 
 error. I am totally clueless about how to fix this. 
 
 QT creator is detecting my phone correctly - Summary: Run on 'Nokia E63 USB 
 (COM20)' (self-signed certificate).

Is App TRK running on the device and is in connected state using USB ?

-- 
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] waiting for app trk to start error

2010-02-25 Thread Eike Ziller

On Feb 25, 2010, at 12:29 PM, Loehning Robert (Nokia-D/Berlin) wrote:

 Hi John,
 
 you could try setting a lower COM-port using Windows' device manager, 
 e.g COM4. In some cases this helped.
 I don't know WHY this might help, though. If someone knows more about 
 it, please contact me.

Right. When using Qt Creator 1.3.1 that might be the problem.
Should be fixed in 1.3.80 dev snapshots though: 
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-568

++ Eike

 
 Good luck,
 Robert
 
 
 ext john Alvin Mathew schrieb:
 Hi,
 
 Trk App is running on device and it is showed as Connected on the TRK 
 application in the phone.
 
 Connectiom :usb
 
 Port: 1
 
 
 -John
 
 On 25 February 2010 12:28, Eike Ziller 
 eike.zil...@nokia.commailto:eike.zil...@nokia.com wrote:
 
 On Feb 25, 2010, at 8:38 AM, ext john Alvin Mathew wrote:
 
 Hi,
 
 I was working with TRK for many days. Then one fine day i am getting this 
 error. I am totally clueless about how to fix this.
 
 QT creator is detecting my phone correctly - Summary: Run on 'Nokia E63 USB 
 (COM20)' (self-signed certificate).
 
 Is App TRK running on the device and is in connected state using USB ?
 
 --
 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.commailto:Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 
 
 
 -- 
 Robert Löhning
 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] Problems while compiling Qt Creator plugins in mac

2010-02-24 Thread Eike Ziller
Hi,

On Feb 24, 2010, at 4:54 AM, ext Aneesh Muralidharan wrote:

 Hi,
 is there any special doc which point to how to compile Qt Creator
 Plugin in Mac I am following
 http://www.vcreatelogic.com/p/2009/08/document-on-writing-plugins-for-qt-creator/
 I'm finding it difficult to compile Qt Creator plugins in mac. which
 is available here SVN Location:
 https://svn2.hosted-projects.com/vcreatelogic/VCLTools/QtCPlugins
 Username: anonymous
 Password: anonymous
 I'm using Qt 4.6.2 and Qt Creator 1.3.0.
 
 When I tried to compile I got these errors
 ldld: library not found for -lCore_debug
 : library not found for -lCore_debug
 collect2: ld returned 1 exit status
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /var/folders/Vy/Vyn6FFtiFOKCA48HAb-RwTI/-Tmp-//ccDV1o4V.out (No
 such file or directory)
 make[1]: *** [../../qt-creator-1.3.1-src/build/bin/Qt
 Creator.app/Contents/PlugIns/VCreateLogic/libQTCPluginProjectSupport_debug.dylib]
 Error 1
 make: *** [sub-QTCPluginProjectSupport-make_default-ordered] Error 2

It would be useful to see a few more lines above the the actual error message 
(e.g. the actual line passed to the linker).

Generally speaking, your plugin tries to link against the debug version of Qt. 
Which might not be there if you use the Qt binary download. It might help to 
download and install the package with the debug libraries (you find the link on 
the page that pops up when you download the Qt Mac binary package).

++ Eike

 Thanks and regards,
 Aneesh.M
 ___
 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] Building with a Custom Process Step

2010-02-24 Thread Eike Ziller

On Feb 23, 2010, at 9:08 AM, ext Tomás Ortí wrote:

 Yes, Eike.
 I tried different things, like setting chmod 777 test.bash, with no luck.
 Feel free to ask me any test. I would like to have this working.

Well, I have no idea, it works for me, both with Qt Creator 1.3.1 and current 
dev snapshot.
 Exited with code 255.
That means that the exit code of your test.bash is 255. Values != 0 are 
usually for indicating an error in the script, that's why Qt Creator stops with 
an error.
From the bash man page:
Bash's exit  status  is the exit status of the last command executed in the 
script.

++ Eike

 Thank you,
 Tomas.
 
 On Feb 22, 2010, at 3:27 PM, ext Tomás Ortí wrote:
 
 
  Hi.
 
 
  I'm trying to build a project from QtCreator, with a Custom Process Step.
 
 
  I want QtCreator to execute a script before the make execution.
 
 
  When I click on Build All, I get this Compile Output:
 
 
  
 
 
  Running build steps for project mser...
 
 
  Starting: /home/notroot/test.bash 
 
 
  Exited with code 255.
 
 
  Error while building project mser
 
 
  When executing build step 'Custom Process Step'
 
 
  
 
 
  Currently the test.bash only has an echo Compiling...
 
 
  
 
 
  How can I achieve that?
 
 
 Just to make sure: did you make the test.bash executable? (i.e. can you run 
 it from a terminal)
 
 Br,
 -- 
 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
 
 ATT1..txt

-- 
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 SDK or Qt Framework

2010-02-22 Thread Eike Ziller

On Feb 22, 2010, at 4:15 AM, ext M. Bashir Al-Noimi wrote:

 Hi All,
 
 I'm using Qt Creator for developing Qt apps from Qt SDK but lately Nokia 
 announced that a new version of Qt is available to download so I'm wondering 
 is the new version of Qt includes in Qt SDK? or I've to download Qt Framework 
 alone?

The SDK is updated to contain the newest Qt release.

-- 
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] Stepping into Qt code on OS X? - Picture 2.png (1/1)

2010-02-22 Thread Eike Ziller
On Feb 22, 2010, at 5:15 PM, ext Stephen Chu wrote:

 I still can not step into Qt source code on OS X. Any hit? Or do I need 
 to build from Qt source files? I don't have to do that with Windows 
 binary download.

Ah, sorry,
the problem is: The binary distribution of Qt on the Mac doesn't come with 
source code at all,
so obviously you can't step into it :)
So yes, the easiest solution is to build Qt yourself. This way the binaries are 
automagically connected to the sources, for gdb.
Though there might be a way to tell gdb to look for the sources at a specific 
place
(in this way using the binaries from the binary distribution, but the sources 
from a source download),
but I fail to come up with the right lines, right now.

++ Eike

 In article stephen-e24424.10450916022...@nntp.trolltech.com,
 Stephen Chu step...@ju-ju.com wrote:
 
 In article 127a4169-65de-43fe-b14f-1a1b0b3d8...@nokia.com,
 Eike Ziller eike.zil...@nokia.com wrote:
 
 On Feb 16, 2010, at 3:34 PM, ext Stephen Chu wrote:
 
 In article hlc1e1$eb...@eple.troll.no,
 Stephen Chu step...@ju-ju.com wrote:
 
 On 2/15/2010 6:15 AM, Eike Ziller wrote:
 Hi,
 
 On Feb 12, 2010, at 5:36 PM, ext Stephen Chu wrote:
 
 I am using 4.6 Qt SDK for Mac. I find that I can not step into Qt 
 source
 code like I can on Windows.
 
 Does the Qt libs in SDK download not include debug information? Or I
 just didn't configure it right?
 
 The Qt binary distribution contains both debug and release variants 
 of
 the libraries.
 But you have to explicitly tell the runtime linker that you want to use 
 the
 debug libs - using release libs is the default, even if your 
 application 
 is
 compiled as debug.
 If you use a qmake / pro-file based project in Qt Creator you can set a
 flag in your run configuration, in Projects mode, in the run 
 configuration
 select Use debug version of frameworks.
 For more detailed information about debugging on the Mac, the 
 corresponding
 Apple documentation page is an interesting read:
 http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html
 
 Please also note that Mac OS X Snow Leopard (10.6) has a bug, that can 
 be
 worked around like described here:
 http://bugreports.qt.nokia.com/browse/QTBUG-4962
 
 
 Thanks for the help. I will try that once I have access to my Mac at
 work on Tuesday.
 
 Any plan on making this automatic?
 
 OK. That doesn't work. The attached screenshot was taken with a project
 with Use debug version of frameworks (DYLD_IMAGE_SUFFIC=_debug) and
 the latest Creator 1.3.8 snapshot.
 
 Sorry, I can't see your screenshot, it's attached as text.
 
 ++ Eike
 
 Sorry. Forgot I was posting via NNTP. Here's the screen capture:
 http://farm5.static.flickr.com/4002/4362798640_95cc2e0e2f_o.png
 
 -- 
 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


Re: [Qt-creator] Stepping into Qt code on OS X? - Picture 2.png (1/1)

2010-02-16 Thread Eike Ziller
On Feb 16, 2010, at 3:34 PM, ext Stephen Chu wrote:

 In article hlc1e1$eb...@eple.troll.no,
 Stephen Chu step...@ju-ju.com wrote:
 
 On 2/15/2010 6:15 AM, Eike Ziller wrote:
 Hi,
 
 On Feb 12, 2010, at 5:36 PM, ext Stephen Chu wrote:
 
 I am using 4.6 Qt SDK for Mac. I find that I can not step into Qt source
 code like I can on Windows.
 
 Does the Qt libs in SDK download not include debug information? Or I
 just didn't configure it right?
 
 The Qt binary distribution contains both debug and release variants of
 the libraries.
 But you have to explicitly tell the runtime linker that you want to use the
 debug libs - using release libs is the default, even if your application is
 compiled as debug.
 If you use a qmake / pro-file based project in Qt Creator you can set a
 flag in your run configuration, in Projects mode, in the run configuration
 select Use debug version of frameworks.
 For more detailed information about debugging on the Mac, the corresponding
 Apple documentation page is an interesting read:
 http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html
 
 Please also note that Mac OS X Snow Leopard (10.6) has a bug, that can be
 worked around like described here:
 http://bugreports.qt.nokia.com/browse/QTBUG-4962
 
 
 Thanks for the help. I will try that once I have access to my Mac at
 work on Tuesday.
 
 Any plan on making this automatic?
 
 OK. That doesn't work. The attached screenshot was taken with a project
 with Use debug version of frameworks (DYLD_IMAGE_SUFFIC=_debug) and
 the latest Creator 1.3.8 snapshot.

Sorry, I can't see your screenshot, it's attached as text.

++ Eike

 
 --
 Stephen Chu
 
 begin 644 Picture 2.png
 MB5!.1PT*@h-24...@```s```$Y`(B)DG4```/E#0U!)0T,@
 M4')O9FEL90```MDT]H$T$4QK]M!%NL/9...@ayrb8RC;U((B0)FTEMDU#

 [...]

 M\_A(],NM*KBG3H*0?Z+DP/KFWT\X0($`8(`...@0!`@!`$S(`Y0C^A'B
 M]^_.H:5[3';FF2,?(I,@0!`@!`$`($`8(`0`...@-#0tj?bd^j).K3LDO
 m...@0!`@!`$`($`8)`...@*956%3EY)7+VDP%DC%!@!`$`($`0(`...@0!
 m...@h`!`i8]_8s7?[j91t...@0p@$`8(`...@0!`@!...@x!3f6ea?'HVE
 M!:0W!+2=*B1G@@!!@!`$`($`0(`...@0!-0(.SNR6D-!CD@!`$`($`8(`
 m...@t%x0('L/M!=+$#T(`...@0!@@!!@!`$`(:-`O#1M-,@q...@0!`@!`$
 M`($...@?:`/'2VHLEB!X$`8(`...@0!`@!`$M!'x?...@pohd%g:`$E%
 3D2N0F
 `
 end

-- 
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] Add Getters and Setters in Qt Creator

2010-02-08 Thread Eike Ziller

On Feb 6, 2010, at 1:53 AM, ext John Bull wrote:

 Qt is great but Qt creator has a long way to go. I'd rather use qt integrated 
 in eclipse (but I can't seem to get the darn thing to work.)
 
 ctrl+shift+R doesn't equal refactoring.

Of course Renaming doesn't equal refactoring (though it's one of the heavier 
used ones).

 It renames (within a scope!).

That's the right thing to do, isn't it? E.g. method scope for local variables, 
class scope for class members, global scope for class names, etc.

 Refactoring goes way further than that, class name, configuration etc and 
 within the project scope!
 
 It's annoying to manually go through the src to rename classes.

Please note that Qt Creator does only take files into account that are known to 
it, e.g. in case of source files, they must be mentioned in the loaded project. 
(What project type are you using?)
If ctrl+shift+R still doesn't do the right thing for you, best would be to 
report the case on bugreports.qt.nokia.com, preferably with a reproducible 
example, so we can investigate and fix it.

 proper = eclipse style.
 
 By the way, someone pressing ctrl+shift+R (most likely) needs a new name, and 
 he's not just about to add a suffix to the old name.

What makes you think that you can only add a suffix?

Br, Eike

 JB
 
 On Thu, Feb 4, 2010 at 10:30 AM, Eike Ziller eike.zil...@nokia.com wrote:
 Hi,
 
 On Feb 4, 2010, at 1:40 AM, ext John Bull wrote:
 
  And proper refactoring(/renaming) too?
 
 Ah, define proper. With Qt Creator 1.3 you can get quite some way with 
 ctrl+shift+R (Rename Symbol) and ctrl+shift+U (Find Usages). See the context 
 menu of the code editor.
 
  JB
  On Thu, Feb 4, 2010 at 12:24 AM, Jefferson Bandeira jbsi...@ufrj.br wrote:
  Hello guys =)
  Is there any work currently going on to add a functionality like this to Qt 
  Creator, like the one in eclipse?
  --
  Jefferson Bandeira
  Undergraduating in Computer Science at UFRJ
 
 
  ___
  Qt-creator mailing list
  Qt-creator@trolltech.com
  http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
  ATT1..txt
 
 --
 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
 
 ATT1..txt

-- 
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] Compiling Creator as 32bit on OSX Snow Leopard

2010-02-05 Thread Eike Ziller
Hi,

On Feb 5, 2010, at 2:39 PM, ext Danny Price wrote:

 What's the simplest way to build Creator and all it's plugins as 32bit carbon 
 on 10.6?

The simplest way should be to qmake  compile it with a Qt that is configured 
that way. I.e. the default Qt/Mac binary packages are built for 32bit Carbon, 
intel + ppc. Building any Qt app against it (if you don't explicitly set 
architectures in CONFIG), will produce binaries with the same configuration.

 I tried it niavely last night by adding CONFIG += x86 to all the .pro files 
 but I still got 'incorrect architecture' type errors from make.
 
 I want to build Mac versions of some 3rd party plugins that will work with 
 the 'standard' version of Creator (32bit Carbon).
 ATT1..txt

-- 
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] Bug reports

2010-02-04 Thread Eike Ziller
On Feb 3, 2010, at 9:34 PM, ext Charles N Burns wrote:

 
 
 On Wed, Feb 3, 2010 at 2:23 AM, Eike Ziller eike.zil...@nokia.com wrote:
 
 On Feb 2, 2010, at 8:58 PM, ext Charles N Burns wrote:
 
  Thank you for the reply. I will file a report on the few issues which
  were not a misunderstanding of my own.
 
  Regarding #4, whitespace:
 
  4) The option [Text Editor -- Behavior -- Clean Whitespace] is very
  useful, but it should not clean the whitespace of the currently active
  line of text. I often save with CTRL+S, and when I do this, the
  indentation of my current line (If otherwise blank) is lost. This can
  be annoying when saving a lot right before adding a new line.
 
  How could it be possible to know if you intend to continue typing or not?
  If you are annoyed by that, perhaps doing it explicitly Clean 
  Whitespace instead of the automatic cleaning on save works out for you.
  Either invoke it from the Menu (Edit-Advanced-Clean Whitespace),
  or assign a keyboard shortcut of your liking to it 
  (Tools-Options-Environment-Keyboard, type Clean Whitespace as a 
  filter for the list, assign a shortcut), and use that.
 
  What I had in mind was Clean whitespace unless it is to the left of
  the keyboard cursor.
  This way, unnecessary whitespace would be removed, but it would not
  require manual re-indentation of the current line of code every time
  it's saved.
 
 Yes, but in case you pressed return to create a new line, but don't intend 
 to continue writing there, not cleaning the whitespace on the line of the 
 cursor is wrong:
 Press return (getting indented new line), save, go to a different file. 
 Later you find out that Clean Whitespace didn't do it's job, without any 
 hint why.
 (Ever added a new line to make code visually a bit more separated?)
 
 

 True, though that could be solved by making any action other than typing code 
 into that line (saving, moving the cursor to a different line, even viewing a 
 different file) remove the space.

Unfortunately not:
Add line. Save. Move to a different file - if at this point the whitespace is 
removed, that change is not saved! I don't think delayed second saving is 
what we want either. And if the change is not saved, moving away from a file 
would mark it as modified, which would be very weird.

By the way, vim solves this issue by having the user explicitly state that 
they stop editing a file, before they can even save it. I don't want to go that 
way either :)

 I think it would be a nice option as a check box under Clean Whitespace, 
 maybe Exclude current line or something. I don't want to encourage 
 featuritis,

But you do ;)

 but I suspect many people save frequently and would find this a nice minor 
 time saver.

I do save frequently, too. I fear that we have to live with the minor 
annoyance, since there seems to be no better solution, really. And for people 
who are too annoyed, there's still the option not to clean whitespace 
automatically, but to do that manually, completely under your control.

 If you disagree, that's okay too. You and your team obviously know what you 
 are doing in making an IDE, and I'll certainly still use Qt Creator.

Thank you a lot!

Regards,
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] Add Getters and Setters in Qt Creator

2010-02-04 Thread Eike Ziller
Hi,

On Feb 4, 2010, at 1:40 AM, ext John Bull wrote:

 And proper refactoring(/renaming) too?

Ah, define proper. With Qt Creator 1.3 you can get quite some way with 
ctrl+shift+R (Rename Symbol) and ctrl+shift+U (Find Usages). See the context 
menu of the code editor.

 JB
 On Thu, Feb 4, 2010 at 12:24 AM, Jefferson Bandeira jbsi...@ufrj.br wrote:
 Hello guys =)
 Is there any work currently going on to add a functionality like this to Qt 
 Creator, like the one in eclipse?
 -- 
 Jefferson Bandeira
 Undergraduating in Computer Science at UFRJ
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ATT1..txt

-- 
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] Bug reports

2010-02-03 Thread Eike Ziller

On Feb 2, 2010, at 8:58 PM, ext Charles N Burns wrote:

 Thank you for the reply. I will file a report on the few issues which
 were not a misunderstanding of my own.
 
 Regarding #4, whitespace:
 
 4) The option [Text Editor -- Behavior -- Clean Whitespace] is very
 useful, but it should not clean the whitespace of the currently active
 line of text. I often save with CTRL+S, and when I do this, the
 indentation of my current line (If otherwise blank) is lost. This can
 be annoying when saving a lot right before adding a new line.
 
 How could it be possible to know if you intend to continue typing or not?
 If you are annoyed by that, perhaps doing it explicitly Clean Whitespace 
 instead of the automatic cleaning on save works out for you.
 Either invoke it from the Menu (Edit-Advanced-Clean Whitespace),
 or assign a keyboard shortcut of your liking to it 
 (Tools-Options-Environment-Keyboard, type Clean Whitespace as a filter 
 for the list, assign a shortcut), and use that.
 
 What I had in mind was Clean whitespace unless it is to the left of
 the keyboard cursor.
 This way, unnecessary whitespace would be removed, but it would not
 require manual re-indentation of the current line of code every time
 it's saved.

Yes, but in case you pressed return to create a new line, but don't intend to 
continue writing there, not cleaning the whitespace on the line of the cursor 
is wrong:
Press return (getting indented new line), save, go to a different file. Later 
you find out that Clean Whitespace didn't do it's job, without any hint why.
(Ever added a new line to make code visually a bit more separated?)

 The remaining extra whitespace on that line, if any, could be cleaned
 up when the user presses enter.
 
 Best regards,
 --Charles N. Burns
 ___
 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] Updated .user-file saving mechanismn

2010-02-03 Thread Eike Ziller

On Feb 3, 2010, at 9:42 AM, Hunger Tobias (Nokia-D/Berlin) wrote:

 On 02.02.2010 19:22, ext Danny Price wrote:
 [...]
 I have to set build settings and project dependencies (where
 possible) in the .pro files.
 
 Yes, information meant to be shared in a team is better kept in the 
 build system itself. Dependencies can e.g. get encoded by SUBDIRS 
 template in .pro-files (which can then be shared in a team).


And doing that you can even get the most out of parallel compilation, because 
if you define the dependencies in the build system, the build system will be 
able to figure out what parts can actually be done in parallel.
Have a look at Qt Creator's src/plugins/plugins.pro .
http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/plugins/plugins.pro

As a side note: SUBDIRS is a bit misleading, because you actually can specify 
any pro files as well:
SUBDIRS = part1.pro part2.pro relativepath/part3.pro 

-- 
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] Updated .user-file saving mechanismn

2010-02-03 Thread Eike Ziller

On Feb 3, 2010, at 10:20 AM, ext Danny Price wrote:

 
 
 On Wed, Feb 3, 2010 at 8:42 AM, Tobias Hunger tobias.hun...@nokia.com wrote:
 On 02.02.2010 19:22, ext Danny Price wrote:
  I'm so used to trashing those files I've almost stopped thinking about it :(
 
 In which situations do you trash those files? I have not had complaints
 about those files breaking. The exception being going back and forth
 between stable and unreleased versions of creator. My change should
 improve this situation a bit by keeping the stable versions .user-file
 around. So now you can at least copy the old version's file back when
 heading back to a stable release.
 
 When working with nested subdir projects, I often get 'executable not found, 
 permissions wrong?' type errors when trying to run the binary.

Qt Creator creates run configurations for all TEMPLATE=app pro files.
Check what you active run configuration is in that case. If you regularly 
remove .user files, that setting will be lost of course, ending up with Qt 
Creator choosing one. Which seems to be the wrong one for you.

 Creator's support for subdirs is flakey at best (see below) so I often have 
 to open the project itself seperately so that it is top level. This must 
 confuse the user file as I have to delete it and reload the project to get 
 the program to run again.
 
 I've also had issues where builds will fail for strange reasons in which case 
 trashing the use file again solves the problem. When in doubt, trash the file.

When in doubt, save the old .user file, close Qt Creator or the project (to get 
the new .user file written), file a bug report, with attached .user files, and 
a good description of what you did, what your state is now (e.g. active build + 
run configurations), what should happen, and what happens instead.

  And Creator's issue with failing to relink with changed code means that a 
 build is often not sufficient; you have to do a rebuild!

If your code is not relinked (e.g. to static libs) correctly, then this is 
either a bug with qmake not creating the right dependencies in the Makefiles, 
and you should file a bugreport for project Qt, component Build System; or 
it is missing/wrong PRE_TARGETDEPS / DEPENDPATH settings in your pro files.
(There were already some threads about this on this list.)

 Everyone seems to use subdirs in Creator including the Nokia guys at the Dev 
 Days and the KDAB courses I have attended. And all of them seem to be 
 suffering the same issues. I don't think anyone uses sessions with flat 
 projects.
 
 The only reason I stick with Creator after all of this is because of the 
 superior code editor, auto-complete and the suckiness of XCode.

-- 
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 set version in tools/option

2010-02-02 Thread Eike Ziller

On Feb 1, 2010, at 7:08 PM, ext Arun wrote:

 Hi All,
 Please guide how to define version for QT Creater.

http://doc.qt.nokia.com/qtcreator-1.3/creator-version-management.html

Best regards, Eike

  
 I get error as:
  
 No valid Qt version set. Set one in Tools/Options
 Error while building project GUIAPP
 When executing build step 'QMake'
 Canceled build.
  
 I use QT with minGW in windows XP.
  
 Thanks in advance
  
 regards,
 arun
  
 ATT1..txt

-- 
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] File uploading with USB using OBEX, preferable without PCSuite

2010-02-02 Thread Eike Ziller

Hi,

On Feb 2, 2010, at 8:45 AM, Kleint Friedemann (Nokia-D-Qt/Berlin) wrote:

 Hi,
 
 On Feb 2, 2010, at 4:15 AM, ext Krishna Achugatla wrote:
 
 
 I want to start working with the Qt-Creator feature File uploading with
 USB using OBEX, preferable without PCSuite. Below I mention the idea of
 my approach. Please let us know if the approach is right.
 
 On the target (device) side, PC suite service supports the data transfer
 using OBEX with USB connection. It is mentioned in the wiki of
 usbservices package
 https://developer.symbian.org/wiki/index.php/USB_Services_Package(usbservi
 ces) (look for the PC Suite section). On the host (PC) side, PCCAPI from
 forum nokia
 (Nokia_PC_Connectivity_API_3.2.ziphttp://sw.nokia.com/id/502d4c5f-6f1f-4b
 0f-b1a4-ef282259fb7c/PC_Suite_Connectivity_API_3.2.zip) gives the
 connection framework for communication with device using USB. The idea is,
 Qt-Creator using the PCCAPI on the host, able to communicate to the device
 and transfer the file. This way the dependency on the PC Suite application
 on the host can be avoided.
 
 Are we in the right direction or totally out of sync?.
 
 Qt Creator currently communicates via Trk (not requiring PC suite to be 
 installed).

The only thing Qt Creator needs at the moment from PCSuite/OviSuite is the 
device driver.
Which is probably also available independently.

 In the source tree, under tests/manual/trklauncher, there is a 
 little command line tool called trklauncher that can be used to transfer 
 installation packages and install them. It should be much less work to  
 modify 
 this tool to be able to copy arbitrary files.

The advantage of using OBEX would be the faster upload though (some factor 7 or 
8 afair).
I had a look at PCCAPI and hesitated to pursue that further since it is pure 
Windows API, plain OBEX would probably be easier to port+maintain in the future.

The funny part is that if you happen to have PCSuite installed (and most 
probably running), it blocks the OBEX channel. No idea if this is different for 
the PCSuite connectivity API.

-- 
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] Bug reports

2010-02-02 Thread Eike Ziller
Hi,

On Feb 1, 2010, at 7:05 PM, ext Charles N Burns wrote:

 I really enjoy the use of Qt Creator, and want to help how I can by
 reporting some minor bugs I've come across. Please let me know if
 these are misunderstandings on my part.

Thank you for the feedback, if you use bugreports.qt.nokia.com to report the 
issues, the chance of them being lost is reduced :)

 1) When I add a new file with [right click -- add new], the default
 folder is not the project folder, but its containing folder. Seems
 non-intuitive.

That bug occurs if you say add new in the context menu of the category 
folders (like Form Files, Source Files etc). Works if you add new from 
the context menu of the project node.
Actually there's a open task for that, see e.g. 
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-403

 2) In the form designer, it doesn't seem possible to drag a QLabel to
 the status bar control. This can be done in code, but then the UI
 details are divided between several files necessarily. This is more a
 feature request.
 
 3) In the form designer, when placing a layout [A] within another
 layout [B], it seems nearly impossible to place a control or other
 layout into [A], because [B] takes all available room. It seems more
 intuitive to me to leave some drag to space on both sides.

These would be requests for project Qt component Designer at 
bugreports.qt.nokia.com.
Regarding 3), actually there is some drag space, and the place where a 
control will be added is indicated by a (red?) line. It might be that it has 
its issues though.

 4) The option [Text Editor -- Behavior -- Clean Whitespace] is very
 useful, but it should not clean the whitespace of the currently active
 line of text. I often save with CTRL+S, and when I do this, the
 indentation of my current line (If otherwise blank) is lost. This can
 be annoying when saving a lot right before adding a new line.

How could it be possible to know if you intend to continue typing or not?
If you are annoyed by that, perhaps doing it explicitly Clean Whitespace 
instead of the automatic cleaning on save works out for you.
Either invoke it from the Menu (Edit-Advanced-Clean Whitespace),
or assign a keyboard shortcut of your liking to it 
(Tools-Options-Environment-Keyboard, type Clean Whitespace as a filter for 
the list, assign a shortcut), and use that.

 5) When adding an existing Designer form with [right click on Forms
 -- add new], the form (which is a header file) is added as a header
 file, not as an abstracted foo.ui.

Whatever you create, the generated file(s) are sorted into the different 
categories by file type. It is a bit confusing that you can create a .h file 
from the dialog that you get when saying add new from the Form Files 
category folder, though. If you create a Qt Designer Form Class, three files 
will be created (.h, .cpp and .ui), which are sorted into the different 
categories (Headers, Sources, Forms).

Regards, 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] Qt Creator on Mac crashes

2010-01-29 Thread Eike Ziller
On Jan 29, 2010, at 6:33 AM, ext Adam M wrote:

 I've been using Qt Creator supplied with the 2009.05 SDK and it worked
 fine. I've installed the 2010.01 SDK and now Qt Creator crashes on start.
 
 Does the 2010.01 SDK still support OS X 10.4 ?
 If yes, I'll supply the crash backtrace.

It should, backtrace please :)

-- 
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] code completion anomaly

2010-01-29 Thread Eike Ziller

On Jan 29, 2010, at 2:14 PM, ext Danny Price wrote:

 Creator seems to have issues with nested classes. It actually used to crash 
 in this case but that bug was fixed (once I finally convinced Nokia it was a 
 problem...).

I don't think you convinced the company Nokia - most of the company will not 
even read your bugreport or this mailing list. You might have convinced some Qt 
Creator devs though.

 Some people actually like to use trivial nested classes to aid in code 
 completion. It can be convenient to type in something like aaa. and then 
 quickly choose what you want. Think of it as a namespace within a class.
 
 You should write code based on best coding and design practice, not to adhere 
 to the whims of a particular IDE's syntax completion.

What does that have to do with any particular IDE?

 Class nesting is like function nesting in old C - it get's out of control 
 fast. Pmpl is an exception (and in that case the class is defined within the 
 cpp file anyway). For most other cases, class friendships are better.


Friend declarations get out of control even faster.
As with almost all programing concepts it's all about having guidelines for the 
concept's uses, so they don't get out of control.
That applies to the examples above too, both friend declarations and nested 
classes.
BTW, nested classes (and structs and enums in classes) are used at several 
places throughout Qt and Qt Creator, exactly for namespacing + encapsulation.

-- 
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] Macro plugin 0.2

2010-01-29 Thread Eike Ziller
Hej,

On Jan 29, 2010, at 3:32 PM, ext Nicolas Arnaud-Cormos wrote:

 On Friday 29 January 2010 15:14:45 Kuiper, Luuk wrote:
 Nicolas,
 
 How to use the search function within macros, as you mention in your
 announcement?
 
 Ctrl+F, the normal shortcut, then type your text. You can then use F3 to 
 search next.
 I'm just filtering the events and using my own not so good search.
 
 Unfortunately, for the moment I'm unable to use the search from Qt Creator 
 (or 
 if it's possible, I didn't find how yet). That's on my todo list (first item 
 currently) for this plugin.

Generally speaking you need to attach a Find::IFindSupport implementation to 
your widget that has focus when the user presses ctrl+f. And provide a place 
for the find tool bar to show up by adding a Core::FindToolBarPlaceHolder into 
your layout.

Look how it's done e.g. for the Compile Output pane:
The OutputPaneManager adds a FindToolBarPlaceHolder for all output panes to 
it's layout:

outputpane.cpp:
OutputPaneManager::OutputPaneManager(QWidget *parent)
{
...
mainlayout-addWidget(new Core::FindToolBarPlaceHolder(this));
...
}

The CompileOutputWindow itself specifies the IFindSupport to use by coupling 
the widget with the IFindSupport instance:

compileoutputwindow.cpp:
CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
{
...
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg-add(m_textEdit);
agg-add(new Find::BaseTextFind(m_textEdit));
}

(BaseTextFind is an implementation of IFindSupport for QTextEdit and 
QPlainTextEdit.)
(Aggregate is used to combine several QObjects into one, that can then be 
cast to each other with Aggregation::queryPointerType(object), see the 
documentation in aggregate.cpp .)

Good luck!
-- 
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-Eclipse - How set qmake location in Eclipse ?

2010-01-26 Thread Eike Ziller

On Jan 22, 2010, at 5:59 PM, ext Ed Sutton wrote:

 How do I set the qmake path location in Eclipse ?
 
 Eclipse is still looking at my old Qt install location and I get the 
 following error when building inside qt-eclipse:
 
 Cannot run program /home/esutton/qtsdk-2009.03/qt/bin/qmake: Unknown reason
 
 I want to set it to: 
 
 /opt/qtsdk-2010.01/qt/bin

Funny question for this mailing list ;)

As far as I remember, there's a Qt Versions preference setting in 
Tools-Options (similar to how it is done in Qt Creator).

++ Eike

 
 As usual, Qt Creator works great !  Thanks for a great IDE !
 
 
 
 ___
 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] qt-creator 1.3.1

2010-01-26 Thread Eike Ziller

On Jan 23, 2010, at 5:24 PM, ext paulo wrote:

 Hi,
 
 apparently qt-creator 1.3.1 improved or added something for small displays.
 Dos anyone knows what? Since I'm trying it, and I have a small display 
 (12) but I can't see any option, or other, related with small screens.

Since Qt Creator 1.3.0, the layouts have been made adaptable, such that they 
should resize in a reasonable way.
E.g. the mode tabs (in the left hand side tool bar) now resize their height if 
there is not enough vertical space.

No option, automatic behavior.

++ Eike

 Thanks
 cheers,
 paulo
 ___
 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] Mouse Clicks Misbehaviour in latest QtCreator

2010-01-26 Thread Eike Ziller
Hi,

On Jan 25, 2010, at 6:35 AM, ext Victor Sardina wrote:

 Eike:
 
 I want to happily report that I pulled all the latest commits to the
 4.6-stable branch and recompiled both, Qt and Qt-Creator under Snow
 Leopard (with -cocoa). It looks like you guys took care of the mouse
 click glitches and probably a lot more: everything appears to work as we
 expect it to.
 
 I also have everything recompiled under RedHat (RHEL5) and it works
 flawlessly, at least within the limits of my ignorance, namely, as long
 as you don't reach my incompetence level...:-)
 
 I wouldn't mind trying it under Solaris as well, except that compiling
 Qt in one of those servers takes like 16 hours...and besides, I can't
 afford messing up one of those systems.
 
 Thank you to all of you for the great work you do.
 
 Victor
 
 PS:
 
 A semi-dumb question: What Qt branch should we compile that still allows
 us to build Qt-Creator while getting the latest Qt goodies as well?
 
 I have settled for the 4.6-stable branch in this case (in has worked in
 all platforms I have tried it), but maybe another branch seems more
 appropriate?
 
 Do you have a description of the currently available git branches?

4.6 should be quite stable, 4.6-stable is always a little bit behind for not so 
much gain nowadays.

If you want to check out the newest fancy Qt API's, and are not afraid of one 
or the other glitch you can also use master. Don't use master-stable.

++ Eike

 Eike Ziller wrote:
 Hi,
 
 On Jan 2, 2010, at 1:59 AM, ext Victor Sardina wrote:
 
 Fellows:
 
 I upgraded my Qt and QtCreator installation on Mac (Snow Leopard) just a
 couple of days ago. I compiled and installed Qt-4.6 (4.6.1-Stable branch
 from the git repository), and then compiled QtCreator 1.3, also the
 latest from its corresponding git repo. I had to do this because some
 new features introduced in the 4.6 branch that the latest QtCreator uses.
 
 I compiled everything in 64 bit passing the -cocoa flag to the configure
 script.
 
 there were and are some problems with Cocoa enabled Qt versions, that are 
 exposed by Qt Creator.
 Please see http://bugreports.qt.nokia.com/browse/QTCREATORBUG-367
 Many of these problems were present in the 4.6.0 release of Qt, many have 
 been fixed in the meantime.
 
 I had some glitches when compiling Qt, apparently due to some
 include path order in the webkit module that conflicted with the mysql
 plugin.h file. In fact, Thiago Maceiera posted something about mysql
 using an include file like config.h at
 http://bugreports.qt.nokia.com/browse/QTBUG-6351.
 
 It looks like Qt would include the mysql file due to some search path
 order issue. I went around it after doing some reading by renaming the
 plugin.h inside the mysql include folder to something else before
 continuing the compilation, and then building the mysql plugin by hand
 after moving the renamed file back to plugin.h. After that both Qt and
 QtCreator installed just fine.
 
 All that I have an idea how it should work appears to continue to work
 as usual, except for the mouse clicks inside QtCreator's editor Select
 a symbol pull down menu: I cannot select anything, as though the editor
 remains oblivious to the click. The pull down does display the list of
 available functions et al., but I cannot select anything to navigate to
 unless I press the arrow keys and then select something by pressing
 return. This turns a little bit annoying.
 
 Furthermore, if you right-click to display the Sort alphabetically
 menu you cannot toggle it via a mouse click either. If you right-click
 inside the Sort alphabetically menu again then another pop up menu
 displaying Sort alphabetically shows up, which you cannot toggle via
 the mouse either.
 
 Inside QtDesigner, for instance, a right click brings up a menu, and
 after clicking at least once you can select items the usual way, but not
 on QtCreator.
 
 This appears to indicate some problem with the handling of the mouse
 actions.
 
 Has this something to do with new features introduced in /Qt or QtCreator?
 
 Has anyone seen something like this, or knows a way to fix it, as yet?
 
 Regards,
 Victor
 victor_sardina.vcfATT1..txt
 
 
 victor_sardina.vcfATT1..txt

-- 
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] Problems with Dockwidgets

2010-01-22 Thread Eike Ziller
On Jan 22, 2010, at 12:31 AM, ext Ken Ray wrote:

 Looks like my message didn't make it.  
 
 I found the solution and it definitely related to Creator and to user lack of 
 knowledge of Creator. I'm a bit surprised that I was sent on a wild goose 
 chase to resolve this.
 
 The answer was surprisingly simple.  All I had to do was modify the 
 minimumSize.Width property to the size that I wanted and the geometry.Width 
 picked it up.  It seems kinda silly to have several different areas to set 
 the width of the widget i'm playing with, Min size, Max size make sense. But 
 adding a geometry completely messed me up here. Can anyone explain what the 
 rational is here .

The relationships in Qt between geometry, size hint, size policy, minimum and 
maximum size are sometimes not obvious.
Trying to wrap it up a little bit, but be sure that what I say isn't the whole 
story:
* You have to distinguish between a widget that is added to a layout or not 
(dockwidgets are in a layout).
* No layout: geometry defines the size of the widget, constrained by minimum 
and maximum size.
* In a layout: the layout takes the size hint from the widget (a size 
calculated by the widget itself, in case of a dockwidget that depends on the 
layouts and widgets inside the dockwidget), and depending on the size policy 
(http://doc.qt.nokia.com/4.6/qsizepolicy.html#Policy-enum), and depending on 
all the size hints and policies of other widgets in the layout, calculates the 
actual size of the widget, which is again constrained by minimum and maximum 
size. After that the geometry property reflects the size of the widget.

So, the moment a widget is contained in a layout, its geometry is actually a 
read-only property.

Designer actually sets the geometry property to read-only if you add a widget 
to a layout. Seems that you hit a bug that Designer doesn't do that when you 
add a dockwidget to a QMainWindow.

You can find a bit more detail (also mentioning stretch factors) e.g. here 
http://doc.qt.nokia.com/4.6/layout.html

 Also, when I set the minimum width I got a vertical line on the right side of 
 the dockWidget... something I've been trying to figure out how the sample did 
 it, but with no luck. 
 
 So I'm currently back playing with Creator and QT.  Are there be any relevant 
 books or tutorials dealing with this ?
 
 Ken
 
 
 On Jan 21, 2010, at 2:46 PM, Danny Price wrote:
 
 We'll still be here when you come back :)
 
 On 21 Jan 2010, at 22:09, Coda Highland wrote:
 
 On Thu, Jan 21, 2010 at 3:11 PM, Ken Ray k...@ishere.com wrote:
 I tried qt-interest and not much of a response. Note that this test app 
 I'm trying to build is just like the fontsampler demo that comes with 
 creator/QT.  I'm trying to duplicate the dockwidget on the left. How did 
 fontsampler get around this problem ?   It seems to me that if Creator 
 can't hold a layout for more than a few clicks there is a serious flaw. It 
 makes working with all the contents related to that dockwidget a pain in 
 the ass.
 
 I'm going to go play with Mono now to see how there stuff is .
 
 I want some cross platform development that is stable. but if none is 
 stable , then I guess it's back to VS .net ..
 
 Mono is pretty gimped, sadly. Most of the good .NET stuff is
 Microsoft-only junk that's only available on Windows. Even Java would
 be preferable to .NET if you want cross-platform compatibility.
 
 You happened to hit on the one thing I don't like about Qt: dock
 widgets. I've never had a lot of luck with them, and when I do use
 them I develop with code, not Designer. There's several things that
 they don't do quite right. But don't let that one widget turn you off
 to the toolkit as a whole. Qt's very stable and very robust, and it's
 the best toolkit available for writing apps that look native on all
 supported platforms.
 
 Consider possibly using some other solution if dock widgets in
 Designer aren't working for you. Maybe construct the dock widgets in
 code, or maybe use some non-docking solution.
 
 /s/ Adam
 
 ___
 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

-- 
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] CppSupport Plugin 1.3.x for Qt Creator

2010-01-22 Thread Eike Ziller

On Jan 21, 2010, at 8:45 PM, ext Danny Price wrote:

 I tried building the plugin but I get this error:
 
 /Users/ks/Downloads/cppsupport-1.3.1-src/src/plugins/cppsupport/cppsupportplugin.h:33:
  error: extensionsystem/iplugin.h: No such file or directory

A little bit more context around the error, like the g++ line that was executed 
by make, might help tracking down the problem.
Also it's usually a good idea to look for warnings when running qmake, some 
things that should be errors IMO are sometimes only warnings with qmake.

++ Eike

 On 21 Jan 2010, at 11:44, visual fc wrote:
 
 I only test build for win32 and linux 64bit. 
 
 http://code.google.com/p/visualfc/downloads/list
 
 Only win32-plugin and all platform source.
 
 You can download Qt Creator source and cppsupport source to build.
 
 Git url :
 http://gitorious.org/~visualfc/qt-creator/qt-creator-cppsupport
 
 
 
 2010/1/21 Danny Price deepblue...@googlemail.com
 Wonderful! Can you please provide OSX and Linux binaries? I don't see why I 
 need to build Creator as well.
 
 
 On Thu, Jan 21, 2010 at 8:03 AM, visual fc visua...@gmail.com wrote:
 Hi all.
 
 CppSupport is a QtCreator Plugin for C++ Class View
 
 Downloads:
 http://code.google.com/p/visualfc/downloads/list
 
 Git source url
 =
 git:git://gitorious.org/~visualfc/qt-creator/qt-creator-cppsupport.git
 branch: cppsupport cppsupport-1.3.1 cppsupport-1.3.0
 
 Auchor
 =
 Author: visualfc
 Email : visua...@gmail.com
 Latest: 2010.1.21
 
 
 Install win32-plugin
 =
 Install qt-creator-win-opensource-1.3.0.exe
 Copy win32-plugin/cppsupport to qtcreator-1.3.0/lib/qtcreator/plugins/
 Run qtcreator.exe
 
 
 Compiling source
 
 You need Qt 4.6 and Qt Creator Source to build Qt Creator and CppSupport 
 Plugin
 
 Download qt-creator-1.3.x-src.zip
 Copy src/plugins/* to qt-creator-1.3.x-src/src/plugins/
 Build qt-creator-1.3.x-src
 
 
 ___
 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
 
 ATT1..txt

-- 
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] QtCreator 1.3.1 Can not normally exit

2010-01-21 Thread Eike Ziller

On Jan 20, 2010, at 11:06 AM, ext Biao Huang wrote:

 Platform: Snow Leopard (Mac OSX 10.6.2)
 QtCreator 1.3.1 Can not normally exit, it's shown still open when QtCreator 
 1.3.1in the Dock.
  The operation of forced quit must be executed if you want to quit QtCreator 
 1.3.1.
 ATT1..txt

Could you please check if it relates to this issue: 
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-387

Thanks,


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

2010-01-19 Thread Eike Ziller

We're pleased to announce the release of updates to Qt Creator: the IDE for Qt 
development. Also released are updates to Qt, the Qt Visual Studio Add-in and 
the Qt Eclipse Integration, as well as a new build of the Qt SDK.

All new releases are also available for download from Qt's new domain at 
http://qt.nokia.com/downloads.  


Qt CREATOR CHANGES
--
Qt Creator 1.3.1 includes bugfixes made since the release of Qt Creator 1.3.0. 
For detailed information, browse the information contained in the Developer 
Zone at: http://qt.nokia.com/developer/changes/changes-qtcreator-1.3.1.

HOW TO REPORT BUGS
--
Any problems encountered 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 1.3.1!

--
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] Script manager

2010-01-14 Thread Eike Ziller
Hi,

On Jan 12, 2010, at 12:30 PM, ext Nicolas Arnaud-Cormos wrote:

 On Tuesday 12 January 2010 12:11:53 Eike Ziller wrote:
 I would like to create some simple scripts to do some repetitive tasks
 for my  daily work, and I was thinking of creating a script plugin (where
 the user can access the current editor and the actionmanager for
 example).
 
 Uh, what do you need the action manager for, for daily work? :)
 
 We are porting application (from Motif to Qt for example) and porting has a 
 lot of repetitive task.
 For example, changing a callback (myCallback) in a slot (mySlot) , which 
 involves:
 * renaming it in the header
 * moving it to public slots or whatever
 * removing parameters
 * switching to the source
 * renaming
 * removing parameters 
 * ...
 
 With a script interface, it would be easy to do such a thing, I just need to 
 be able to access the editor and the actionManager (to switch header).
 
 Im' thinking of a script like (that's just to give you an idea, it would be 
 more complicated):
 currentEditor.replace(myCallback, mySlot);

 actionManager.execute(CppEditor.SwitchHeaderToSource);

Using the action manager for invoking operations is most probably not the best 
thing to do (though it would probably be the easiest to implement).
E.g. specifically in this example, the SwitchHeaderToSource action is 
disabled if the editor doesn't also has keyboard focus. In other cases the 
actual action that would be invoked also depends on the current focus, or even 
a more abstract context. This can be actions in completely different plugins 
(described in the API documentation of ActionManager).
So you'd probably want a designated script method for switching header/source 
that has a more consistent behavior (in your case 
cpptoolsplugin.switchHeaderSource() would do the thing, because it works on the 
current editor. On the other hand we don't guarantee stable API (especially 
not for these kind of slots), so use at your own risk :)

 ...
 
 We need a lot of these little scripts to help us being productive, and having 
 a script plugin would be far way easier than creating a specific C++ plugin.
 Imagine now that I call this script callbackToSlot.qs, put it in a script 
 directory (that the plugin know), I could do:
 * shortcut to excute the script (I'm thinking of Alt+space)
 * a combobox with completion is shown
 * callbackToSlot + Enter
 * the callback is change in a slot, in the header and source file.
 
 Note that's something we are already doing with xemacs, I'm just looking to 
 Qt 
 Creator to replace xemacs in my daily work.
 Anyway, if there's nothing yet, I'll start my own one.
 
 Thanks,
 Nicolas

-- 
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] Script manager

2010-01-12 Thread Eike Ziller

On Jan 11, 2010, at 11:08 PM, ext Nicolas Arnaud-Cormos wrote:

 Hi,
 
 I would like to create some simple scripts to do some repetitive tasks for my 
 daily work, and I was thinking of creating a script plugin (where the user 
 can 
 access the current editor and the actionmanager for example).

Uh, what do you need the action manager for, for daily work? :)

 I'm seeing a script manager in the source code. Are you working on a script 
 interface?

Not actively. We had the idea to use QtScript for scripting since quite a long 
time, but manually maintaining a script wrapper didn't quite work out. (And 
priorities moved in other directions.)

 Also, it looks like it's not use at all, is it work in progress or something 
 else?



-- 
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] Editing widget rendering problems

2010-01-06 Thread Eike Ziller
://kalpa.ru
 ATT1..txt

-- 
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] Intel Compiler and C++0x?

2010-01-06 Thread Eike Ziller

On Jan 6, 2010, at 4:45 PM, ext Coda Highland wrote:

 No, I mean your chosen Qt mkspec. The default is usually something
 like linux-g++ or macx-g++ or win32-msvc or something; there's also
 linux-icc, macx-icc, and win32-icc that will use icc as the C/C++
 compiler. I will note that these aren't officially supported as far
 as I know so you're sort of operating at your own risk.
 
 Unfortunately I don't know how to select a different makespec in
 Creator

You can do it in Qt Creator by passing -spec yourspecialmkspec as additional 
arguments to the qmake spec in your project's build configuration(s). That 
will override the default. The binary compatibility comment below still holds 
of course.

 (though if you poke around in the Qt Versions preferences pane
 or the Project view you can see the makespec it's using). It should
 work, though, if you build Qt using that spec as default (that is,
 pass -spec macx-icc to Qt's configure). Building your Qt project at
 the command line you can try qmake -spec macx-icc -- do note that
 I'm not sure that icc and gcc are binary-compatible so this may or may
 not work with a standard Qt build.
 
 /s/ Adam
 
 On Wed, Jan 6, 2010 at 9:05 AM, Danny Price deepblue...@googlemail.com 
 wrote:
 makespec? Do you mean a compiler flag? Do you know the flags in question?
 
 On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland c...@bobandgeorge.com wrote:
 
 On Wed, Jan 6, 2010 at 3:55 AM, Danny Price deepblue...@googlemail.com
 wrote:
 I would like to make use of C++0x in Creator.
 
 Is it possible to use Creator with the Intel compiler (available as a
 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax
 like 'auto' to MSVC?
 
 And what options exist for the OSX platform where the default toolset is
 Apple's GCC 4.2?
 
 It's possible by setting the appropriate makespec. Creator won't
 syntax highlight C++0x constructions and may flag some as errors, but
 if your compiler has support it will build.
 
 /s/ Adam
 ___
 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

-- 
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] Where is Console output in Mac Os version ?

2010-01-05 Thread Eike Ziller
Hi,

On Dec 25, 2009, at 12:15 PM, ext Rudenko Eugene wrote:

 Hello, I just installed latest snapshot for Mac Os and found that  
 there are no console output in left tollbar: console plane only in  
 bottom, no full-screen mode.

Qt Creator mainline doesn't have the Output mode any more. Instead you can 
maximize the output pane that you get with the buttons at the bottom, using 
the up-arrow icon in its tool bar (or cmd+9, I think).

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] Mouse Clicks Misbehaviour in latest QtCreator

2010-01-05 Thread Eike Ziller
Hi,

On Jan 2, 2010, at 1:59 AM, ext Victor Sardina wrote:

 Fellows:
 
 I upgraded my Qt and QtCreator installation on Mac (Snow Leopard) just a
 couple of days ago. I compiled and installed Qt-4.6 (4.6.1-Stable branch
 from the git repository), and then compiled QtCreator 1.3, also the
 latest from its corresponding git repo. I had to do this because some
 new features introduced in the 4.6 branch that the latest QtCreator uses.
 
 I compiled everything in 64 bit passing the -cocoa flag to the configure
 script.

there were and are some problems with Cocoa enabled Qt versions, that are 
exposed by Qt Creator.
Please see http://bugreports.qt.nokia.com/browse/QTCREATORBUG-367
Many of these problems were present in the 4.6.0 release of Qt, many have been 
fixed in the meantime.

 I had some glitches when compiling Qt, apparently due to some
 include path order in the webkit module that conflicted with the mysql
 plugin.h file. In fact, Thiago Maceiera posted something about mysql
 using an include file like config.h at
 http://bugreports.qt.nokia.com/browse/QTBUG-6351.
 
 It looks like Qt would include the mysql file due to some search path
 order issue. I went around it after doing some reading by renaming the
 plugin.h inside the mysql include folder to something else before
 continuing the compilation, and then building the mysql plugin by hand
 after moving the renamed file back to plugin.h. After that both Qt and
 QtCreator installed just fine.
 
 All that I have an idea how it should work appears to continue to work
 as usual, except for the mouse clicks inside QtCreator's editor Select
 a symbol pull down menu: I cannot select anything, as though the editor
 remains oblivious to the click. The pull down does display the list of
 available functions et al., but I cannot select anything to navigate to
 unless I press the arrow keys and then select something by pressing
 return. This turns a little bit annoying.
 
 Furthermore, if you right-click to display the Sort alphabetically
 menu you cannot toggle it via a mouse click either. If you right-click
 inside the Sort alphabetically menu again then another pop up menu
 displaying Sort alphabetically shows up, which you cannot toggle via
 the mouse either.
 
 Inside QtDesigner, for instance, a right click brings up a menu, and
 after clicking at least once you can select items the usual way, but not
 on QtCreator.
 
 This appears to indicate some problem with the handling of the mouse
 actions.
 
 Has this something to do with new features introduced in /Qt or QtCreator?
 
 Has anyone seen something like this, or knows a way to fix it, as yet?
 
 Regards,
 Victor
 victor_sardina.vcfATT1..txt

-- 
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 and qt macosx port

2009-12-21 Thread Eike Ziller

On Dec 20, 2009, at 10:30 AM, ext Lorenzo Bettini wrote:

 Eike Ziller wrote:
 On Dec 17, 2009, at 3:41 PM, ext Lorenzo Bettini wrote:
 
 Hi
 
 I've just started using an old imac and using the macosx port of qt 
 4.5.x... I've also installed the new qt 4.6 from the website, which 
 comes with qt-creator.
 
 When I'm using qt-creator, I'd like to use the macosx port version of 
 qt, however, when I select that qmake version, the qt-creator qt 
 settings dialog says that it says that qmake does not specify a valid 
 Qt installation and it won't use that qmake...
 
 For investigation what the problem is:
 
  * what is the qmake command called? There's a known problem in 1.3.0
that you cannot use e.g. qmake-4.5 or such, instead of qmake
(http://bugreports.qt.nokia.com/browse/QTCREATORBUG-463)
  * in Qt Creator 1.3.0, if you open preferences, Qt Versions,
what does the tool tip show if you hover ?
It should look something like the attached image.
 
 
 Hi Eike
 
 I don't have the mac with me right now, and won't have it till january; 
 but, from what you say, it looks like it's only a matter of creating a 
 softlink called qmake to qmake-4.5?

Yes, and typing the path to the qmake by hand in the preferences (instead of 
browsing with the Choose button, because that would resolve the symbolic link 
to qmake-4.5 first).

++ Eike

 cheers
   Lorenzo
 
 -- 
 Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
 HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
 BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
 
 ___
 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] Are the full Qt sources required to build Qt creator?

2009-12-21 Thread Eike Ziller

On Dec 20, 2009, at 10:36 AM, ext Lorenzo Bettini wrote:

 Josh wrote:
 Hi All,
 
 I'm trying to build qt-creator 1.3.0 from source (on linux). I have 
 built and installed Qt 4.6. I set the QTDIR env var to point to my Qt 
 install location and am using its qmake.
 
 It seems to be trying to include\build things that do not exist in my 
 QTDIR (ie. as part of the Qt install).

Qt Creator should build fine with the things in an installed Qt. What is it 
trying to use that doesn't exist?

++ Eike

 So, my question is, do I need to build qt-creator with the full sources 
 for Qt? Or can I build and install Qt, then build against that install? 
 The latter is not working for me but I might be missing something.
 
 Thanks for any assistance!
 
 Josh
 
 That's strange: I'm compiling qt-creator against the qt 4.6 version 
 downloaded from nokia site (but I've also been using the git version of 
 qt for months, when it hadn't still been released), and just by running 
 the qmake from qt 4.6 installation (without setting QTDIR), I've never 
 experienced any problem...  I then run the qtcreator shell script found 
 in the bin directory of the shadow build...
 
 Lorenzo
 
 -- 
 Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
 HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
 BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
 
 ___
 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] How to define the external editor

2009-12-21 Thread Eike Ziller

On Dec 21, 2009, at 10:42 AM, ext Kuiper, Luuk wrote:

 Hi all,
 
 A simple question (I think): how can I define what 'external editor' I want 
 to use, when using 'Open in External Editor'?

Preferences-Environment-General-External Editor.

 
 And, is it possible to define that all files, with file names matching a 
 certain pattern, to be opened
 automatically with that external editor?

Unfortunately we don't have any UI for defining the mime type - editor 
mapping in Qt Creator yet.

-- 
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] Some annoyances

2009-12-18 Thread Eike Ziller

On Dec 18, 2009, at 3:42 PM, ext John Vilburn wrote:

 In the few days I have been using Qt Creator (on the Mac), I have found it to 
 be friendlier than XCode, but with a few annoyances. My perception may be 
 influenced by my long-time use of Visual Studio. Anyway, here are the things 
 I have found. If you have any suggestions regarding them, I would be most 
 grateful.
 
 1. The selection list of member variables and methods above the editor window 
 appears to be in the order that they are found in your code. It would be 
 easier to find a method if the list were in alphabetical order.

Right-click, Sort alphabetically.

 2. The formatting of switch statements is impossible. The case lines are 
 indented one tab stop from the left edge of the paper, rather than being even 
 with the switch. This cannot be what was intended. Do I have a preference set 
 wrong?
 
 3.  I have chosen to save my filenames in mixed case. If I open a Foo.h, then 
 open Foo.cpp, then while in Foo.cpp use Switch between Method 
 Declaration/Definition, I get another copy of Foo.h opened, but it is listed 
 as foo.h (all lowercase) in the Open Documents window. If at this point I 
 modify foo.h, I get a message that Foo.h was modified outside of Qt Creator.
 
 Thank you for any suggestions regarding these items.
 John
 
 ___
 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] Some annoyances

2009-12-18 Thread Eike Ziller

On Dec 18, 2009, at 3:42 PM, ext John Vilburn wrote:

 In the few days I have been using Qt Creator (on the Mac), I have found it to 
 be friendlier than XCode, but with a few annoyances. My perception may be 
 influenced by my long-time use of Visual Studio. Anyway, here are the things 
 I have found. If you have any suggestions regarding them, I would be most 
 grateful.
 
 1. The selection list of member variables and methods above the editor window 
 appears to be in the order that they are found in your code. It would be 
 easier to find a method if the list were in alphabetical order.
 
 2. The formatting of switch statements is impossible. The case lines are 
 indented one tab stop from the left edge of the paper, rather than being even 
 with the switch. This cannot be what was intended. Do I have a preference set 
 wrong?
 
 3.  I have chosen to save my filenames in mixed case. If I open a Foo.h, then 
 open Foo.cpp, then while in Foo.cpp use Switch between Method 
 Declaration/Definition, I get another copy of Foo.h opened, but it is listed 
 as foo.h (all lowercase) in the Open Documents window. If at this point I 
 modify foo.h, I get a message that Foo.h was modified outside of Qt Creator.

Which version of Qt Creator do you use? I can't reproduce 2. and 3. with 1.3.0.

For me writing a switch statement results in

inline: switch.png



 
 Thank you for any suggestions regarding these items.
 John
 
 ___
 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] Failed to load core error

2009-12-14 Thread Eike Ziller
On Dec 13, 2009, at 11:25 PM, ext alex wrote:

 Hello!
 
 I have built the Qt Creator from gitorious from main line.  It builds 
 okay with Qt Creator 1.3 and Qt 4.6.  The problem that I am having is 
 that when I run it I get an error message Failed to load core: path to 
 plugins\Nokia\Core.dll: Cannot load library path to 
 plugins\Nokia\Core.dll: The specified module could not be found.  The 
 Core.dll and Core.pluginspec files are in the folder where all the 
 plugins are located.

Probably the runtime linker can't resolve some libraries. If you try to start 
Qt Creator from Explorer or a command line, make sure that the PATH environment 
contents the path to the Qt libs.

++ Eike

 
 Have anyone seen this problem before?  Am I missing some post-build step?
 
 Thanks,
 Alex
 
 
 ___
 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] Connecting signals from child thread with slots in main thread

2009-12-07 Thread Eike Ziller

On Dec 6, 2009, at 12:48 PM, ext Soumen banerjee wrote:

 In the files attached, mainwindow.cpp has the following line
 
 connect(ptr,SIGNAL(setlabel(int)),this,SLOT(setLabel(int)));
 
 where ptr is of type mythread* which is derived from QThread
 the application compiles without error but on running, quits with
 segfault. Omitting the connect line solves the problem but removes all
 the functionality. How do you connect these together?
 Regards
 Soumen

You don't give ptr a value before calling connect. Moving ptr=new 
mythread(this); before the connect statement (or something similar) should 
do it for you.

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com






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


Re: [Qt-creator] QtCreator 1.3 fixed font rendering broken in editor?

2009-12-01 Thread Eike Ziller

On Nov 30, 2009, at 8:01 PM, ext Martin Hauner wrote:

 Hi,

 On 30.11.09 10:25, Eike Ziller wrote:
 On Nov 28, 2009, at 6:00 PM, ext Martin Hauner wrote:
 I compiled Qt with Cocoa.. I guess it makes sense for me to check a
 Carbon
 version and see if it has the same issue. If not I will enter it  
 into
 into the
 bug tracker.

 I can confirm that this is a problem with a Qt built with Cocoa.
 Please see (and track)
 http://bugreports.qt.nokia.com/browse/QTCREATORBUG-381

 Hmm, do you confirm because of the issue or regardless of the  
 issue? ;)

 That's my screenshot in that issue...

I can reproduce this, so I created the issue on our bugtracker for it,  
attaching your screenshot.
And a video of mine :)

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Qt-creater and Mandriva 2010

2009-11-26 Thread Eike Ziller
Hi,

On Nov 26, 2009, at 12:57 AM, ext Phil wrote:

 Thank you for reading this.

 Not being able to leave well enough alone, I foolishly upgraded a  
 perfectly
 working version of Qt-creater 1.1.0 to the latest version 1.2.1

Where did you get it from? Your distribution, or the binary packages  
on qt.nokia.com?
And where did you install it, if you got a binary package from  
qt.nokia.com?

 which does
 not work because of:

 qtcreator: symbol lookup error:
 /usr/lib/qt4/plugins/Nokia/libProjectExplorer.so: undefined symbol:
 _ZN4Core5Utils15ParameterActionC1ERK7QStringS4_NS1_12EnablingModeEP7QObject

This libProjectExplorer.so looks as if that comes from your linux  
distribution.
So if you downloaded the binary packages from qt.nokia.com, that would  
mean that the wrong Qt Creator plugin is pulled in.
If you installed Qt Creator through your linux distribution, the error  
message would mean that a wrong libUtils (a Qt Creator library) is  
pulled in.

 A Google search shows that a bug report has been raised but without  
 any
 mention of a fix as yet.

Where do you read that?

 I also discovered that qt-creater-1.3.0-0.rc1.1 is
 available.

 I'm reluctant to download the release candidate or attempt to  
 download and
 reinstall the older version because I have a poor Internet  
 connection and I
 don't want to waste my valuable data allowance on something that may  
 not
 work.

 So, what's my best course of action to get any version of qt-creator  
 working
 again. Another thought, I could compile the source code, I probably  
 have all
 of the libraries tat are needed.

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Problema indexing files

2009-11-25 Thread Eike Ziller
On Nov 25, 2009, at 12:45 PM, ext Josep Perarnau wrote:

 Hi:

 I’ve a Project with different versions and branches. When I open Qt- 
 creator with these different branches and I open a file with ctrl+k  
 sometimes or always opens the file from another project/branch  
 instead of the current project/branch. I guess is something related  
 with the index. Is there a way to force a new reindexing or should  
 be possible to have the index by project/branch or .pro file?

The default is that it will show you both versions in the list. Have a  
look at the full path in the list in the popup.
You can force Locator to only show you stuff from the current  
project by first typing p  (a 'p' and a space), and after that your  
file name expression.

Br, Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com






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


Re: [Qt-creator] qt creator fails to autodetect 'new' qt path - old path kept instead

2009-11-24 Thread Eike Ziller

On Nov 23, 2009, at 5:52 PM, ext Salvatore Rinaldo wrote:

 Hi guys,

 Which file does Qt Creator read when trying to recognise the list of  
 available Qt installations at start-up?

 I'll try to explain my situation:
   • install qt creator and qt for symbian, path to the latter c:\qt 
 \4.6.0-beta
   • work with qt creator and the symbian emulator
   • uninstall qt and install qt 4.6 release candidate , path c:\qt 
 \4.6.0
 I start qt creator 1.3 rc and it still comes up with c:\qt\4.6.0- 
 beta as path to a qt installation and i can't remove this
 entry because it's the automatically recognised one. Of course I  
 could create manual entries but I would like to
 understand where qt creator is getting c:\qt\4.6.0-beta from.

 Just to confirm, the environment variable Path has been updated, and  
 so has QTDIR. There is nothing I can see
 that is still pointing to the old path. Any help would be greatly  
 appreciated.


Hi,
a screenshot would maybe help us to see what your problem is.
There are different auto-detected Qt versions.
There is the one labeled Qt in PATH, which takes the first qmake.exe  
that is found in the PATH variable.
Then there are auto-detected Qt versions for installed Symbian SDKs.
In the Qt-S60 SDKs preference page you can see what SDKs are  
detected, and which Qt is installed *in this SDK*. Basically, the auto- 
detected looks for a QtCore.dll in epoc32/release/winscw/udeb and  
parses what Qt path that refers to. So, when updating Qt, you need to  
install the new Qt libraries into the Symbian SDK.

Regards,
-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com






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


Re: [Qt-creator] failed build message not visible in GUI, problem with jom or something else?

2009-11-23 Thread Eike Ziller
On Nov 23, 2009, at 4:45 AM, ext Grego wrote:

 On Mon, Nov 23, 2009 at 12:36 AM, Coda Highland  
 c...@bobandgeorge.com wrote:
 The Build Issues tab only shows compilation errors; this isn't a
 compilation error. It's a build process error that isn't supposed to
 happen.

 I'm tempted to argue that a build process error is a Build Issue.

 If the underlying make exists with non-zero, I want to know why,
 whatever the reason.

Hi, looks like we miss this kind of error output from g++ in our build  
output parser.
Please create a bug report on
http://bugreports.qt.nokia.com
so this information does not get lost.

Thanks,
-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


[Qt-creator] Qt Creator 1.3 Release Candidate Available

2009-11-17 Thread Eike Ziller
We're pleased to announce that the Qt Creator 1.3 Release Candidate  
(RC) is now available for download, testing and feedback.  Qt Creator  
1.3 improves existing features and adds new ones across the IDE,  
including:

- Preliminary features for Qt development targeting the Symbian platform
- New support for source code refactoring
- Support for multi-core compilation with Microsoft Visual C++ Compiler
- Updated toolchain to MinGW 4.4

For a complete list of changes planned for Qt Creator 1.3, please  
visit the online Qt Creator repository on Gitorious at:
http://qt.gitorious.org/qt-creator/qt-creator/blobs/1.3.0/dist/changes-1.3.0 
.

Qt Creator 1.3 is scheduled for release in Q4 2009.

DOWNLOAD THE RC
---
The Qt Creator 1.3 RC is available under the GNU LGPL version 2.1.  
Source code is available from http://qt.gitorious.org/qt-creator, and  
binary packages for Windows, Linux and Mac are available for download  
from:

http://qt.nokia.com/developer/qt-creator-1.3-preview.

HOW TO PROVIDE FEEDBACK
---
All feedback is welcome, and we encourage you to put the RC to the  
test and share any bugs or suggestions.  There are several ways you  
can provide feedback:

1. Join the Qt Creator mailing list
2. Report a bug with the Qt Bug Tracker (http://bugreports.qt.nokia.com)
3. Contribute a bugfix through qt.gitorious.org

For more info on how to share your feedback, please visit
http://qt.nokia.com/developer/qt-creator-1.3-preview.

Thanks, and we hope you enjoy the RC!

-- 
The Qt Creator Team

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Qt Creator 4.5 | S60

2009-11-17 Thread Eike Ziller
On Nov 17, 2009, at 2:12 PM, ext Roberto Teixeira wrote:



 Hello.

   What do I need in order to develop S60 using QT Creator 4.5?. I  
 have installed QT Creator 4.5

Err, there is no Qt Creator 4.5 :)

You should take the Qt for Symbian 4.6.0 release canditate together  
with the Qt Creator 1.3.0 release candidate.
More information is here:
http://doc.qt.nokia.com/qtcreator-1.3.0-rc1/creator-qt-for-symbian.html

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Qt-creator high CPU load 90%

2009-11-04 Thread Eike Ziller
Hi,

Am Nov 3, 2009 um 8:28 PM schrieb ext Pedro Santos:

 Hello,
 I have a really annoying bug in Qt-creator 1.2.1 on my linux system.  
 It takes
 nearly 100% of the CPU time after start and continues in that way.  
 Then it
 often hangs on close, so I have to kill it. It has worked for some  
 time on SuSE
 Linux 11.1 but after I had installed some updates with yast this bug  
 appeared.
 So I tried to do a clean install with SuSE 11.2 RC and also deleted  
 the
 preferences in my home folder but the problem still remains :(. All  
 of the
 other Qt-Applications (KDE-Desktop, etc...) work fine. Also I tried  
 the Beta of
 Qt-Creator 1.3 but it has the same problem. I include a strace of Qt- 
 creator in
 this mail, if there is need for more information, please advise me  
 how get them.

I heavily suspect the indexing of the documentation files that is done  
when Qt Creator finds new documentation. This should be a once-only  
operation, if that successfully finished once, it should never happen  
again (if you don't add more Qt versions at least).
Could you please try running Qt Creator for a while and see if the CPU  
load drops after some time (give it some minutes)? And that this  
doesn't happen again when restarting Qt Creator afterwards?

Thanks, Eike

 My System:
 Pentium 4 3.0GHz
 fresh installed SuSE Linux 11.2 RC2
 KDE 4.3.1 release 6
 creator.trace.tar.gzATT1..txt

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Setting build environment variables from command line (Windows)

2009-11-02 Thread Eike Ziller
Hi,

Am Nov 1, 2009 um 12:20 PM schrieb ext sjj...@gmail.com:

 Hello,

 I have a batch script that I'm using to launch Qt Creator.

 set path=C:\MY_ADDITIONAL_PATH;%path%
 bin\qtcreator.exe

 Qt Creator starts fine, but to my surprise C:\MY_ADDITIONAL_PATH is
 not found in the PATH environment variable that Qt is seeing (checked
 Projects - Build Settings - Debug/Release Build Environment). Am I a
 total noob to expect to this to work? Or am I missing something?

Seems to work for me (Windows Vista). But note (also for what you want  
to achieve below) that Qt Creator
prepends additional paths to the PATH environment variable, e.g. the  
path to the MSVC tool chain if you use a Qt version that uses this  
tool chain by default, or the path to the MinGW tools if you use a Qt  
for MinGW.

++ Eike

 What I am after is that I am setting tool chains using batch scripts
 and I wish not to add them all to the PATH environment variable at the
 same time or by default. Instead, I would like to able to select a
 specific tool chain just by double clicking the batch script and it
 would also start Qt Creator.

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

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] When Qt Creator is running Symbian emulators (epoc.exe) wont start

2009-10-29 Thread Eike Ziller
Hi,


Am Oct 29, 2009 um 6:16 PM schrieb ext Salvatore Rinaldo:

 Hi Pekka,

 When you launch the Symbian emulator from Qt Creator, it's heavily  
 slown down by the debug output - you can work around
 that by running e.g. DebugView and you'll have the emulator run  
 faster.

Well, this depends a lot on which version of Qt Creator we are talking  
about.
Qt Creator 1.3.0-beta shouldn't have this issue anymore, if you use a  
YouApp in Symbian Emulator run configuration. (The debug output is  
filtered to show only qDebug/qWarning and friends.)

 Hope this helps,

 Cheers,
 Salvatore

Am Oct 29, 2009 um 3:11 PM schrieb Kosonen Pekka (Nokia-FNDC/Tampere):

 It's a bit annoying that Creator causes Symbian emulators to stop  
 functioning - atleast for me. Epoc.exe process freezes after it has  
 gotten around 1800kb of memory. Doesn't matter where I try to launch  
 it from (creator, command prompt,..)

So the your app doesn't start if you double click your  
applications .exe from yourSdkRoo/epoc32/release/winscw/udeb/ 
YourApp.exe from Windows Explorer?


 When I close creator emulators function. It's with all the SDKs I  
 have (3rd ed to 5th ed) - creator must have something to do with a  
 process called epoc.exe

 Anyone had similar experiences? I do hope I'm alone with this one...

For me the emulator starts up nicely with Qt Creator 1.3.0 beta, and a  
MyApp in Symbian Emulator run configuration to start the Qt for  
Symbian application.

Best regards, Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


[Qt-creator] [Announce] Public Qt Creator bug tracker online

2009-10-28 Thread Eike Ziller
You might already have been informed through other means of  
communication, but we want to announce it here for all of you who  
haven't.

We are happy to announce that our new Qt Bug Tracker is online.
Read the news here:
http://qt.nokia.com/about/news/new-qt-bug-tracker-open-to-the-public
Find the but tracker here:
http://bugreports.qt.nokia.com

For bug reports / suggestions regarding Qt Creator, choose Browse  
Projects and select Qt Creator as the project.

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] plugin_qtestlib

2009-10-27 Thread Eike Ziller

On Oct 26, 2009, at 8:39 PM, ext Coda Highland wrote:

 Honestly I don't know if I want to set the precedent of allowing
 plugins to just arbitrarily add new tabs there.

 I think Build Issues would be a valid output target, though; it's
 already intended for jumping to the relevant places in the code and
 one could argue that failing a unit test is a build issue.

One option is to put the test issues into what now is the build  
issues pane:

When you build a program, you have the whole build log in the compile  
output pane, and a collection of the issues in the issues pane.
When you build your tests, you'd have the whole build log in the  
compile output pane, and a collection of the issues in the issues  
pane.
When you run your tests, you'd have the whole application debug log in  
the application output pane, and a collection of the issues in the  
issues pane.
This could be extended to also put issues when running other Qt  
programs into the issues pane, like Qt warnings (connect failed,  
etc, etc).
It would definitely make no sense to call it build issues then, but  
anyhow, it's just a label.
And it would definitely make no sense to add yet another tab for  
warnings when running Qt programs :)

Another option is to extend the application output pane with clickable  
links for Qt warnings, test result lines, and more.

++ Eike


 /s/ Adam

 On Mon, Oct 26, 2009 at 2:18 PM, Robert Caldecott
 robert.caldec...@gmail.com wrote:

 I like the idea of a dedicated QTest output pane - will you be able  
 to double-click on failures to jump directly to the code?  That  
 would be brilliant.

 2009/10/26 Bravo.Alex alex.br...@igt.com

 Plus that it's not so high in the list of things to do.



 If you are talking about qtcrea...@nokia team, it makes a lot of  
 sense.

 But that's why you guys opened development to outside world, right?

 So that we can help you improve already great product.





 So, back to qtestlibplugin:

 After bringing it back from the dead, I realized that the  
 architecture of this plugin might need adjustment:

 Right now it has its own type of output “Test Results” (just like  
 “Build Issues”, “Application Output” and 2 more).

 But, as this picture shows, there’s not much space for different  
 types of output:



 Besides it doesn’t make much sense to “pollute” IDE’s screen with  
 “Test Results” button and list entry

 for applications that have nothing to do with QTestLib.



 It looks like there should be as little presence for this plugin  
 as possible in the IDE’s GUI.

 Ideally, this plugin should show itself only if output of a  
 program is in QTestLib format.



 Thus this plugin really provides a different format of  
 “Application Output”, not a different output pane.



 So proposed adjustment to this plugin is to be able to have  
 several formats of “Application Output”.

 By default it’s “raw” output, with the ability to switch to a  
 different format.

 In case of qtestlibplugin it can be “test results” and “benchmark  
 results” formats.

 Other plugins could have/add their own formats.



 What do you guys think?



 Alex





 -Original Message-
 From: qt-creator-boun...@trolltech.com 
 [mailto:qt-creator-boun...@trolltech.com 
 ] On Behalf Of Eike Ziller
 Sent: Monday, October 26, 2009 4:00 AM
 To: qt-creator@trolltech.com
 Subject: Re: [Qt-creator] plugin_qtestlib





 On Oct 20, 2009, at 7:24 PM, ext Bravo.Alex wrote:



 Why is it dead:

 a)  it’s obsolete, we now have a new XYZ plugin supporting

 QTestLib in Qt Creator

 b)  the author is working on something else and doesn’t have

 time/interest to work on it

 c)   it didn’t do much, so it’s not worth maintaining

 d)  nobody needs it, we are satisfied with running tests  
 through

 test.pl



 I suppose it's b) and c). Plus that it's not so high in the list of

 things to do.

 The only maybe still useful parts of the code in the plugin is

 probably the interaction/parsing of the QTestLib output.



 ++ Eike



   Alex



 On Tuesday 20 October 2009 17:47:42 ext Bravo.Alex wrote:

 I'm not very successful in finding any info about plugin_qtestlib.

 There's not many comments in the source code either.



 plugins.pro says this:

 plugin_qtestlib \ # this seems to be dead



 The source tree on gitorious.org is missing

 QTestLibPlugin.pluginspec for

   it.



 Does anybody know what it was supposed to do?

 It's dead and the code probably is not very useful anymore either.



 daniel



 ATT1..txt



 --

 Eike Ziller

 Software Engineer

 Nokia, Qt Development Frameworks

 Phone  +49 (0)30 6392 3255

 Fax+49 (0)30 6392 3256

 E-mail eike.zil...@nokia.com













 ___

 Qt-creator mailing list

 Qt-creator@trolltech.com

 http://lists.trolltech.com/mailman/listinfo/qt-creator

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

Re: [Qt-creator] plugin_qtestlib

2009-10-27 Thread Eike Ziller
On Oct 27, 2009, at 5:15 PM, ext Bravo.Alex wrote:

 When you run your tests, you'd have the whole application debug log  
 in
 the application output pane, and a collection of the issues in the
 issues pane.

 In order to easily parse QTestLib output, it's better to have it in  
 XML format.
 But then outputting XML in Application Output is not going to be  
 very useful.

 In my opinion it's strange to present some info in one pane and  
 other info in another.

 What's wrong with taking the whole XML output and presenting it in  
 one consistent way in one place?

Well, I can't talk much about how QTestLib XML output works, because  
I've no idea. I suppose that tests could produce qDebug output, or  
qWarnings originating from Qt, and whatever dumped information, that  
are not only Test XYZ failed at location foo (or succeeded).

What's the principal difference to compilation? There we have the full  
output of the compile process in one pane (Compile Output, allowing to  
inspect the inner workings to track down problems) and the collection  
of parsed issues in another (Build Issues, for easy interaction).

++ Eike

 -Original Message-
 From: qt-creator-boun...@trolltech.com 
 [mailto:qt-creator-boun...@trolltech.com 
 ] On Behalf Of Eike Ziller
 Sent: Tuesday, October 27, 2009 3:48 AM
 To: qt-creator@trolltech.com
 Subject: Re: [Qt-creator] plugin_qtestlib


 On Oct 26, 2009, at 8:39 PM, ext Coda Highland wrote:

 Honestly I don't know if I want to set the precedent of allowing
 plugins to just arbitrarily add new tabs there.

 I think Build Issues would be a valid output target, though; it's
 already intended for jumping to the relevant places in the code and
 one could argue that failing a unit test is a build issue.

 One option is to put the test issues into what now is the build
 issues pane:

 When you build a program, you have the whole build log in the compile
 output pane, and a collection of the issues in the issues pane.
 When you build your tests, you'd have the whole build log in the
 compile output pane, and a collection of the issues in the issues
 pane.
 When you run your tests, you'd have the whole application debug log in
 the application output pane, and a collection of the issues in the
 issues pane.
 This could be extended to also put issues when running other Qt
 programs into the issues pane, like Qt warnings (connect failed,
 etc, etc).
 It would definitely make no sense to call it build issues then, but
 anyhow, it's just a label.
 And it would definitely make no sense to add yet another tab for
 warnings when running Qt programs :)

 Another option is to extend the application output pane with clickable
 links for Qt warnings, test result lines, and more.

 ++ Eike


 /s/ Adam

 On Mon, Oct 26, 2009 at 2:18 PM, Robert Caldecott
 robert.caldec...@gmail.com wrote:

 I like the idea of a dedicated QTest output pane - will you be able
 to double-click on failures to jump directly to the code?  That
 would be brilliant.

 2009/10/26 Bravo.Alex alex.br...@igt.com

 Plus that it's not so high in the list of things to do.



 If you are talking about qtcrea...@nokia team, it makes a lot of
 sense.

 But that's why you guys opened development to outside world, right?

 So that we can help you improve already great product.





 So, back to qtestlibplugin:

 After bringing it back from the dead, I realized that the
 architecture of this plugin might need adjustment:

 Right now it has its own type of output Test Results (just like
 Build Issues, Application Output and 2 more).

 But, as this picture shows, there's not much space for different
 types of output:



 Besides it doesn't make much sense to pollute IDE's screen with
 Test Results button and list entry

 for applications that have nothing to do with QTestLib.



 It looks like there should be as little presence for this plugin
 as possible in the IDE's GUI.

 Ideally, this plugin should show itself only if output of a
 program is in QTestLib format.



 Thus this plugin really provides a different format of
 Application Output, not a different output pane.



 So proposed adjustment to this plugin is to be able to have
 several formats of Application Output.

 By default it's raw output, with the ability to switch to a
 different format.

 In case of qtestlibplugin it can be test results and benchmark
 results formats.

 Other plugins could have/add their own formats.



 What do you guys think?



 Alex





 -Original Message-
 From: qt-creator-boun...@trolltech.com 
 [mailto:qt-creator-boun...@trolltech.com
 ] On Behalf Of Eike Ziller
 Sent: Monday, October 26, 2009 4:00 AM
 To: qt-creator@trolltech.com
 Subject: Re: [Qt-creator] plugin_qtestlib





 On Oct 20, 2009, at 7:24 PM, ext Bravo.Alex wrote:



 Why is it dead:

 a)  it's obsolete, we now have a new XYZ plugin supporting

 QTestLib in Qt Creator

 b)  the author is working on something else and doesn't have

 time/interest to work

Re: [Qt-creator] plugin_qtestlib

2009-10-26 Thread Eike Ziller

On Oct 20, 2009, at 7:24 PM, ext Bravo.Alex wrote:

 Why is it dead:
 a)  it’s obsolete, we now have a new XYZ plugin supporting  
 QTestLib in Qt Creator
 b)  the author is working on something else and doesn’t have  
 time/interest to work on it
 c)   it didn’t do much, so it’s not worth maintaining
 d)  nobody needs it, we are satisfied with running tests through  
 test.pl

I suppose it's b) and c). Plus that it's not so high in the list of  
things to do.
The only maybe still useful parts of the code in the plugin is  
probably the interaction/parsing of the QTestLib output.

++ Eike

  Alex

 On Tuesday 20 October 2009 17:47:42 ext Bravo.Alex wrote:
  I'm not very successful in finding any info about plugin_qtestlib.
  There's not many comments in the source code either.
 
  plugins.pro says this:
  plugin_qtestlib \ # this seems to be dead
 
  The source tree on gitorious.org is missing  
 QTestLibPlugin.pluginspec for
   it.
 
  Does anybody know what it was supposed to do?
 It's dead and the code probably is not very useful anymore either.

 daniel

 ATT1..txt

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com






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


[Qt-creator] Attention: Some internal things were renamed

2009-10-16 Thread Eike Ziller
This is a notice to all of you compiling Qt Creator directly from git,
or even hack around it, or even in it.
(If you are merely using a binary package, you may ignore this mail.)

The outstanding task to rename the internal classes/plugin that  
implements Locator from QuickOpen to Locator has finally been  
done.
We have the global renaming tool in the Qt Creator 1.3.0 beta now, so  
that was an opportunity to finally do this boring task :)

What that means for you, is that you'll need to make a clean build.

At the very least you must run qmake -r and remove all occurrances  
of QuickOpen.pluginspec and libQuickOpen.* from your lib/ folder (or,  
mac users, from your application bundle). But I don't recommend to try  
that minimal approach, best to remove your shadowbuild directory, or,  
if you are doing in-source builds, consider using git clean -dxf  
which removes all untracked files.

make clean is *not* sufficient. And I'd suppose even make  
distclean isn't.

Have a nice weekend!

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


[Qt-creator] Fwd: Attention: Some internal things were renamed

2009-10-16 Thread Eike Ziller
Umpf, now I forgot one import part after all :)

* This change will be on qt.gitorious.org in about 12 hours (SHA1 is  
77efc921c25bca81d7e4629c5f1d6e0ccb110c54)

++ Eike

Begin forwarded message:

 From: Ziller Eike (Nokia-D-Qt/Berlin) eike.zil...@nokia.com
 Date: 16. Oktober 2009 14:58:39 MESZ
 To: qt-creator@trolltech.com qt-creator@trolltech.com
 Subject: [Qt-creator] Attention: Some internal things were renamed

 This is a notice to all of you compiling Qt Creator directly from git,
 or even hack around it, or even in it.
 (If you are merely using a binary package, you may ignore this mail.)

 The outstanding task to rename the internal classes/plugin that
 implements Locator from QuickOpen to Locator has finally been
 done.
 We have the global renaming tool in the Qt Creator 1.3.0 beta now, so
 that was an opportunity to finally do this boring task :)

 What that means for you, is that you'll need to make a clean build.

 At the very least you must run qmake -r and remove all occurrances
 of QuickOpen.pluginspec and libQuickOpen.* from your lib/ folder (or,
 mac users, from your application bundle). But I don't recommend to try
 that minimal approach, best to remove your shadowbuild directory, or,
 if you are doing in-source builds, consider using git clean -dxf
 which removes all untracked files.

 make clean is *not* sufficient. And I'd suppose even make
 distclean isn't.

 Have a nice weekend!

 ++ 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] qtcreator on OpenBSD

2009-10-14 Thread Eike Ziller

On Oct 13, 2009, at 4:44 PM, ext Edd Barrett wrote:

 On Tue, Oct 13, 2009 at 04:24:54PM +0200, Daniel Teske wrote:
 ext Edd Barrett schrieb:
 Hi,

 I am working on a port of qtcreator to OpenBSD. I have the  
 application
 building after a couple of trivial patches:

 http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_extensionsystem_extensionsystem_pro
 http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_utils_process_stub_unix_c

 However, upon starting the app, file-new does nothing and nothing  
 is
 spewed onto the console.

 I have been examining ktrace outputs for anything obvious with no  
 luck.
 Next I would like to build a binary with debug symbols, but it  
 seems the
 documented way of adding CONFIG += debug to the pro does not work.

 I also tried various CFLAGS, CXXFLAGS and even CC kludges in the  
 root
 Makefile with no luck.

 a) Any ideas why file-new does not work.
 b) Any ideas how to make a debug binary?

 Thanks


 Hmm, check Help/About Plugins for error output from the plugin  
 loading.
 My guess is that no plugin is loaded, though I think that should be
 noticeable in more ways. :)

 You are absolutely correct! Only one plugin loads, the core one. The  
 one
 related to a new project did not load because the 'find' module did  
 not.
 Unfortunately there is little info on why this does not load:

Yeah, unfortunately the QPluginLoader spits out more or less useless  
error messages most of the time.
There are several possible reasons why this might not load, most  
prominent:
* it cannot resolve one of the libraries it wants to link with, most  
probably you can try to check with ldd what it finds, and if something  
is missing
* it is not recognized as a valid Qt plugin by the Qt Plugin Loader,  
which is usually the case if the library was compiled/linked against a  
different Qt than it is run against

 ---8---
 Cannot load library /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
 (Cannot load specified object)
 Library base name: /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
 ---8---

 This exists and looks like a shared library to me:
 ---8---
 ire% file /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
 /usr/local/lib/qtcreator/plugins/Nokia/libFind.so: ELF 32-bit LSB  
 shared
 object, Intel 80386, version 1, for OpenBSD, dynamically linked, not
 stripped
 ire% ls -al /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
 -rwxr-xr-x  1 root  bin  278747 Oct 13 14:08
 /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
 ire% nm /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
 00029c02 t .L12
 000299f6 t .L12
 00029d62 t .L12
 00029c20 t .L13
 00029d95 t .L13
 ...
 ---8---

 Odd. Perhaps you have an idea as to why this is not loading? Looks  
 like
 it worked on FreeBSD
 (http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/qtcreator/). They  
 do
 not appear to have patched the module loader.

 Hmm...

 -- 
 Best Regards
 Edd Barrett

 http://students.dec.bmth.ac.uk/ebarrett
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] (no subject)

2009-10-14 Thread Eike Ziller
On Oct 14, 2009, at 11:06 AM, ext Ashish Vats wrote:

 Is it possible to use Qt-creator for Qt-2.3.10 version

No. Only Qt 4 (and later) are supported.

Best regards, Eike


 Ashish

 Larsen  Toubro Limited

 Electrical  Electronics Division - EBG

 http://www.LNTEBG.com


 This E-mail may contain confidential or privileged information for  
 the intended recipient(s). If you are not the intended recipient,  
 please do not use or disseminate the information, notify the sender  
 and delete it from your system.

 ATT1..txt

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


[Qt-creator] Qt Creator 1.3 Beta Released

2009-10-14 Thread Eike Ziller
We're pleased to announce that the Qt Creator 1.3 Beta is now released  
and available for download, testing and feedback.  Qt Creator 1.3  
improves existing features and adds new ones across the IDE, including:

- Preliminary features for Qt development targeting the Symbian platform
- New support for source code refactoring
- Support for multi-core compilation with Microsoft Visual C++ Compiler
- Updated toolchain to MinGW 4.4

For a complete list of changes planned for Qt Creator 1.3, please  
visit the online Qt Creator repository on Gitorious at:
http://qt.gitorious.org/qt-creator/qt-creator/blobs/1.3.0-beta/dist/changes-1.3.0
 
 .

Qt Creator 1.3 is scheduled for release in Q4 2009.

PRELIMINARY SUPPORT FOR SYMBIAN DEVELOPMENT
---
Please note that the new features in Qt Creator 1.3 supporting Symbian  
development are preliminary, and not intended for production use. The  
primary aim of Qt Creator 1.3 is to allow Symbian developers to  
familiarize themselves with Qt Creator and provide feedback that will  
help us improve Symbian support in future versions of Qt Creator.   
Find out more about the new Qt port to the Symbian platform at:
http://qt.nokia.com/developer/qt-4.6-beta-for-symbian-developers.

DOWNLOAD THE BETA
-
The Qt Creator 1.3 Beta is available under the GNU LGPL version 2.1.  
Source code is available from http://qt.gitorious.org/qt-creator, and  
binary packages for Windows, Linux and Mac are available for download  
from:
http://qt.nokia.com/developer/qt-creator-1.3-preview.

HOW TO PROVIDE FEEDBACK
---
All feedback is welcome, and we encourage you to put test the Beta and  
share any bugs or suggestions.  There are several ways you can provide  
feedback:

1. Join the Qt Creator mailing list
2. Report a bug with the Qt task tracker
3. Contribute a bugfix through qt.gitorious.org

For more info on how to share your feedback, please visit 
http://qt.nokia.com/developer/qt-creator-1.3-preview 
.

Thanks, and we hope you enjoy the beta!

--
The Qt Creator Team

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Sources and Headers?

2009-10-05 Thread Eike Ziller
On Oct 5, 2009, at 5:06 PM, ext Robert Caldecott wrote:

 Am I missing something here?  I have the Qt Creator Technology
 Snapshot (v1.2.90 from September 10th) and I keep reading about some
 magic source/header filters in the project tree, but have yet to see
 evidence of such a feature.  If I create a new Qt GUI project I get my
 .pro. .cpp, .h, as nornal all grouped together.  Is there a setting I
 need to enable to group headers/source files together or am I going
 mad?

That is not included in the Technology Snapshot 1.2.90.
You'll need a regular nightly snapshot to see it.
Check out ftp://ftp.qt.nokia.com/qtcreator/snapshots

Regards,
-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] Problems building qtcreator with visual studio

2009-10-02 Thread Eike Ziller

On 01.10.2009, at 23:53, ext register wrote:


 On Thursday 17 September 2009 15:47:15 ext register wrote:
 C:/Qt/2009.03/qt
 
 Did you compile that qt yourself?

 daniel


 I rebuilt QT using the following configuration options: -no-sql- 
 sqlite -no-qt3support -no-opengl -platform win32-msvc2005 -no- 
 libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit.

It might not be related to the error you get below, but:
-no-sql-sqlite, -no-webkit
That's not a good idea to compile Qt Creator with that configuration.  
Sqlite is heavily use by the help system and for some settings, webkit  
is used for the welcome page, and is the preferred browser for the  
help system (meaning that nobody tested whether it still works with  
only QTextBrowser).

Regards, Eike

  After that I built QtCreator from itself using this newly compiled  
 QT as the default library. The compilation ended successfully but  
 now I get a runtime error as soon as I try to run the new exe. This  
 error is complaining about a missing simbol in a dll and goes  
 something like this: The procedure entry point ?qe...@qtest@.  
 could not be located in the dynamic library QTTestd4.dll. Is there  
 anyone of you that experienced something similar?
 Thanks,
 Luca
 ATT1..txt

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


  1   2   >