Re: [Qt-creator] Problems with CDB Integration

2009-11-10 Thread Friedemann Kleint
Hi,

> > The compiled program just runs fine outside qtcreator - or not really
> > fine that why I need a debugger working -

But can you start it from Qt Creator by hitting the "Run" button? The question 
is, is the run configuration (Project mode/run configuration) sufficient to 
start 
the application, does it see the right paths to your DLLs, etc.

> > When hitting the "start debug" button a message with four options pops
> > up, stating something with the debug helper that cannot be found or
> > started. 

That box should have a "Details" button, which will show more information.

> > Then it directs me to the debugger properties where I can
> > recompile the debugging helper (as I understand for gdb, which is not
> > what I want, as I need the cdb to work).

Those depend on the Qt version used; they will work for CDB as well.

> >  these messages seem to be related to
> > misconfigured debugging symbols directory:
> >
> > *** wait with pending attach
> >
> >  Symbol search path is:
> >  *** Invalid ***

The symbol search path can be configured in the CDB settings, however, this 
warning is not to be taken too seriously. (the "Insert" dropdown menu has an 
option to add the Microsoft Symbol server for the operating system library 
symbols. It requires specifying a local cache directory.)

> > Four projects use the app template. The odd thing: the way I have set it
> > up it seems not to push changes from the source files all the way down to
> > the __program_.exe only to the last __program_.lib then it stops. Also,
> > jom and nmake all the same run through all the subdirs until it reaches
> > the point of change which takes quite some time. Only if I delete the exe
> > file, the final linking is invoked.
> >
> > What might I be doing wrong, maybe do I need to specify all the
> > dependencies? How? It seems that the missing exe is pulling down the
> > making of libs, obj and cpp. But shouldn't it be the other way round that
> > a change in a cpp pushes all the way down to the related .exes?
> >
> > To wrap it up: I cannot tell if the debugging problem is somehow related
> > to a misconfigured qmake setup with all the projects, as the debugger
> > crashes/exits with invalid symbol search path.

Then  it looks like the application is not properly built. Off the top of my 
head, specifying the DEPENDPATH qmake variable to contain the include path of 
the application ( http://qt.nokia.com/doc/4.5/qmake-variable-
reference.html#dependpath ) might help. It will then detect changes of the 
library header files and recompile accordingly.

Regards,
Friedemann

-- 
Friedemann Kleint
Nokia, Qt Development Frameworks
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] FW: Qt Creator crash last build

2009-11-10 Thread Boy Lenssen
I've just build the last version, but still having this issue...does
anyone have any possible cause of this?

The indexing progress bar just isn't filling up... 

 



From: Boy Lenssen [mailto:boy.lens...@esaote.nl] 
Sent: donderdag 29 oktober 2009 14:45
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] Qt Creator crash last build

 

Ok, just found out that the reason that the "ast" variable in the
screenshot is 0 is because Qt Creator keeps allocating memory while
indexing my project until it hits 2 GB and then it crashes (out of
memory I guess :o) ).

 

I tried a smaller project, this indexes great, but our 'big' project
doesn't stop indexing...

I'm falling back to a previous build for now...

 



From: Boy Lenssen [mailto:boy.lens...@esaote.nl] 
Sent: donderdag 29 oktober 2009 13:49
To: qt-creator@trolltech.com
Subject: [Qt-creator] Qt Creator crash last build

 

Hi,

 

I've just checked out and built Qt Creator just to have a fresh install.


But it keeps crashing.

 

It works for a little while, but then a crash report shows up. I'm using
Windows XP SP3

 

I've opened it in Studio for debugging and added the screenshot, maybe
it is easily for you guys to see what's going wrong.

 

Regards,

Boy.

___
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] compiling problems

2009-11-10 Thread André Pönitz
On Tuesday 10 November 2009 18:28:57 ext Mark Long wrote:
> For those of us who are still git-impaired, what is the command to use
> that particular code set?

I'd use something like

  git clone git://gitorious.org/qt/qt.git
  cd qt
  git checkout -t -b 4.6 origin/4.6

If then 

  git show 1bed105d

produces some reasonable output everything should be fine.

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


[Qt-creator] Somebody knows what had happened with gitorious Qt repository?

2009-11-10 Thread Oleg Shalnev
git clone git://gitorious.org/qt/qt.git Qt
Initialized empty Git repository in /home/ovs/usr/soft/Qt/.git/
remote: Counting objects: 234882, done.
remote: Compressing objects: 100% (72047/72047), done.
fatal: The remote end hung up unexpectedly11 MiB | 30 KiB/s
fatal: early EOF
fatal: index-pack failed


git clone  http://gitorious.org/qt/qt.git
Initialized empty Git repository in /home/ovs/usr/soft/qt/.git/
fatal: http://gitorious.org/qt/qt.git/info/refs not found: did you run git
update-server-info on the server?


-- 
Oleg Shalnev (Kalpa Project)
--
mailto: o...@kalpa.ru
skype:  oleg_shalnev
sip:   17474845...@gizmo5.com
jabber:  oleg.shal...@gmail.com
icq:366619571
http://kalpa.ru
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] key-bindings

2009-11-10 Thread Jeff Scaparra
I am a convert who used to bash IDEs and did all of my development in
VIM. I still use vim occasionally but qt is nice and most of the key
bindings make doing normal tasks easy like code completion and
building the code. There is one key binding that is really cumbersome
for me and I am wondering if there is an easy way for a user to set
his own key bindings. The key binding to move between splits is ctrl-e
+ O. In vim it was a simple ctrl-w + ctrl-w which I found to be much
more natural. This is a minor issue but for someone who really likes
to work from the keyboard as much as possible it would be a great
improvement. Thanks for all your great work and I am looking forward
to future releases.

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


Re: [Qt-creator] About the cursor color

2009-11-10 Thread Alan Westbrook
I agree with Matthias, having different elements have different background
colors is probably a bad idea to use in practice as it would probably
introduce too much cognitive load, like reading a ransom note.

I vaguely remember they did this in some parts of the Commodore Vic 20, but
haven't seen anything like that nice then, probably for this very reason.

Alan

On Tue, Nov 10, 2009 at 1:02 PM,  wrote:

> Different background colors for certain elements in the syntax highlighter
> is a bad idea anway. It looks noisy and it limits what can be highlighted
> with extra selections. The color schemes we ship should not do that, I'd
> rather disallow it in the editor completely. At a bare minimum the  the
> schemes should not pick background colors which do not contrast with the
> standard text color.
>
> The alternatives are worse:
>
> a) like open office: the cursor just "inverts" the pixels underneath. Plain
> ugly, looks like painting artefacts.
> b) like mozilla's rich text edit: use the text color for the cursor. This
> means the cursor also in the normal scheme changes color wherever it is.
> Also confusing.
>
> What else can we do? Flip between standard foreground and background
> depending on what gives the best contrast at a certain position?
>
> Matthias
>
> 
> From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com]
> On Behalf Of ext paulo [paulo.jn...@gmail.com]
> Sent: Wednesday, November 11, 2009 1:50 AM
> To: qt-creator@trolltech.com
> Subject: [Qt-creator] About the cursor color
>
> Hi,
> > At least for me, using Qt Creator on X11, the text cursor is the same
> > colour as the standard text (for example with the dark FakeVim theme,
> > the cursor is gray).
> >
> > In another post you said you were using a black background, but surely
> > your text isn't also set to black in that case.
> >
> > Regards,
> > Bjørn
> >
> I just notice that what you say is true. But the cursor will take the
> color of the normal text (usually black over white) and, when you change
> to another time of text (say a comment with yellow text over black) the
> cursor still keeps the normal text color (black), therefore becomes
> "invisible".
>
> I'm sure this is not the expected behavior, right?
>
> Regards,
> Paulo
> ___
> 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


Re: [Qt-creator] About the cursor color

2009-11-10 Thread matthias.ettrich
Different background colors for certain elements in the syntax highlighter is a 
bad idea anway. It looks noisy and it limits what can be highlighted with extra 
selections. The color schemes we ship should not do that, I'd rather disallow 
it in the editor completely. At a bare minimum the  the schemes should not pick 
background colors which do not contrast with the standard text color.

The alternatives are worse:

a) like open office: the cursor just "inverts" the pixels underneath. Plain 
ugly, looks like painting artefacts.
b) like mozilla's rich text edit: use the text color for the cursor. This means 
the cursor also in the normal scheme changes color wherever it is. Also 
confusing.

What else can we do? Flip between standard foreground and background depending 
on what gives the best contrast at a certain position?

Matthias


From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext paulo [paulo.jn...@gmail.com]
Sent: Wednesday, November 11, 2009 1:50 AM
To: qt-creator@trolltech.com
Subject: [Qt-creator] About the cursor color

Hi,
> At least for me, using Qt Creator on X11, the text cursor is the same
> colour as the standard text (for example with the dark FakeVim theme,
> the cursor is gray).
>
> In another post you said you were using a black background, but surely
> your text isn't also set to black in that case.
>
> Regards,
> Bjørn
>
I just notice that what you say is true. But the cursor will take the
color of the normal text (usually black over white) and, when you change
to another time of text (say a comment with yellow text over black) the
cursor still keeps the normal text color (black), therefore becomes
"invisible".

I'm sure this is not the expected behavior, right?

Regards,
Paulo
___
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] setting git information once and for all

