Re: [Qt-creator] unsubscribe
Hmm..that didn't work... _ From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Boy Lenssen Sent: dinsdag 30 maart 2010 9:25 To: qt-creator@trolltech.com Subject: [Qt-creator] unsubscribe __ Information from ESET NOD32 Antivirus, version of virus signature database 4983 (20100329) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4983 (20100329) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] help
___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] export to pdf
Glad to be of help :-) From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of John Bull Sent: woensdag 3 februari 2010 12:52 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] export to pdf Awesome! Just what I needed. On Mon, Feb 1, 2010 at 11:11 AM, Boy Lenssen boy.lens...@esaote.nl wrote: How about using the render() function? QTableWidget t; t.render( painter ); From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of John Bull Sent: zondag 31 januari 2010 7:24 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] export to pdf This is what I have for now. I need the actual table as it is. Any reference on how to do this would be appreciated. JB void Table::exportToPdf() { QString fileName = QFileDialog::getSaveFileName(this,tr(Export as Pdf..),, tr(PDF files (*.pdf))); if (fileName.isEmpty()) return; QPrinter printer; printer.setOutputFormat(QPrinter::PdfFormat); printer.setOutputFileName(fileName); printer.setFullPage(true); printer.setOrientation(QPrinter::Portrait); printer.setPaperSize(QPrinter::A4); QPainter painter(printer); painter.drawText(0, 0 , 250, 200,Qt::TextWordWrap,exportText ); // painter.begin() } On Sat, Jan 30, 2010 at 9:16 PM, Martin Hofius mar...@hofius-online.com wrote: Am Samstag, 30. Januar 2010 schrieb John Bull: I have a QTable widget in a simple app I'm involved in and I would like to be able to export it to pdf as it is .? How can I achieve this. how about printing it to pdf...? Martin ___ 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] export to pdf
How about using the render() function? QTableWidget t; t.render( painter ); From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of John Bull Sent: zondag 31 januari 2010 7:24 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] export to pdf This is what I have for now. I need the actual table as it is. Any reference on how to do this would be appreciated. JB void Table::exportToPdf() { QString fileName = QFileDialog::getSaveFileName(this,tr(Export as Pdf..),, tr(PDF files (*.pdf))); if (fileName.isEmpty()) return; QPrinter printer; printer.setOutputFormat(QPrinter::PdfFormat); printer.setOutputFileName(fileName); printer.setFullPage(true); printer.setOrientation(QPrinter::Portrait); printer.setPaperSize(QPrinter::A4); QPainter painter(printer); painter.drawText(0, 0 , 250, 200,Qt::TextWordWrap,exportText ); // painter.begin() } On Sat, Jan 30, 2010 at 9:16 PM, Martin Hofius mar...@hofius-online.com wrote: Am Samstag, 30. Januar 2010 schrieb John Bull: I have a QTable widget in a simple app I'm involved in and I would like to be able to export it to pdf as it is .? How can I achieve this. how about printing it to pdf...? Martin ___ 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] long time before hitting 1st breakpoint
Nope! Just tried it, and the delay is gone when unchecking 'Use debugging helper'... Any other tips? Cause it seems like we are getting somewhere here :) I would love to use Qt Creator for debugging instead of Visual Studio... -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Andre Poenitz Sent: dinsdag 19 januari 2010 19:43 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] long time before hitting 1st breakpoint On Tue, Jan 19, 2010 at 03:46:24PM +0100, Boy Lenssen wrote: Ow, I'm sorry, but I'm using Windows XP with the CDB. I never used CDB (or any other debugger) from the command line before... I can't give directions for cdb either. Another thing to check, though: Do you see the delay also when switching off the 'Debugging Helpers'? Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] FW: long time before hitting 1st breakpoint
Hi, Although I can now use Qt Creator as debugger, I would like to be able to use the debugging helpers...anyone else having this issue? -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Boy Lenssen Sent: woensdag 20 januari 2010 9:30 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] long time before hitting 1st breakpoint Nope! Just tried it, and the delay is gone when unchecking 'Use debugging helper'... Any other tips? Cause it seems like we are getting somewhere here :) I would love to use Qt Creator for debugging instead of Visual Studio... -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Andre Poenitz Sent: dinsdag 19 januari 2010 19:43 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] long time before hitting 1st breakpoint On Tue, Jan 19, 2010 at 03:46:24PM +0100, Boy Lenssen wrote: Ow, I'm sorry, but I'm using Windows XP with the CDB. I never used CDB (or any other debugger) from the command line before... I can't give directions for cdb either. Another thing to check, though: Do you see the delay also when switching off the 'Debugging Helpers'? Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] long time before hitting 1st breakpoint
Hi, The problem I'm (still) having with Qt Creator (doesn't matter which version, except the first release) is that it takes about half a minute before hitting the first breakpoint. After that, it responds fast. The next debugging session there again the same problem. Qt Creator doesn't respond during this, can't change tabs or anything, the program 'hangs'. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] long time before hitting 1st breakpoint
Ow, I'm sorry, but I'm using Windows XP with the CDB. I never used CDB (or any other debugger) from the command line before... Do you have an example how to quick test it? From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of André Pönitz Sent: dinsdag 19 januari 2010 15:39 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] long time before hitting 1st breakpoint On Tuesday 19 January 2010 15:04:28 ext Boy Lenssen wrote: Hi, The problem I'm (still) having with Qt Creator (doesn't matter which version, except the first release) is that it takes about half a minute before hitting the first breakpoint. After that, it responds fast. The next debugging session there again the same problem. Qt Creator doesn't respond during this, can't change tabs or anything, the program 'hangs'. I think I asked this before, but looks like I deleted that mail already: How long does it take to hit the same breakpoint with commandline gdb? Also, please consider adding the problem to bugreports.qt.nokia.com. This is nowadays probably the best place to make sure issues do not get lost. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] initializing dumpers
Hi, At first I thought it was still work in progress, but a colleague of mine is using the last released version, I'm building my own from the repository. Using the released version, I can start debugging immediately when hitting a breakpoint, when using my own build, I have to wait for about 20 to 30 seconds and it says 'initializing dumpers'. How come this takes so long? The user interface is also frozen at that time (well, it doesn't respond, there is a blinking cursor). It takes about 20 to 30 seconds on our main project, smaller projects are much faster (2 seconds or so). ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] FW: Qt Creator crash last build
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] 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] [Feature] References?
Hi, At the moment I look for references of a function by doing a search in the whole project (ctrl-shift-F). Is there something planned to make this easier? ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Debugging Helper broken in 1.2?
As far as I know, you always get a green checkmark. I would check the log (click the show log button next to the rebuild button) to see if it did compile without errors -Original Message- From: Mike Jackson [mailto:imikejack...@gmail.com] Sent: donderdag 16 juli 2009 18:18 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Debugging Helper broken in 1.2? I am also having some issues with the Debugging Helpers. QtCreator 1.2.1 on OS X 10.5.7 Intel with a custom built Qt 4.5.2 (Universal, Cocoa). QtCreator recognized my Qt 4.5.2 build and I clicked the button to build the Debug helpers and I got the Green Checkmark so I tried debugging a Qt based app that I have. When the debugger starts I get an error message say there was an issue loading the Debugger Helper code. Do I have to add the debugging library as a link library to my project? Thanks for any Help. Mike Jackson On 2009-07-08 05:53:54 -0400, Robert Caldecott robert.caldec...@gmail.com said: Event better! Thanks, this is very useful. It was fun building it myself though. 2009/7/8 Karsten Heimrich karsten.heimr...@nokia.com: Hi Robert, ext Robert Caldecott schrieb: I've never used git to check out a copy of Qt Creator, but I'll give it a go when I get time. snapshots are available here: ftp://ftp.qtsoftware.com/qtcreator/snapshots/2009-07-07/ Regards, -- Karsten Heimrich - karsten.heimrich (AT) nokia.com Software Engineer - Nokia, Qt Software Rudower Chaussee 13, 12489 Berlin, Germany ___ 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] Debugging Helper broken in 1.2?
I thought that was work in progress, detecting errors. When I see a failed build in the log, I still get a green mark AFAIK, but maybe I'm mistaken. -Original Message- From: André Pönitz [mailto:andre.poen...@nokia.com] Sent: vrijdag 17 juli 2009 10:17 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Debugging Helper broken in 1.2? On Friday 17 July 2009 08:10:03 ext Boy Lenssen wrote: As far as I know, you always get a green checkmark. [Even when there were errors? I haven't heard that before.] I would check the log (click the show log button next to the rebuild button) to see if it did compile without errors That's good advice. One can go even a step further and remove the directory qtc-debugging-helper in the directory or your Qt installation, or possibly all such directories on the hard disk before triggering the rebuild to make _really_ sure that the build was successful. 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] debugging VS steps: 30 seconds
But now I still have the problem that I don't see Qt type values (like QString). I just says 'class QSTring'. I've installed Qt 4.5.2 and rebuild the debugging helpers...no data...does this have to do with the disabling dumpers due to debuggee crash message? From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: woensdag 15 juli 2009 15:32 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Hi, Ok, works on my colleague's system...so I'll have to find another cause... That's what we are seeing too..on some system it mysteriously works, on some, it doesn't. Our initial guess was that it breaks on 64bit systems using 32bit Qt Creator, but statistics proved it wrong. Any clue would be appreciated. dumper:Disabling dumpers due to debuggee crash... Could you post the full log? Thanks, Friedemann -- Friedemann Kleint Nokia, Qt Software ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] debugging VS steps: 30 seconds
Here it is From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: woensdag 15 juli 2009 16:23 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Hi, Ok, something funny happened: I had some watchers for variables that were out of scope(because they were there from previous runs and breakpoint were hit in other function). I removed them to make a clean debugger output and tried it again and now it works perfectly! Aha, thanks a lot for figuring this out! Not sure why this takes ages, maybe it is trying to resolve a symbol. Anyways. But now I still have the problem that I don't see Qt type values (like QString). I just says 'class QSTring'. I've installed Qt 4.5.2 and rebuild the debugging helpers...no data...does this have to do with the disabling dumpers due to debuggee crash message? Yes, it seems there is an unknown exception somewhere. Could you post the full log? Friedemann input:--- token barrier --- debug:NO GDB PROCESS RUNNING, CMD IGNORED: -stack-list-arguments 2 0 0 debug:NO GDB PROCESS RUNNING, CMD IGNORED: -stack-list-locals 2 debug:SWITCHING OFF DUMPER DEBUGGING debug:NO GDB PROCESS RUNNING, CMD IGNORED: set unwindonsignal on status:Starting Debugger status:Starting Debugger cdb:Microsoft (R) Windows Debugger Version 6.11.0001.404 X86 cdb:Copyright (c) Microsoft Corporation. All rights reserved. cdb: cdb:CommandLine: snip.exe cdb: cdb:Starting directory: snip cdb: status:Running... status:Debugger running cdb:Symbol search path is: cdb: cdb:*** Invalid *** cdb: warning: warning:* Symbol loading may be unreliable without a symbol search path. * warning:* Use .symfix to have the debugger choose a symbol path. * warning:* After setting your symbol path, use .reload to refresh symbol locations. * warning: warning: cdb:Executable search path is: snip cdb: cdb:ModLoad: 0040 02a05000 snip.exe cdb: status:Running... cdb:ModLoad: 7c90 7c9b2000 ntdll.dll cdb: cdb:ModLoad: 7c80 7c8f6000 C:\WINDOWS\system32\kernel32.dll cdb: cdb:ModLoad: 7e41 7e4a1000 C:\WINDOWS\system32\USER32.dll cdb: cdb:ModLoad: 77f1 77f59000 C:\WINDOWS\system32\GDI32.dll cdb: cdb:ModLoad: 7300 73026000 C:\WINDOWS\system32\WINSPOOL.DRV cdb: cdb:ModLoad: 77dd 77e6b000 C:\WINDOWS\system32\ADVAPI32.dll cdb: cdb:ModLoad: 77e7 77f02000 C:\WINDOWS\system32\RPCRT4.dll cdb: cdb:ModLoad: 77fe 77ff1000 C:\WINDOWS\system32\Secur32.dll cdb: cdb:ModLoad: 77c1 77c68000 C:\WINDOWS\system32\msvcrt.dll cdb: warning:*** WARNING: Unable to verify checksum for warning: warning:snip.dll warning: warning: warning: cdb:ModLoad: 1000 10015000 snip.dll cdb: cdb:ModLoad: 74ad 74ad8000 C:\WINDOWS\system32\POWRPROF.dll cdb: cdb:ModLoad: 7792 77a13000 C:\WINDOWS\system32\SETUPAPI.dll cdb: cdb:ModLoad: 0034 0039d000 snip.dll cdb: cdb:ModLoad: 5ed0 5edcc000 C:\WINDOWS\system32\OPENGL32.dll cdb: cdb:ModLoad: 68b2 68b4 C:\WINDOWS\system32\GLU32.dll cdb: cdb:ModLoad: 7376 737ab000 C:\WINDOWS\system32\DDRAW.dll cdb: cdb:ModLoad: 73bc 73bc6000 C:\WINDOWS\system32\DCIMAN32.dll cdb: cdb:ModLoad: 77c0 77c08000 C:\WINDOWS\system32\VERSION.dll cdb: cdb:ModLoad: 58f2 58f8 C:\WINDOWS\system32\irprops.cpl cdb: cdb:ModLoad: 72a9 72ad8000 C:\WINDOWS\system32\DEVMGR.DLL cdb: cdb:ModLoad: 71b2 71b32000 C:\WINDOWS\system32\MPR.dll cdb: cdb:ModLoad: 774e 7761d000 C:\WINDOWS\system32\ole32.dll cdb: cdb:ModLoad: 7c9c 7d1d7000 C:\WINDOWS\system32\SHELL32.dll cdb: cdb:ModLoad: 77f6 77fd6000 C:\WINDOWS\system32\SHLWAPI.dll cdb: cdb:ModLoad: 76d3 76d34000 C:\WINDOWS\system32\WMI.dll cdb: cdb:ModLoad: 71ad 71ad9000 C:\WINDOWS\system32\WSOCK32.dll cdb: cdb:ModLoad: 71ab 71ac7000 C:\WINDOWS\system32\WS2_32.dll cdb: cdb:ModLoad: 71aa 71aa8000 C:\WINDOWS\system32\WS2HELP.dll cdb: cdb:ModLoad: 46ff 47004000 C:\WINDOWS\system32\Wlanapi.dll cdb: cdb:ModLoad: 7712 771ab000 C:\WINDOWS\system32\OLEAUT32.dll cdb: cdb:ModLoad: 7303 7304 C:\WINDOWS\system32\WZCSAPI.DLL cdb: cdb:ModLoad: 76e8 76e8e000 C:\WINDOWS\system32\rtutils.dll cdb: warning:*** WARNING: Unable to verify checksum for warning: warning:snip.dll warning: warning: warning: cdb:ModLoad: 003b 003bf000 snip.dll cdb: cdb:ModLoad: 76b4 76b6d000 C:\WINDOWS\system32\WINMM.dll cdb: cdb:ModLoad: 003c 003d1000 snip.dll cdb: cdb:ModLoad: 02a1 03ae1000 C:\Qt\4.5.2\bin\QtWebKitd4.dll cdb: status:Loading the custom dumper library 'C:\Qt\4.5.2\qtc-debugging-helper\debug\gdbmacros.dll' (injection) ... cdb:ModLoad: 03c0 03c73000 C:\Qt\4.5.2\bin\phonond4.dll cdb: cdb:ModLoad: 6500 65bd6000
Re: [Qt-creator] debugging VS steps: 30 seconds
Can I just build the latest git version also? From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: woensdag 15 juli 2009 16:54 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Hi, Here it is Ah, it was considering C++ exceptions to be a crash, too, which I fixed with b2ec44ba907bdcf2b6e15b2d1641af108b2956fa. This can be cherry-picked into a 1.2.1 branch, should you have one. Friedemann ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] debugging VS steps: 30 seconds
Nope, didn't work...how does cherry-picking work? I'm not familiar with that... From: Boy Lenssen Sent: woensdag 15 juli 2009 17:01 To: 'qt-creator@trolltech.com' Subject: RE: [Qt-creator] debugging VS steps: 30 seconds Can I just build the latest git version also? From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: woensdag 15 juli 2009 16:54 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Hi, Here it is Ah, it was considering C++ exceptions to be a crash, too, which I fixed with b2ec44ba907bdcf2b6e15b2d1641af108b2956fa. This can be cherry-picked into a 1.2.1 branch, should you have one. Friedemann ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] debugging VS steps: 30 seconds
Hi, I still hadn't been able to solve this problem. Also turning debugging helpers off doesn't make it faster. My next step is to try it on a colleague's system to see if it seems to be working correctly there... I've been building latest git repositories and tried the new release 1.2.1 today... From: Boy Lenssen [mailto:boy.lens...@esaote.nl] Sent: donderdag 9 juli 2009 10:11 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Ok, thanks for the information! You mean 'turning the debugging helpers off' or 'tuning the debugging helpers'? I guess the first one, otherwise I would like to know how to tune them ;) From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: donderdag 9 juli 2009 9:57 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] debugging VS steps: 30 seconds Hi, I said before that I had problems with seeing Qt types values, that seems to be solved now. But I still have the problem that every step (or when I hit a breakpoint) the whole program hangs for about 30 seconds. It worked faster before. I'm not sure if it is just me (and I need to reinstall my system or something :s ) or that this is normal for now and work-in-progress. Do other people have this issue? No, the system is not (necessarily) to blame heretechnically, this phenomenon is caused by the debugger helpers hitting on an uninitialized variable. For example: QString s1 = foo; breakpoint fiddle(s1); QString s2 = bar; At the breakpoint, the debugger already sees s2 in the stack frame and tries to display it using the Debugger helpers. As it is not yet initialized, the helper can cause memory access violations, which make it slow (particularly with CDB). We are working on the issue, but have not really found a good solution yet. Turning the debugger helpers will always make it faster. Regards. Friedemann -- Friedemann Kleint Nokia, Qt Software ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] debugging VS steps: 30 seconds
Using Win XP SP3, repository build Qt Creator Hi, I said before that I had problems with seeing Qt types values, that seems to be solved now. But I still have the problem that every step (or when I hit a breakpoint) the whole program hangs for about 30 seconds. It worked faster before. I'm not sure if it is just me (and I need to reinstall my system or something :s ) or that this is normal for now and work-in-progress. Do other people have this issue? ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] latest git build laggy?
Works with lag indeed..thanks... From: Roberto Raggi [mailto:roberto.ra...@trolltech.com] Sent: maandag 6 juli 2009 10:05 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] latest git build laggy? Hi, please can you try today's snapshot? ciao robe On Jul 3, 2009, at 2:01 PM, Boy Lenssen wrote: Some more info: I found when I click somewhere, it hangs for about a second... From: Boy Lenssen [mailto:boy.lens...@esaote.nl] Sent: vrijdag 3 juli 2009 13:59 To: qt-creator@trolltech.com Subject: [Qt-creator] latest git build laggy? Hi, Just to make sure: is the latest build with other users also laggy? Often, when I type it hangs for a few seconds. I don't seem to have this problem with the released version. I'm using XP SP3 ___ 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] still can't see Qt types VS exe; debugger seems to crash?
Hi, I still have problems debugging VS executables. I can't see any information of Qt datatypes (like the value of a QString). Also: every step when stepping through the code takes about 30 seconds. I find this issue using the release version as in the last git repository version (just compiled it half hour ago). I've added debugger debug info from the debugger tab (lol, lots of debugging :-) ). It says something in it about crashing: Disabling dumpers due to debuggee crash... sStarting debugger for tool chain 'MS VC'... sStarting Debugger sDebugger running *** 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: D:\Home\Projects\snip ModLoad: 0040 029f5000 d:\Home\Projects\snip sRunning... ModLoad: 7c90 7c9b2000 C:\WINDOWS\system32\ntdll.dll eMissing image name, possible paged-out or corrupt data. e eMissing image name, possible paged-out or corrupt data. e eMissing image name, possible paged-out or corrupt data. e ModLoad: 7c80 7c8f6000 C:\WINDOWS\system32\kernel32.dll ModLoad: 7e41 7e4a1000 C:\WINDOWS\system32\USER32.dll ModLoad: 77f1 77f59000 C:\WINDOWS\system32\GDI32.dll ModLoad: 7300 73026000 C:\WINDOWS\system32\WINSPOOL.DRV ModLoad: 77dd 77e6b000 C:\WINDOWS\system32\ADVAPI32.dll ModLoad: 77e7 77f02000 C:\WINDOWS\system32\RPCRT4.dll ModLoad: 77fe 77ff1000 C:\WINDOWS\system32\Secur32.dll ModLoad: 77c1 77c68000 C:\WINDOWS\system32\msvcrt.dll e*** WARNING: Unable to verify checksum for e ed:\Home\Projects\snip e e e ModLoad: 1000 10015000 d:\Home\Projects\snip ModLoad: 74ad 74ad8000 C:\WINDOWS\system32\POWRPROF.dll ModLoad: 7792 77a13000 C:\WINDOWS\system32\SETUPAPI.dll ModLoad: 0034 0039d000 d:\Home\Projects\snip ModLoad: 5ed0 5edcc000 C:\WINDOWS\system32\OPENGL32.dll ModLoad: 68b2 68b4 C:\WINDOWS\system32\GLU32.dll ModLoad: 7376 737ab000 C:\WINDOWS\system32\DDRAW.dll ModLoad: 73bc 73bc6000 C:\WINDOWS\system32\DCIMAN32.dll ModLoad: 77c0 77c08000 C:\WINDOWS\system32\VERSION.dll ModLoad: 58f2 58f8 C:\WINDOWS\system32\irprops.cpl ModLoad: 72a9 72ad8000 C:\WINDOWS\system32\DEVMGR.DLL ModLoad: 71b2 71b32000 C:\WINDOWS\system32\MPR.dll ModLoad: 774e 7761d000 C:\WINDOWS\system32\ole32.dll ModLoad: 7c9c 7d1d7000 C:\WINDOWS\system32\SHELL32.dll ModLoad: 77f6 77fd6000 C:\WINDOWS\system32\SHLWAPI.dll ModLoad: 76d3 76d34000 C:\WINDOWS\system32\WMI.dll ModLoad: 71ad 71ad9000 C:\WINDOWS\system32\WSOCK32.dll ModLoad: 71ab 71ac7000 C:\WINDOWS\system32\WS2_32.dll ModLoad: 71aa 71aa8000 C:\WINDOWS\system32\WS2HELP.dll ModLoad: 46ff 47004000 C:\WINDOWS\system32\Wlanapi.dll ModLoad: 7712 771ab000 C:\WINDOWS\system32\OLEAUT32.dll ModLoad: 7303 7304 C:\WINDOWS\system32\WZCSAPI.DLL ModLoad: 76e8 76e8e000 C:\WINDOWS\system32\rtutils.dll e*** WARNING: Unable to verify checksum for e ed:\Home\Projects\snip e e e ModLoad: 003b 003bf000 d:\Home\Projects\snip ModLoad: 76b4 76b6d000 C:\WINDOWS\system32\WINMM.dll ModLoad: 003c 003d1000 d:\Home\Projects\snip ModLoad: 02a0 03ac6000 C:\Qt\4.5.1\bin\QtWebKitd4.dll sLoading the custom dumper library 'C:\Qt\4.5.1\qtc-debugging-helper\debug\gdbmacros.dll' (injection) ... ModLoad: 03ad 03b43000 C:\Qt\4.5.1\bin\phonond4.dll ModLoad: 6500 65c29000 C:\Qt\4.5.1\bin\QtGuid4.dll ModLoad: 763b 763f9000 C:\WINDOWS\system32\comdlg32.dll ModLoad: 5d09 5d12a000 C:\WINDOWS\system32\COMCTL32.dll ModLoad: 7639 763ad000 C:\WINDOWS\system32\IMM32.dll ModLoad: 6700 6733f000 C:\Qt\4.5.1\bin\QtCored4.dll ModLoad: 1048 1057e000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\MSVCP80D.dll ModLoad: 1020 10321000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\MSVCR80D.dll ModLoad: 6400 6415d000 C:\Qt\4.5.1\bin\QtNetworkd4.dll ModLoad: 6000 60392000 C:\Qt\4.5.1\bin\Qt3Supportd4.dll ModLoad: 6200 62051000 C:\Qt\4.5.1\bin\QtSqld4.dll ModLoad: 6100 61091000 C:\Qt\4.5.1\bin\QtXmld4.dll ModLoad: 773d 774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll ModLoad: 0417 04435000 C:\WINDOWS\system32\XPSP2RES.DLL ModLoad: 688f 688f9000
[Qt-creator] latest git build laggy?
Hi, Just to make sure: is the latest build with other users also laggy? Often, when I type it hangs for a few seconds. I don't seem to have this problem with the released version. I'm using XP SP3 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] latest git build laggy?
Some more info: I found when I click somewhere, it hangs for about a second... From: Boy Lenssen [mailto:boy.lens...@esaote.nl] Sent: vrijdag 3 juli 2009 13:59 To: qt-creator@trolltech.com Subject: [Qt-creator] latest git build laggy? Hi, Just to make sure: is the latest build with other users also laggy? Often, when I type it hangs for a few seconds. I don't seem to have this problem with the released version. I'm using XP SP3 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Values of Qt Objects
I have the green checkmark for the Qt versions, Use debugging helper is also checked, do I have to set a custom location? -Original Message- From: Andre Poenitz [mailto:andre.poen...@mathematik.tu-chemnitz.de] Sent: woensdag 24 juni 2009 18:19 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Values of Qt Objects On Wed, Jun 24, 2009 at 11:05:00AM +0200, Boy Lenssen wrote: I'm trying to get Qt Creator to show values of Qt Objects while debugging VS executable, for instance for QString. I know I had this problem with GDB with 1.0.0 version, but there I just had to tick the box use custom display for Qt and Standard Library Objects. This isn't there anymore. What should be done to make this work? In the Qt version settings dialog there are checkmarks (or not...) whether you have that helper library build for a given Qt installation. There's also a Rebuild button in case it's not there. Booleans and enums do give the value. Their values are reported directly by gdb. 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] [VS debugging] hangs on mouse hover ?
I didn't hover in the localsWatchers view, but on local variables in the editor part, and this gave the tooltip. I've updated git repo and build it...still the same... -Original Message- From: Andre Poenitz [mailto:andre.poen...@mathematik.tu-chemnitz.de] Sent: woensdag 24 juni 2009 20:08 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] [VS debugging] hangs on mouse hover ? On Wed, Jun 24, 2009 at 09:54:54AM +0200, Boy Lenssen wrote: I'm using an own build version, build on june 22. When debugging VS executables, all seems well, but when I hover on a variable to see what the value is, Qt Creator hangs completely for about 20 seconds. Sometimes it does work, but only for the parameters received by a function. Where do you hover on the variable? The picture you sent looks like a tooltip in the LocalsWatchers view, is that where you got it? There is an option in the settings to enable tooltips when hovering over variables in the text. But that did not work well until very recently (read today noon), so it is switched off by default. With a really recent build from git master (which, unfortunately, means it will not be in 1.2) it should work fine, though. 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] Debugging Helper broken in 1.2?
Yes, I have the same issue! -Original Message- From: Robert Caldecott [mailto:robert.caldec...@gmail.com] Sent: donderdag 25 juni 2009 15:39 To: qt-creator@trolltech.com Subject: [Qt-creator] Debugging Helper broken in 1.2? I've just upgraded to Qt Creator 1.2 and the debugging helper functionality won't work. If I enable the option in Tools|Options|Debugging, and then open Tools|Options again, the option is back to off. This means I can't see Qt types when debugging. Just gone back to 1.1 and it works fine. Any ideas? ___ 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] today's build
I've pulled the latest source from the Git repository and build Qt Creator myself, but now I'm not able to open projects. I've tried via sessions, recent projects and via file-open and then a .pro file. It just ignores it. Anyone else having this problem? Regards, Boy. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] today's build
I'm not seeing this problem. Please check whether all plugins are compiled and loaded correctly, in Help - About Plugins. In particular the Qt4ProjectManager. That was indeed the problem! I've done a rebuild all and now it's fixed, thanks! I think the problem was that I was running Qt Creator while building, thought this wouldn't be an issue, but I guess I thought wrong :) -- Thorbjørn Lindeijer Software Engineer Nokia, Qt Software ___ 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] experience debugging VC
Hi, When the debugging works, it's pretty nice, but Qt Creator often hangs. Is this a known issue? I'm using an own built version from the Git repository, updated and built on june 5th. Regards, Boy. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] shadow build issue
I want to build the release in a different directory so I don't loose my debug binaries (else you have to do a clean build when switching from debug to release and vice versa, which takes a lot of time). Hmm, I'm guessing here, but from your description it sounds like you are building the debug binaries in the source directory? That can result in strange errors. You should have a shadow build directory for debug and release. That's indeed what I'm doing, I'll maybe try later what happens If I clean the build in the source dir and have 2 shadow build directories. Thanks ___ 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] Cannot debug GUI apps on Windows XP (wxvault.dllwoes)
Offtopic: in what period of time do you think 1.2 will be released? From: Friedemann Kleint [mailto:friedemann.kle...@nokia.com] Sent: dinsdag 26 mei 2009 13:07 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Cannot debug GUI apps on Windows XP (wxvault.dllwoes) Hi Robert, Thanks for taking the time to look at this. Sadly, I am not running the Windows firewall but I do have a Dell laptop. Is there anything else I can try before I switch to the Visual Studio plug-in? Not really unfortunately.. you could analyze (depends.exe) why this dependency to vxvault.dll exists, but it might not lead anywhere. For 1.2, we plan to support the Windows Console Debugger as well, you could try that using a version of Qt Creator built from the current sources. Regards, Friedemann -- Friedemann Kleint Nokia, Qt Software ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] SOLVED [was: Re: Qt Creator response too slow]
Ow, I see this mail just now, Missed it somehow in all the other mails! Thanks for fixing this, now I can get a snapshot build later then may 8th and use the latest version! Appreciate your fast responses! Regards, Boy. -Original Message- From: Matthias Ettrich [mailto:matthias.ettr...@nokia.com] Sent: vrijdag 8 mei 2009 15:53 To: qt-creator@trolltech.com Subject: [Qt-creator] SOLVED [was: Re: Qt Creator response too slow] We are now caching those calls to isReadOnly in the base text document, which should make the performance issue go away. We now get the permissions only when we load the file, or when we are trying to save it. Still annoying that basic operations can be that slow on Windows, definitely a Qt/Windows bug. Matthias On Friday 08 May 2009 02:40:38 pm Ruotsalainen Juha (Nokia-S/Oulu) wrote: Hello to all Win32 API-freaks! File: C:\Qt\2009.02\qt\src\corelib\io\qfsfileengine_win.cpp Function: QFSFileEnginePrivate::getPermissions(void) Line 1700: if(ptrGetEffectiveRightsFromAclW(pDacl, trustee, access_mask) ... That Win32 API-call to GetEffectiveRightsFromAcl()triggers the Windows Domain Controller calls, and consequently 0.3 second delay per that call. Looking at the call stack we find: 00 QFSFileEnginePrivate::getPermissions(void)+0x268 01 QFSFileEngine::fileFlags(...)+0x9a 02 QFileInfoPrivate::hasAccess()+0x5e 03 QFileInfo::isWritable(void)+0x2d 04 TextEditor::BaseTextDocument::isReadOnly(void)+0x8e And this recurs time to time. TextEditor-plugin checks for read only, and that propagates to file engine, and eventually Win32 effective rights query. -- jussi -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Ettrich Matthias (Nokia-D-Qt/Berlin) Sent: 08 May, 2009 13:58 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Qt Creator response too slow endEditBlock() will emit the cursorPositionChanged()-signals. The position of the main cursor is connected to BaseTextEditor::slotCursorPositionChanged(). There are also other signals emitted, meaning the problem could lie anywhere. Please continue profiling using a profiler, we still have no way to reproduce any of that :-{ Matthias On Friday 08 May 2009 12:38:18 pm Ruotsalainen Juha (Nokia-S/Oulu) wrote: For anyone interested: I added a QTime::start() and elapsed() lines around 'cursor.endEditBlock()' in basetexteditor.cpp's line 820 (snapshot downloaded this morning). When I experience slow responses in Creator (for my test runs) endEditBlock() at that line takes around 1.8 seconds to complete. Without testing a bit, I would imagine all the sluggishness is due to something lengthy happening in endEditBlock(). Quickly looking at the endEditBlock() implementation, it is playing around with QSharedDataPointer-stuff. That may cause network accesses somewhere in the background. -- jussi -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of ext Boy Lenssen Sent: 07 May, 2009 15:30 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Qt Creator response too slow Sounds like you're on the good route! I believe the lasting time (about 300 ms) is about what I'm experiencing (or maybe a bit more...not sure) -Original Message- From: juha.ruotsalai...@nokia.com [mailto:juha.ruotsalai...@nokia.com] Sent: donderdag 7 mei 2009 13:37 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Qt Creator response too slow Valgrind, good as it is, is N/A for Vista. I did a quick trial runs with Sysinternals' Process Monitor. Test setup was the same in both cases: same project, same code file, same point in a method, hit enter at that line. The main difference between 1.0 and 1.1 is that the latter does ends up spending 0.3 of a second at the nearest Windows Domain Controller (\\xxwdc101\PIPE\samr) doing pipe operations: writing, reading and calling FileSystemControl (FSCTL_PIPE_TRANSCEIVE). These DC accesses occurred 14 times in my small log with each occurrence lasting for about 0.2-0.3 seconds. You doin' some funky pipe stuff in QtCreator now ;) -- jussi -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of ext Aleksandar D. Balalovski Sent: 07 May, 2009 14:19 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Qt Creator response too slow On Thu, May 7, 2009 at 1:15 PM, juha.ruotsalai...@nokia.com wrote: Is there some option to enable humongous debug/event logs that would help in pinpointing where time is spent? Maybe with valgrind? ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing
[Qt-creator] Qt Creator response too slow
Hi, I'm using Qt Creator as my default working environment. I saw you were busy with implementing nmake debugging possibilities, so when that works, it is the only environment I need. So I tried to run it (think you use cdb, so put it in the path), first tried 2009.02 version, but didn't work. Downloaded latest snapshot (04/05/2009), but didn't work either. Next I kept on working in the 2009.02 version, but I noticed it is very slow in response. It takes about half a second before it responds when I switch to it from another application (alt-tab). Also switching files (ctrl-tab) takes about half a second...the may 4th version seems to be somewhat faster, but still to slow too not to be annoying. I went back too 2009.01, which works fast, but I miss some new features the new one has. Too be short: is this a known problem and will it be fast again in the next released version? Regards, Boy ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator