Re: [Qt-creator] How to Open terminal from QtCreator

2010-09-22 Thread André Pönitz
On Wednesday 22 September 2010 06:42:27 ext sunny shah wrote:
 Hi
  I am using QtCreator as my main IDE to develop in webkit, One thing I like 
 abt it is It's UI is very intutive.
 
  I want to know that I want to open terminal from QtCreator ( Like KDevelop 
 provides a terminal tab ), is there any way to open terminal from QtCreator?

There is no integrated terminal in Creator.

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


Re: [Qt-creator] Usage Q's, debugging and opening files externally.

2010-09-22 Thread André Pönitz
On Wednesday 22 September 2010 05:25:18 ext Campbell Barton wrote:
 Hi there, from using QtCreator daily for some months now I have a few 
 questions.
 
 1) Is there a way to open a file in a running QtCreator to open a file
 at a spesific line number
 /opt/qtcreator/bin/qtcreator -client /d/outliner-visibility-update.patch
 ... but what if you want to open it at a certain line? eg,
 /opt/qtcreator/bin/qtcreator -client /d/outliner-visibility-update.patch +672

None that I am aware of. Sounds doable, though.
 
 I'd like this because I use valgrind and other tools that give
 file/line pairs, without a QtCreator plugin for each tool its still
 nice to be able to open the exact line of the error.
 
 
 2) Is there any way to access gdb command line in QtCreator?, realize
 this probably conflicts somewhat with GUI debugger integration but Im
 used to it and find I still use ddd a bit because of it.

Sort of. You can use the left pane of Windows-Views-Debugger
for typing in commands and sending them to gdb using Ctrl-Return
 
 3) is there a way to view a struct in the debug 'Locals and Watchers'
 tab (debugging C code), that doesnt arrange the members in
 alphabetical order? Id like it to just use the order they are defined
 in. in some cases its important because structs share #define'd
 headers but mostly Im just used to it.

No, but there's already a request for such a feature:
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1608

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


[Qt-creator] (Sub)Version problem in snapshots.

2010-09-22 Thread Gena Cid
Hello!

After installing latest snapshot (Built on Sep 22 2010 at 02:56:39 From 
revision aaf95f2838) 
(sub)version stopped working for me. I've found several options in 
Options-Version Control-Common 
that now marked red:
User/alias configuration file and
User fields configuration file,
both were set to my home directory. Also the same value (my home) has Submit 
message check script and 
this always give me a warning when I trying to make a commit:
The commit message check failed. Do you want to commit the change?

The check script '/home/genacid' could not be started: Permission denied.
I can't get rid of this warning, clearing Submit massage check script doesn't 
help!

But before this I wasn't able to make a commit at all, because Subversion 
command (Subversion tab) 
was changed from svn to /home/genacid/svn. Ok, this was fix very quickly: 
set /usr/bin/svn 
instead (not just svn as was before!).

So my question is: How can I set up subversion in Qt-creator properly, without 
warning?

System: debian testing amd64.

P.S. Optionts-Qt4 disappeared =(

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


Re: [Qt-creator] (Sub)Version problem in snapshots.

2010-09-22 Thread Robert Löhning
Am 22.09.2010 13:04, schrieb ext Gena Cid:
 Hello!

 After installing latest snapshot (Built on Sep 22 2010 at 02:56:39 From 
 revision aaf95f2838)
 (sub)version stopped working for me. I've found several options in 
 Options-Version Control-Common
 that now marked red:
 User/alias configuration file and
 User fields configuration file,
 both were set to my home directory. Also the same value (my home) has Submit 
 message check script and
 this always give me a warning when I trying to make a commit:
 The commit message check failed. Do you want to commit the change?

 The check script '/home/genacid' could not be started: Permission denied.
 I can't get rid of this warning, clearing Submit massage check script 
 doesn't help!

 But before this I wasn't able to make a commit at all, because Subversion 
 command (Subversion tab)
 was changed from svn to /home/genacid/svn. Ok, this was fix very quickly: 
 set /usr/bin/svn
 instead (not just svn as was before!).

 So my question is: How can I set up subversion in Qt-creator properly, 
 without warning?

 System: debian testing amd64.

 P.S. Optionts-Qt4 disappeared =(

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

Hi Gena,

I have the same problem with my git settings. Here's a bug report about it:

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

Please have a look and add further info if you can. The only way I found 
to clear these settings is to do this with a Creator 2.0.x.

Regards,
Robert


-- 
Robert Löhning
Software Engineer
Nokia, Qt Development Frameworks

Qt Developer Days 2010 | Registration NOW Open!
Munich, Germany: October 11th - 13th
San Francisco, California: November 1st - 3rd
For more information and to register: 
http://qt.nokia.com/qtdevdays2010http://qt.nokia.com/about/events
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] (Sub)Version problem in snapsh ots.

2010-09-22 Thread Gena Cid
Hi Robert!

I've added some information in comment section. Also I've voted for this bug )
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] License Templates / DPI=72 + 6pt / *.h - and *.cpp-templates