2009-11-10 Thread Jakub Stasiak
2009/11/10 Lorenzo Bettini :
> Hi
>
> I've just started using git from qt-creator; however, each time I do a
> commit I have to fill the name and the email; isn't it possible to set
> it in some configuration?
Are search engines closed suddenly? :>

man git-config or
http://www.kernel.org/pub/software/scm/git/docs/git-config.html
Pay special attention to user.name and user.email variables. For
instance execute:

git config --global user.name "abc"
git.config --global user.email "s...@smwh.net"

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


Re: [Qt-creator] setting git information once and for all

2009-11-10 Thread Coda Highland
> Moreover, I found no way to add a file which is not in a .pro file (but
> in the file system), e.g., a TODO file.

Try the OTHER_FILES variable.

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


[Qt-creator] setting git information once and for all

2009-11-10 Thread Lorenzo Bettini
Hi

I've just started using git from qt-creator; however, each time I do a 
commit I have to fill the name and the email; isn't it possible to set 
it in some configuration?

Moreover, I found no way to add a file which is not in a .pro file (but 
in the file system), e.g., a TODO file.

many thanks in advance
Lorenzo

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

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


Re: [Qt-creator] [Bug report] jom - jom failed on too long input lines

2009-11-10 Thread Grego
On Tue, Nov 10, 2009 at 5:56 PM, Joerg Bornemann
 wrote:
> ext Grego wrote:
>
>> (I tried with absolute path, after which jom's lexer blew up, but
>> that's another issue...)
>
> This is something, I cannot reproduce.
>
> !include C:\TEMP\bla.mk
> works fine for me.

Sorry, I wasn't very precise.  The lexer blowing up was not related to
the includes, it was something else, but I did not investigate further
as the include problem was already a show-stopper for me.

I can try again once the includes work.

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


Re: [Qt-creator] Segmentation fault on Linux and Mac OS

2009-11-10 Thread Daniel Teske
ext Rudenko Eugene schrieb:
> On 10.11.2009, at 20:44, Daniel Teske wrote:
>
>   
>> ext Rudenko Eugene schrieb:
>> 
>>> There is some bug, my steps:
>>> Projects - > Run Settings -> Add custom executable -> got  
>>> segmentation
>>> fault
>>> It's happens when opened two projects and one of them lib and another
>>> application. On last snapshot on Linux and windows.
>>> I didn't test it in other cases.
>>>
>>> Rudenko Eugene.
>>> ___
>>> Qt-creator mailing list
>>> Qt-creator@trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>
>>>   
>> Which version is that?
>> 
> 1.2.94 - fa2c4d6579 - build on Nov 2 2009 02:21:37  Linux 64 bit
> For Mac I have not it right now, I'll write it as I got my Mac.
>
>   
Well the latest change you have is from the 30. Oktober. That bug is 
probably already fixed then.

Try pull the latest source and compiling that.

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


Re: [Qt-creator] Segmentation fault on Linux and Mac OS

2009-11-10 Thread Rudenko Eugene

On 10.11.2009, at 20:44, Daniel Teske wrote:

> ext Rudenko Eugene schrieb:
>> There is some bug, my steps:
>> Projects - > Run Settings -> Add custom executable -> got  
>> segmentation
>> fault
>> It's happens when opened two projects and one of them lib and another
>> application. On last snapshot on Linux and windows.
>> I didn't test it in other cases.
>>
>> Rudenko Eugene.
>> ___
>> Qt-creator mailing list
>> Qt-creator@trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
> Which version is that?
1.2.94 - fa2c4d6579 - build on Nov 2 2009 02:21:37  Linux 64 bit
For Mac I have not it right now, I'll write it as I got my Mac.
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Segmentation fault on Linux and Mac OS

2009-11-10 Thread Daniel Teske
ext Rudenko Eugene schrieb:
> There is some bug, my steps:
> Projects - > Run Settings -> Add custom executable -> got segmentation  
> fault
> It's happens when opened two projects and one of them lib and another  
> application. On last snapshot on Linux and windows.
> I didn't test it in other cases.
>
> Rudenko Eugene.
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>   
Which version is that?

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


Re: [Qt-creator] [Bug report] jom - jom failed on too long input lines

2009-11-10 Thread Jens Frederich
On Tue, Nov 10, 2009 at 5:57 PM, Joerg Bornemann
wrote:

> ext Jens Frederich wrote:
>
> > I've tried the 081 version. It fixed the too long input line bug.
> > But sometime  jom failed with error message: "Command failed with exit
> > code 2".
> > As far as I can see the dependencies are not correctly solved (I use a
> > Mac Pro with 16 cores).
>
> Which project you're trying to compile?
>

It our own product, not open source. It's based on qt3.


> What's the error message?
>

link /NOLOGO /INCREMENTAL:NO /MACHINE:AMD64 /DEBUG /DELAYLOAD:comdlg32.dll
/DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll
/DELAYLOAD:winspool.dll /DELAYLOAD:opengl32.dll /SUBSYSTEM:WINDOWS /DLL
/LIBPATH:"U:\lib.qt\3.3.8\win.x64.m
svc80\lib" 
/LIBPATH:"C:\build\C\jf\w.vg\trunk\git.master\win.x64.msvc80.release\lib"
/LIBPATH:"C:\build\C\jf\w.vg\trunk\git.master\win.x64.msvc80.release\lib\staticlibs"
/LIBPATH:"C:\build\C\jf\w.vg
\trunk\git.master\win.x64.msvc80.release\lib\designe
r" /LIBPATH:"U:\lib.log4cxx\0.10.0\win.x64.msvc80"
/LIBPATH:"U:\lib.xmlrpc-c\1.16.10\win.x64.msvc80"
/OUT:C:\build\C\jf\w.vg\trunk\git.master\win.x64.msvc80.release\lib\vgqremotecontrol.dll
@C:\Users\FREDER~1\AppData\Local\Temp\vgqremotecontrol.dll.1
20257114.jom
LINK : fatal error LNK1181: cannot open input file 'C:\build\C\jf\w.vg
\trunk\git.master\win.x64.msvc80.release\tmp\vgqremotecontrol\obj\vgs.plugin.remotecontrol.obj'
command failed with exit code 1181
command failed with exit code 2
cd reconparamsconverter
qmake   "CONFIG*=vg_release" -o Makefile.win.x64.msvc80.release
Project MESSAGE: PLATFORM is: win.x64.msvc80
Project MESSAGE: Configuring for a RELEASE build, creating
Makefile.win.x64.msvc80.release
Project MESSAGE: Setting plugin search path for uic to C:\build\C\jf\w.vg
\trunk\git.master/win.x64.msvc80.release/lib/designer
Project MESSAGE: additional manifests =
U:\lib.qt\3.3.8\win.x64.msvc80\lib\qt-mt338.dll.manifest
command failed with exit code 2

That works with nmake.


> Do you have a reproducable test case?
>
>
It's reproducible, but every time it breaks on another location.
As far as I can see jom handles dependencies wrong.
For example if I using -j2 instead -j 16 it doesn't fail.

-- 
Jens Frederich
Senior Software Engineer
freder...@volumegraphics.com
+49-6221-73920-75
-
Volume Graphics GmbH, Firmensitz: 69123 Heidelberg, Deutschland
Geschäftsführer: Christof Reinhart, Christoph Poliwoda, Thomas Günther
Amtsgericht Heidelberg, HRB 335703, USt-ID: DE187252420
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Segmentation fault on Linux and Mac OS

2009-11-10 Thread Rudenko Eugene

On 10.11.2009, at 20:12, Rudenko Eugene wrote:

> There is some bug, my steps:
> Projects - > Run Settings -> Add custom executable -> got  
> segmentation fault
> It's happens when opened two projects and one of them lib and  
> another application. On last snapshot on Linux and windows.
> I didn't test it in other cases.
Excuse me, some mistake: on Linux and Mac Os

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


Re: [Qt-creator] compiling problems

2009-11-10 Thread Mark Long
For those of us who are still git-impaired, what is the command to use
that particular code set?

-Mark

On Tue, 2009-11-10 at 13:26 +0200, Alex T. wrote:
> Just like Andre said,
> Qt 4.6 from git with 1bed105d048531e3e260eff0ef2533d7cc8ba7fb.
> 
> 
> 2009/11/10 Alex T. 
> You need Qt 4.6 from git to complie Qt Creator successfully.
> The git version of Qt 4.6 already has availableUndoSteps()
> function and others, but the Qt 4.6beta1 doesn't.
> I think Qt4.7 doesn't have them either.
> 
> 2009/11/10 Stéphane 
> 
> 
> Hello,
> 
> I have the same problem... to compile QtCreator after
> compiling and
> installing Qt from Git.
> It seem to me that if you git clone as it said on Qt
> git site with git
> clone git://gitorious.org/qt/qt.git
> 
> You 've got the v 4.7 of Qt and that's probably why
> QtCreator doesn't
> compile...
> 
> So take the 4.6 version of Qt and tell us if this
> improve. If you need,
> I could do the test for you.
> 
> Bests regards
> Stéphane
> 
> 
> > Good day.
> >
> > What kind of Qt are you use. With master Qt from git
> I have got
> >
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘FakeVim::Internal::EventResult
> >
> FakeVim::Internal::FakeVimHandler::Private::handleKey(int, 
> int, const
> > QString&)’:
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:663:
> > ошибка: ‘class QTextDocument’ has no member named
> ‘availableUndoSteps’
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘void
> FakeVim::Internal::FakeVimHandler::Private::undo()’:
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2730:
> > ошибка: ‘class QTextDocument’ has no member named
> ‘availableUndoSteps’
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2734:
> > ошибка: ‘class QTextDocument’ has no member named
> ‘availableUndoSteps’
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘void
> FakeVim::Internal::FakeVimHandler::Private::redo()’:
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2746:
> > ошибка: ‘class QTextDocument’ has no member named
> ‘availableUndoSteps’
> > 
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2750:
> > ошибка: ‘class QTextDocument’ has no member named
> ‘availableUndoSteps’
> >
> > Thanks
> > --
> > Oleg Shalnev (Kalpa Project)
> > --
> > mailto: o...@kalpa.ru 
> > skype:  oleg_shalnev
> > sip:   17474845...@gizmo5.com
> 
> > jabber:  oleg.shal...@gmail.com
> 
> > icq:366619571
> > http://kalpa.ru
> 
> 
> 
> ___
> 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


[Qt-creator] problem with switching documents (Coacoa-build of Qt)

2009-11-10 Thread Florian Schwehn
hi.

those of you who tried to compile Qt Creator for Mac using a Cocoa-version
of Qt will know that this aproach leads to some very annoying issues. one of
them is "switch between open documents dialog" thing when using the keyboard
shortcut (ALT-TAB by default). as far as i know these issues are Qt issues -
not Qt Creator. so i've been waiting for weeks now but the trolls still
didn't fix it - so i'd like to have try on my own.
since i'm not very familiar with the Qt Creator - code yet, can please
someone give me a hint where to start searching for that snippet of code in
Qt Creator which calls the "switch documents" popup-dialog?

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


[Qt-creator] Segmentation fault on Linux and Mac OS

2009-11-10 Thread Rudenko Eugene
There is some bug, my steps:
Projects - > Run Settings -> Add custom executable -> got segmentation  
fault
It's happens when opened two projects and one of them lib and another  
application. On last snapshot on Linux and windows.
I didn't test it in other cases.

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


Re: [Qt-creator] Problems with CDB Integration

2009-11-10 Thread Coda Highland
It's a known bug that qmake doesn't handle dependency tracking of
static libraries quite right. You'll often find you need to do a clean
and rebuild. Sometimes it works to remove the .exe to force a relink.

/s/ Adam

On Tue, Nov 10, 2009 at 10:52 AM, Georg Wünsch
 wrote:
> Dear Mr. Kleint,
>
> Thank you for your answer.
>
> The compiled program just runs fine outside qtcreator - or not really fine
> that why I need a debugger working -
>
> When hitting the "start debug" button a message with four options pops up,
> stating something with the debug helper that cannot be found or started.
> Then it directs me to the debugger properties where I can recompile the
> debugging helper (as I understand for gdb, which is not what I want, as I
> need the cdb to work).
>
>  these messages seem to be related to misconfigured
> debugging symbols directory:
>
> *** wait with pending attach
>
>  Symbol search path is:
>  *** Invalid ***
>
> e***
> *
> e* Symbol loading may be unreliable without a symbol search path.
> *
> e* Use .symfix to have the debugger choose a symbol path.
> *
> e* After setting your symbol path, use .reload to refresh symbol locations.
> *
> e***
> *
> e
>  Executable search path is:
>
>  ModLoad: 0040 006fb000   MyApp.exe
> --
>
>
> I have a quite large code base (> 3Megs of code if I leave out third party
> and open source libraries) and moved it from visual studio to qtcreator
> which was quite a lot of work, but now it is in better structure. I like the
> qmake process which makes it platform independent, but I might be missing
> something about the setup of large projects with qmake. Maybe this is also
> causing the debugger to crash as it has outdated or wrongly places symbols?
> It seems to me that first of all the make process needs to be fixed:
>
> I am heavily using the subdirs template and all projects but five are
> staticlibs.
>
> Four projects use the app template. The odd thing: the way I have set it up
> it seems not to push changes from the source files all the way down to the
> __program_.exe only to the last __program_.lib then it stops. Also, jom and
> nmake all the same run through all the subdirs until it reaches the point of
> change which takes quite some time. Only if I delete the exe file, the final
> linking is invoked.
>
> What might I be doing wrong, maybe do I need to specify all the
> dependencies? How? It seems that the missing exe is pulling down the making
> of libs, obj and cpp. But shouldn't it be the other way round that a change
> in a cpp pushes all the way down to the related .exes?
>
> To wrap it up: I cannot tell if the debugging problem is somehow related to
> a misconfigured qmake setup with all the projects, as the debugger
> crashes/exits with invalid symbol search path.
>
> Please help me on the qmake process.
>
> Cheers
>
> Georg Wuensch.
>
> Hi,
>
>>eERROR: Unable to find system thread
>>e1480
>> eERROR: The thread being debugged has either exited or cannot be accessed
>
> It looks like Qt Creator cannot start this application at all, possibly due
> to
> missing DLLs. Have you tried running the application normally in Qt Creator?
>
> Is it a Qt application/project?
> The recent 1.3 branch should be a bit more verbose.
>
> Regards,
> Friedemann
> --
> Friedemann Kleint
> Nokia, Qt Development Frameworks
>
>
> --
>
>
>
> ___
> 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] [Bug report] jom - jom failed on too long input lines

