Re: [Qt-creator] New block indent styles
Hi Bryce, I submitted a bug yesterday (QTCREATORBUG-2331) and after reading the description of your problem. I confirm it's exactly the same. Regards, Laurent On Tue, 14 Sep 2010 15:17:58 -0700 Bryce Schober wrote > Since I got onto the latest nightly build, the block auto-complete doesn't > allow for my style of block indentation. I see the new options in Text > Editor->Behavior, but I'm not entirely sure what they mean. I'm trying to > use the Allman/ANSI style ( > http://en.wikipedia.org/wiki/Indent_style#Allman_style_.28bsd_in_Emacs.29), > like: > while (x == y) > { > something(); > somethingelse(); > } > > I'm guessing that I should use the "exclude braces" style. What happens is > that when I hit after the while, is that it indents, but it doesn't > un-indent after I type a '{' as older versions of qt-creator did. > > I'm using the 2010-09-14 build of 2.0.90 on Ubuntu 10.04. > > FWIW, I was going to open a case for this, but was overwhelmed by the list > of qt-creator cases matching "block indent," most of which were reported on > 2.0.x and earlier, and mostly noted as fixed on head, which I'm not smart > enough to know if it is the same as 2.0.90 or not. (Consider this another > request for multi-branch nightlies, so that this could be more clear.) > > -- > Bryce Schober ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)
Le 19/07/2010 20:10, Laurent Desmecht a écrit : > I had the same problem. I was using ./configure --prefix=/install-path; make; > make install > Sorry I forgot to mention it's to build Qt > To solve the issue I remove the include directory in my installation directory > and I made a symbolic link to the include directory of the source directory of > Qt > > Laurent > > On Mon, 19 Jul 2010 16:41:09 +0200 Aurélien_Vallée > wrote > > >> Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now >> trying to build qt-creator from a debian lenny: >> - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 >> GNU/Linux >> - gcc (Debian 4.3.2-1.1) 4.3.2 >> - GNU Make 3.81 >> - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech) >> - Qt-creator 2.1.0 cloned from gitorious >> >> qmake ../qt-creator.pro && make => FAIL missing qtdeclarative "_p.h" private >> headers >> qmake ../qt-creator.pro "QT_PRIVATE_HEADERS=" && make => FAIL missing >> qtdeclarative "_p.h" private headers >> qmake ../qt-creator.pro "QT_PRIVATE_HEADERS=/path/to/qt/source/include" => >> FAIL >> ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlib >> rary.cpp:169: >> error: cannot allocate an object of abstract type >> ‘QmlDesigner::Internal::ItemLibraryImageProvider’ >> >> This is very annoying, it seems that whatever platform, qt version, or >> qt-creator version that I use, i simply cannot build qt-creator :( >> >> -- >> Aurélien Vallée >> +33 6 47 41 70 37 >> > > ___ > 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] Build issues with qtcreator:master-stable and Qt-4.7.0 (debian lenny)
I had the same problem. I was using ./configure --prefix=/install-path; make; make install To solve the issue I remove the include directory in my installation directory and I made a symbolic link to the include directory of the source directory of Qt Laurent On Mon, 19 Jul 2010 16:41:09 +0200 Aurélien_Vallée wrote > Okay, so I dropped the idea of building qt-creator from OSX 10.5, I'm now > trying to build qt-creator from a debian lenny: > - Linux macbook 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 > GNU/Linux > - gcc (Debian 4.3.2-1.1) 4.3.2 > - GNU Make 3.81 > - Qt 4.7.0 beta 2 built from source (tar.gz from trolltech) > - Qt-creator 2.1.0 cloned from gitorious > > qmake ../qt-creator.pro && make => FAIL missing qtdeclarative "_p.h" private > headers > qmake ../qt-creator.pro "QT_PRIVATE_HEADERS=" && make => FAIL missing > qtdeclarative "_p.h" private headers > qmake ../qt-creator.pro "QT_PRIVATE_HEADERS=/path/to/qt/source/include" => > FAIL > ../../../../cfm_studio/src/plugins/qmldesigner/components/itemlibrary/itemlib > rary.cpp:169: > error: cannot allocate an object of abstract type > ‘QmlDesigner::Internal::ItemLibraryImageProvider’ > > This is very annoying, it seems that whatever platform, qt version, or > qt-creator version that I use, i simply cannot build qt-creator :( > > -- > Aurélien Vallée > +33 6 47 41 70 37 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Debugging on qtcreator on master
Hi everybody, Since a few days I have problems when I debug my project. It's not possible anymore to inspect the variables (in fact sometime it work but some other times it doesn't). I created a small hello world project and it was working fine. My computer is an Ubuntu 8.04 x86_64 with gdb 6.8. I made a revert to the version a previous (c1d93f4a45bdb433f36654bcc71d55a1bf4ee4b5 Mon Jul 12) and it's working fine with this version. Sorry I am not able to give more informations but I found it important to point out there is a regression after the recent changes in the debugger. Also I observe an other minor bug. I my project I have include some python files. And it seems that these file are parsed by the C++ parser. Best regards, Laurent ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Exception debugging
On Tue, 8 Jun 2010 16:37:54 +0200 André_Pönitz wrote > On Tuesday 08 June 2010 15:07:38 ext Laurent Desmecht wrote: > > Hi everybody > > > > I am debugging some code in qtcreator, this issue is that the debugger > > don't > > stop when an exception is thrown. Because of this it's quite difficult to > > debug > > one crash. > > > In gdb, it is possible to add a break point with the command "catch throw" > > but > > I have not found any way to do this in qtcreator. > > Break View, context menu, "Set Breakpoint at "throw"". > > If it's not there, set a breakpoint on the function "__cxa_throw". > > Andre' Thank you, it is exactly what I was looking for. Laurent ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Exception debugging
Hi everybody I am debugging some code in qtcreator, this issue is that the debugger don't stop when an exception is thrown. Because of this it's quite difficult to debug one crash. In gdb, it is possible to add a break point with the command "catch throw" but I have not found any way to do this in qtcreator. Laurent ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] qt-creator freeze with invalid code
Hi everybody, I have observed several freeze in qtcreator (git master, on Ubuntu 8.04 64 bits) with this piece of invalid (and no-sense) code: #include int add(const std::string& x, const std::string& y) { return 0; } int main(int argc, char *argv[]) { add("plateform"] = buff.sysname; return 1; } When I edit the line 'add("plateform"]' qtcreator freeze. To reproduce, just 'play' with this line (doing some selection in this line Ctrl-C, seems to produce this freeze after a few try). Best regards, Laurent Desmecht ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)
Le 2/02/2010 19:48, Matthias Pospiech a écrit : > Laurent Desmecht schrieb: > >> Hello, >> >> I have got a similar error after installing TortoiseGit. After >> investigation I figure out that the installation change my PATH >> environment variable. I modified the PATH of my build environment to >> remove the newly added directories and this fixed the crash. >> So I guess you should check your PATH variable first. >> >> > My path is highly crowed with stuff from many installed programms: > > Path=C:\Program Files\PC Connectivity Solution\;C:\Program Files\MiKTeX > 2.8\mikt > ex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System > 32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL > Server\90\Tools\binn\; > C:\Program Files\TortoiseSVN\bin;C:\Program Files\doxygen\bin;C:\Program > Files\C > ommon Files\Roxio Shared\9.0\DLLShared\;C:\Program > Files\MATLAB\R2008a\bin;C:\Pr > ogram Files\MATLAB\R2008a\bin\win32;C:\Program > Files\GnuWin32\bin;C:\Program Fil > es\ispell;C:\Program Files\gs\gs8.63\bin;C:\Program > Files\gnuplot\bin;"C:\Progra > m Files\Microsoft SDKs\Windows\v7.0\bin";"C:\Program Files\Microsoft > Visual Stud > io 8\VC\bin" > > But I do not see what this has to do with the mingw failure, which only > happens if > executed from within QtCreator. > > Matthias > I agree with you. Your PATH is probably ok since it works from the command line. In the project setting, it's possible to set some custom environments variables. Have you ever played with that ? It's maybe a good idea to remove/rename your .user file to start from a clean project. Laurent ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)
Hello, I have got a similar error after installing TortoiseGit. After investigation I figure out that the installation change my PATH environment variable. I modified the PATH of my build environment to remove the newly added directories and this fixed the crash. So I guess you should check your PATH variable first. Laurent Le 1/02/2010 10:54, Daniel Teske a écrit : > On Saturday 30 January 2010 16:06:55 ext Matthias Pospiech wrote: > >> I get the following error on any compilation started within qtCreator >> (1.3.1, QT 4.6.1). >> >> mingw32-make.exe: Interrupt/Exception caught (code = 0xc005, addr = >> 0x41f96e) >> >> However if I compile the same project from the qt command prompt I have >> no problem. >> >> The System is Window 7. >> >> Any idea? >> > Does it work if you start Qt Creator from that command line? Is the path to > the MinGW version set in the Tool/Options/Qt Dialog? > > daniel > ___ > 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