2010-09-22 Thread mailinglists
Hello,

I have some questions. I'm using qt 4.7.2 and a self-compiled 
qtcreator 2.0.0:

1) I'm using the license template, but only %YEAR% is working. Things 
like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and 
what is planned? Is there a documentation of this feature?
2) I have some problems with my Debian in the VMWare, which I fix with 
starting the XServer with -dpi 72. Qt still shows me the huge fonts, 
which I can workaround with setting the Qt fontsize to 6pt with 
qtconfig. This works fine for everything, but the texteditor of 
qtcreator has its own font-size, so I have to set it to 6pt too... but 
when I open the qtcreator the next time, it's set to 7pt again. 
Sometimes I have to set the fontsize on every second document I open.
I ve installed the qt creator with your installer, but this 
not-self-compiled qtcreator ignores the qtconfig settings - so I cannot 
use it.
3) Is there another way, to make qt use of the dpi of X?
4) Is there a way, to use templates when creating new classes - so I 
have all comments placed in the new header.

Thx,

Charly

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


Re: [Qt-creator] License Templates / DPI=72 + 6pt / *.h- and *.cpp-templates

2010-09-22 Thread Coda Highland
Set the physical monitor size in your xorg.conf so that (screen
width)/(horizontal resolution) and (screen height)/(vertical
resolution) are the desired DPI. That should make the -dpi setting
unnecessary since that's the calculation used by default anyway.

/s/ Adam

On Wed, Sep 22, 2010 at 9:37 AM,  mailingli...@bluespirit.la wrote:
 Hello,

 I have some questions. I'm using qt 4.7.2 and a self-compiled
 qtcreator 2.0.0:

 1) I'm using the license template, but only %YEAR% is working. Things
 like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and
 what is planned? Is there a documentation of this feature?
 2) I have some problems with my Debian in the VMWare, which I fix with
 starting the XServer with -dpi 72. Qt still shows me the huge fonts,
 which I can workaround with setting the Qt fontsize to 6pt with
 qtconfig. This works fine for everything, but the texteditor of
 qtcreator has its own font-size, so I have to set it to 6pt too... but
 when I open the qtcreator the next time, it's set to 7pt again.
 Sometimes I have to set the fontsize on every second document I open.
 I ve installed the qt creator with your installer, but this
 not-self-compiled qtcreator ignores the qtconfig settings - so I cannot
 use it.
 3) Is there another way, to make qt use of the dpi of X?
 4) Is there a way, to use templates when creating new classes - so I
 have all comments placed in the new header.

 Thx,

 Charly

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

2010-09-22 Thread Coda Highland
Side note, the physical sizes are measured in millimeters, so remember
that 25.4mm = 1in. If you want 72 DPI at 1024x768, your screen should
be 361mm x 271mm.

/s/ Adam