2009-11-10 Thread Joerg Bornemann
ext Jens Frederich wrote:

> I've tried the 081 version. It fixed the too long input line bug. 
> But sometime  jom failed with error message: "Command failed with exit 
> code 2". 
> As far as I can see the dependencies are not correctly solved (I use a 
> Mac Pro with 16 cores).

Which project you're trying to compile?
What's the error message?
Do you have a reproducable test case?

-- 
Joerg Bornemann
Software Engineer
Nokia, Qt Development Frameworks

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


Re: [Qt-creator] [Bug report] jom - jom failed on too long input lines

2009-11-10 Thread Joerg Bornemann
ext Grego wrote:

> I don't have the code at hand, but it was something simple like:
> 
> ROOT=../..
> !include $(ROOT)/config

Indeed, that doesn't work. Will be fixed.
Thanks for pointing this out!

> (I tried with absolute path, after which jom's lexer blew up, but
> that's another issue...)

This is something, I cannot reproduce.

!include C:\TEMP\bla.mk
works fine for me.

-- 
Joerg Bornemann
Software Engineer
Nokia, Qt Development Frameworks

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


Re: [Qt-creator] Problems with CDB Integration

2009-11-10 Thread Georg Wünsch
Dear Mr. Kleint,

Thank you for your answer. 

The compiled program just runs fine outside qtcreator - or not really fine
that why I need a debugger working - 

When hitting the "start debug" button a message with four options pops up,
stating something with the debug helper that cannot be found or started.
Then it directs me to the debugger properties where I can recompile the
debugging helper (as I understand for gdb, which is not what I want, as I
need the cdb to work).

 these messages seem to be related to misconfigured
debugging symbols directory:

*** wait with pending attach
 
 Symbol search path is: 
 *** Invalid ***
 
e***
*
e* Symbol loading may be unreliable without a symbol search path.
*
e* Use .symfix to have the debugger choose a symbol path.
*
e* After setting your symbol path, use .reload to refresh symbol locations.
*
e***
*
e
 Executable search path is: 
 
 ModLoad: 0040 006fb000   MyApp.exe
--


I have a quite large code base (> 3Megs of code if I leave out third party
and open source libraries) and moved it from visual studio to qtcreator
which was quite a lot of work, but now it is in better structure. I like the
qmake process which makes it platform independent, but I might be missing
something about the setup of large projects with qmake. Maybe this is also
causing the debugger to crash as it has outdated or wrongly places symbols?
It seems to me that first of all the make process needs to be fixed:

I am heavily using the subdirs template and all projects but five are
staticlibs.

Four projects use the app template. The odd thing: the way I have set it up
it seems not to push changes from the source files all the way down to the
__program_.exe only to the last __program_.lib then it stops. Also, jom and
nmake all the same run through all the subdirs until it reaches the point of
change which takes quite some time. Only if I delete the exe file, the final
linking is invoked. 

What might I be doing wrong, maybe do I need to specify all the
dependencies? How? It seems that the missing exe is pulling down the making
of libs, obj and cpp. But shouldn't it be the other way round that a change
in a cpp pushes all the way down to the related .exes?

To wrap it up: I cannot tell if the debugging problem is somehow related to
a misconfigured qmake setup with all the projects, as the debugger
crashes/exits with invalid symbol search path. 

Please help me on the qmake process.

Cheers

Georg Wuensch.

Hi,

>eERROR: Unable to find system thread 
>e1480
> eERROR: The thread being debugged has either exited or cannot be accessed

It looks like Qt Creator cannot start this application at all, possibly due
to 
missing DLLs. Have you tried running the application normally in Qt Creator?

Is it a Qt application/project?
The recent 1.3 branch should be a bit more verbose.

Regards,
Friedemann
-- 
Friedemann Kleint
Nokia, Qt Development Frameworks


--



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


[Qt-creator] About the cursor color

2009-11-10 Thread paulo
Hi,
> At least for me, using Qt Creator on X11, the text cursor is the same
> colour as the standard text (for example with the dark FakeVim theme,
> the cursor is gray).
>
> In another post you said you were using a black background, but surely
> your text isn't also set to black in that case.
>
> Regards,
> Bjørn
>
I just notice that what you say is true. But the cursor will take the 
color of the normal text (usually black over white) and, when you change 
to another time of text (say a comment with yellow text over black) the 
cursor still keeps the normal text color (black), therefore becomes 
"invisible".

I'm sure this is not the expected behavior, right?

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


Re: [Qt-creator] Refactoring class name does not work correctly all the time

2009-11-10 Thread Timi Tuohenmaa
Hi,

Now it _seems_ to work. As I told in first mail in this thread, I
don't have any way to
always reproduce the issue so I can't be 100% sure. Although I usually
needed only
few tries to reproduce it and now I can't make it fail.

But thanks for your work.


-Timi


2009/11/9 Friedemann Kleint :
> Hi,
>
> we pushed  a change (d2bd092b47c8d4f81855228d158cc1b81ead8c00)  that hopefully
> fixes this (was a Windows file name slashification problem). It should be 
> visible
> in the public repo (1.3 branch) in 12h time.
>
> If you still find it not working, we would be very interested in a small 
> sample
> project.
>
> Regards,
> Friedemann
> --
> Friedemann Kleint
> Nokia, Qt Development Frameworks
> ___
> 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] compiling problems

2009-11-10 Thread Alex T.
Yes, that is correct.

2009/11/10 Stéphane 

> what could help is to give the Git command to run to get the correct
> version of Qt to compile Qt 4.6 from scratch isn't it ?
> bests regards
>
> > Just like Andre said,
> > Qt 4.6 from git with 1bed105d048531e3e260eff0ef2533d7cc8ba7fb.
> >
>
> ___
> 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] compiling problems

2009-11-10 Thread Stéphane
what could help is to give the Git command to run to get the correct 
version of Qt to compile Qt 4.6 from scratch isn't it ?
bests regards

> Just like Andre said,
> Qt 4.6 from git with 1bed105d048531e3e260eff0ef2533d7cc8ba7fb.
>

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


Re: [Qt-creator] compiling problems

2009-11-10 Thread Alex T.
Just like Andre said,
Qt 4.6 from git with 1bed105d048531e3e260eff0ef2533d7cc8ba7fb.


2009/11/10 Alex T. 

> You need Qt 4.6 from git to complie Qt Creator successfully. The git
> version of Qt 4.6 already has availableUndoSteps() function and others, but
> the Qt 4.6beta1 doesn't.
> I think Qt4.7 doesn't have them either.
>
> 2009/11/10 Stéphane 
>
> Hello,
>>
>> I have the same problem... to compile QtCreator after compiling and
>> installing Qt from Git.
>> It seem to me that if you git clone as it said on Qt git site with git
>> clone git://gitorious.org/qt/qt.git
>> You 've got the v 4.7 of Qt and that's probably why QtCreator doesn't
>> compile...
>>
>> So take the 4.6 version of Qt and tell us if this improve. If you need,
>> I could do the test for you.
>>
>> Bests regards
>> Stéphane
>>
>>
>> > Good day.
>> >
>> > What kind of Qt are you use. With master Qt from git I have got
>> >
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
>> > member function ‘FakeVim::Internal::EventResult
>> > FakeVim::Internal::FakeVimHandler::Private::handleKey(int, int, const
>> > QString&)’:
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:663:
>> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
>> > member function ‘void
>> FakeVim::Internal::FakeVimHandler::Private::undo()’:
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2730:
>> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2734:
>> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
>> > member function ‘void
>> FakeVim::Internal::FakeVimHandler::Private::redo()’:
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2746:
>> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2750:
>> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>> >
>> > Thanks
>> > --
>> > Oleg Shalnev (Kalpa Project)
>> > --
>> > mailto: o...@kalpa.ru 
>> > skype:  oleg_shalnev
>> > sip:   17474845...@gizmo5.com 
>> > jabber:  oleg.shal...@gmail.com 
>> > icq:366619571
>> > http://kalpa.ru
>>
>> ___
>> 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] compiling problems