On Wed, Sep 22, 2010 at 10:07 AM, Coda Highland c...@bobandgeorge.com wrote:
 Set the physical monitor size in your xorg.conf so that (screen
 width)/(horizontal resolution) and (screen height)/(vertical
 resolution) are the desired DPI. That should make the -dpi setting
 unnecessary since that's the calculation used by default anyway.

 /s/ Adam

 On Wed, Sep 22, 2010 at 9:37 AM,  mailingli...@bluespirit.la wrote:
 Hello,

 I have some questions. I'm using qt 4.7.2 and a self-compiled
 qtcreator 2.0.0:

 1) I'm using the license template, but only %YEAR% is working. Things
 like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and
 what is planned? Is there a documentation of this feature?
 2) I have some problems with my Debian in the VMWare, which I fix with
 starting the XServer with -dpi 72. Qt still shows me the huge fonts,
 which I can workaround with setting the Qt fontsize to 6pt with
 qtconfig. This works fine for everything, but the texteditor of
 qtcreator has its own font-size, so I have to set it to 6pt too... but
 when I open the qtcreator the next time, it's set to 7pt again.
 Sometimes I have to set the fontsize on every second document I open.
 I ve installed the qt creator with your installer, but this
 not-self-compiled qtcreator ignores the qtconfig settings - so I cannot
 use it.
 3) Is there another way, to make qt use of the dpi of X?
 4) Is there a way, to use templates when creating new classes - so I
 have all comments placed in the new header.

 Thx,

 Charly

 ___
 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] (Sub)Version problem in snapshots.

2010-09-22 Thread Robert Löhning
Am 22.09.2010 13:04, schrieb ext Gena Cid:
 System: debian testing amd64.

 P.S. Optionts-Qt4 disappeared =(

Hi,

me again: Try enabling QmlJSEditor in Help / About Plugins.

Regards,
Robert


-- 
Robert Löhning
Software Engineer
Nokia, Qt Development Frameworks

Qt Developer Days 2010 | Registration NOW Open!
Munich, Germany: October 11th - 13th
San Francisco, California: November 1st - 3rd
For more information and to register: 
http://qt.nokia.com/qtdevdays2010http://qt.nokia.com/about/events
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] (Sub)Version problem in snapsh ots.

2010-09-22 Thread Gena Cid
Hi again!

Yes, this helps me, thank you!

But why? Previous snapshot (Sep 21) doesn't require this plugin to be enabled...

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


Re: [Qt-creator] Usage Q's, debugging and opening files externally.

2010-09-22 Thread Campbell Barton
Thanks for the response, submitted a suggestion about the line number
so its not forgotten about.
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2428

For my purpose this is enough, Im still not fully used to an IDE and
have quite a few bash scripts setup for quick editing, so this feature
would allow qtcreator to be called rather then vim.

2010/9/22 Robert Löhning robert.loehn...@nokia.com:
 Am 22.09.2010 05:25, schrieb ext Campbell Barton:
 Hi there, from using QtCreator daily for some months now I have a few 
 questions.

 1) Is there a way to open a file in a running QtCreator to open a file
 at a spesific line number
 /opt/qtcreator/bin/qtcreator -client /d/outliner-visibility-update.patch
 ... but what if you want to open it at a certain line? eg,
 /opt/qtcreator/bin/qtcreator -client /d/outliner-visibility-update.patch +672

 I'd like this because I use valgrind and other tools that give
 file/line pairs, without a QtCreator plugin for each tool its still
 nice to be able to open the exact line of the error.


 Hi,

 maybe you can transform the output from Valgrind to an input for Tobias'
 TaskList plugin:

 http://lists.trolltech.com/pipermail/qt-creator/2010-August/007574.html

 Having some kind of Import to TaskList for this might be nice. Maybe
 you'd like to write a suggestion at:

 http://bugreports.qt.nokia.com

 If you do, please attach an example file.

 Regards,
 Robert


 --
 Robert Löhning
 Software Engineer
 Nokia, Qt Development Frameworks

 Qt Developer Days 2010 | Registration NOW Open!
 Munich, Germany: October 11th - 13th
 San Francisco, California: November 1st - 3rd
 For more information and to register:
 http://qt.nokia.com/qtdevdays2010http://qt.nokia.com/about/events
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator




-- 
- Campbell

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