2009-11-10 Thread Alex T.
You need Qt 4.6 from git to complie Qt Creator successfully. The git version
of Qt 4.6 already has availableUndoSteps() function and others, but the Qt
4.6beta1 doesn't.
I think Qt4.7 doesn't have them either.

2009/11/10 Stéphane 

> Hello,
>
> I have the same problem... to compile QtCreator after compiling and
> installing Qt from Git.
> It seem to me that if you git clone as it said on Qt git site with git
> clone git://gitorious.org/qt/qt.git
> You 've got the v 4.7 of Qt and that's probably why QtCreator doesn't
> compile...
>
> So take the 4.6 version of Qt and tell us if this improve. If you need,
> I could do the test for you.
>
> Bests regards
> Stéphane
>
>
> > Good day.
> >
> > What kind of Qt are you use. With master Qt from git I have got
> >
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘FakeVim::Internal::EventResult
> > FakeVim::Internal::FakeVimHandler::Private::handleKey(int, int, const
> > QString&)’:
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:663:
> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘void
> FakeVim::Internal::FakeVimHandler::Private::undo()’:
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2730:
> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2734:
> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In
> > member function ‘void
> FakeVim::Internal::FakeVimHandler::Private::redo()’:
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2746:
> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> > ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2750:
> > ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> >
> > Thanks
> > --
> > Oleg Shalnev (Kalpa Project)
> > --
> > mailto: o...@kalpa.ru 
> > skype:  oleg_shalnev
> > sip:   17474845...@gizmo5.com 
> > jabber:  oleg.shal...@gmail.com 
> > icq:366619571
> > http://kalpa.ru
>
> ___
> 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] compiling problems

2009-11-10 Thread Stéphane
Hello,

I have the same problem... to compile QtCreator after compiling and 
installing Qt from Git.
It seem to me that if you git clone as it said on Qt git site with git 
clone git://gitorious.org/qt/qt.git
You 've got the v 4.7 of Qt and that's probably why QtCreator doesn't 
compile...

So take the 4.6 version of Qt and tell us if this improve. If you need, 
I could do the test for you.

Bests regards
Stéphane


> Good day.
>
> What kind of Qt are you use. With master Qt from git I have got
>
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In 
> member function ‘FakeVim::Internal::EventResult 
> FakeVim::Internal::FakeVimHandler::Private::handleKey(int, int, const 
> QString&)’:
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:663: 
> ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In 
> member function ‘void FakeVim::Internal::FakeVimHandler::Private::undo()’:
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2730: 
> ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2734: 
> ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp: In 
> member function ‘void FakeVim::Internal::FakeVimHandler::Private::redo()’:
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2746: 
> ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
> ../../../../QtCreator/src/plugins/fakevim/fakevimhandler.cpp:2750: 
> ошибка: ‘class QTextDocument’ has no member named ‘availableUndoSteps’
>
> Thanks
> -- 
> Oleg Shalnev (Kalpa Project)
> --
> mailto: o...@kalpa.ru 
> skype:  oleg_shalnev
> sip:   17474845...@gizmo5.com 
> jabber:  oleg.shal...@gmail.com 
> icq:366619571
> http://kalpa.ru

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


Re: [Qt-creator] compiling problems

2009-11-10 Thread Oleg Shalnev
May be I am unlucky. Trying to reclone the repo

o...@ovs_mobile soft $ git clone git://gitorious.org/qt/qt.git Qt
Initialized empty Git repository in /home/ovs/usr/soft/Qt/.git/
remote: Counting objects: 234202, done.
remote: Compressing objects: 100% (71572/71572), done.
fatal: The remote end hung up unexpectedly04 MiB | 31 KiB/s
fatal: early EOF
fatal: index-pack failed
o...@ovs_mobile soft $ git clone git://gitorious.org/qt/qt.git Qt
Initialized empty Git repository in /home/ovs/usr/soft/Qt/.git/
remote: Counting objects: 234202, done.
remote: Compressing objects: 100% (71572/71572), done.
fatal: The remote end hung up unexpectedly02 MiB | 27 KiB/s
fatal: early EOF
fatal: index-pack failed
o...@ovs_mobile soft $ git clone git://gitorious.org/qt/qt.git Qt
Initialized empty Git repository in /home/ovs/usr/soft/Qt/.git/
^Cmote: Counting objects: 20623
o...@ovs_mobile soft $
o...@ovs_mobile soft $ git clone git://gitorious.org/qt/qt.git Qt
Initialized empty Git repository in /home/ovs/usr/soft/Qt/.git/
remote: Counting objects: 234202, done.
remote: Compressing objects: 100% (71572/71572), done.
fatal: The remote end hung up unexpectedly09 MiB | 18 KiB/s
fatal: early EOF
fatal: index-pack failed


2009/11/10 André Pönitz 

> On Tuesday 10 November 2009 07:53:59 ext Oleg Shalnev wrote:
> > Good day.
> >
> > What kind of Qt are you use.
>
> You need Qt 4.6 from git that includes change
> 1bed105d048531e3e260eff0ef2533d7cc8ba7fb.
>
> Andre'
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



-- 
Oleg Shalnev (Kalpa Project)
--
mailto: o...@kalpa.ru
skype:  oleg_shalnev
sip:   17474845...@gizmo5.com
jabber:  oleg.shal...@gmail.com
icq:366619571
http://kalpa.ru
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator