Re: [Qt-creator] Dependencies in Qt Creator
Kai, Thank you. This sounds like exactly what I was looking for. John On Dec 16, 2009, at 10:43 PM, kai.koe...@nokia.com wrote: qt-creator-boun...@trolltech.com wrote: I have a .pro file that looks like this: TEMPLATE = subdirs CONFIG += ordered SUBDIRS = Project1 \ Project2 \ Project3 Some of the .h files in Project1 are used in Project2 and Project3. When I change one of those header files and do a build, only the files in Project1 get rebuilt. You should set DEPENDPATH in Project2.pro Project2.pro To e.g. ../Project1 (that is, if the header files are directly under Project1. http://doc.trolltech.com/4.6/qmake-variable-reference.html#dependpath Regards Kai -- Kai K?hne Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B Umsatzsteueridentifikationsnummer: DE 812 845 193 Gesch?ftsf?hrer: Dr. Michael Halbherr, Karim T?htivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Dependencies in Qt Creator
can we buil a single exec with the qt creator please mention , so that application i can use without installation of Qt everywhere and give to someone to use as a general executable. please help how to build it with Qt creator in projects menu options __ DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System. Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Dependencies in Qt Creator
Please do not use the Reply button to ask a new question to a mailing list; it looks like an off-topic question in an existing thread. Please send a new message to qt-crea...@trolltech.com. Meanwhile, to respond to your question... It's possible, but it has some limitations. First, you must rebuild Qt as a set of static libraries. (That is, add the -static flag to configure.) Then you have to add this new Qt installation to Creator. Finally, rebuild your application. There are several disadvantages to static compilation: * You can't do both static and 64-bit on Mac until 4.6.0. (Of course, on Mac there's better solutions than static anyway.) * Qt's plugin system is disabled, which can cause problems for things like SQL drivers and Phonon. * If you're distributing a closed-source application using LGPL Qt, static compilation introduces a major headache; the LGPL requires that the recipient of the program has to be able to relink the program with a modified version of the library. If you're not using plugins (including the plugins included with Qt), and you're only worried about the single executable file on Windows, and you're distributing an open-source application (or if you own a commercial license), you're in the clear. If you need anything different, static linking is probably not a good idea. /s/ Adam On Thu, Dec 17, 2009 at 7:02 AM, Gaurav Purohit gaurav.puro...@dspg.com wrote: can we buil a single exec with the qt creator please mention , so that application i can use without installation of Qt everywhere and give to someone to use as a general executable. please help how to build it with Qt creator in projects menu options __ DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System. _ ___ 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] Break on thrown exceptions?
Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? I'm currently using Qt Creator 1.2.1 and gdb 7.0. Thanks, Christian smime.p7s Description: S/MIME cryptographic signature ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
In general; this should not be a desirable feature, as C++-based libraries should be free to use exceptions internally without interfering with your application's functionality. If you're interested on breaking on a SPECIFIC exception I'm sure there are a number of ways this could be done. A breakpoint on the exception object's constructor would be one possible choice. Catching the exception, breaking in the catch block, and re-throwing after the breakpoint would be another way to handle it. /s/ Adam On Thu, Dec 17, 2009 at 9:04 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? I'm currently using Qt Creator 1.2.1 and gdb 7.0. Thanks, Christian ___ 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] Break on thrown exceptions?
Thanks - the idea of putting the breakpoint on the exception constructor is a useful idea in my case. Regarding the general utility of being able to break on all thrown exceptions: I'd say it depends on how many different exception types you're using, whether or not you're throwing any objects that don't even have constructors (int, for example), and what fraction of exceptions thrown (by either your own code or 3rd party code) are the ones you want to catch. -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Coda Highland Sent: Thursday, December 17, 2009 10:27 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Break on thrown exceptions? In general; this should not be a desirable feature, as C++-based libraries should be free to use exceptions internally without interfering with your application's functionality. If you're interested on breaking on a SPECIFIC exception I'm sure there are a number of ways this could be done. A breakpoint on the exception object's constructor would be one possible choice. Catching the exception, breaking in the catch block, and re-throwing after the breakpoint would be another way to handle it. /s/ Adam On Thu, Dec 17, 2009 at 9:04 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? I'm currently using Qt Creator 1.2.1 and gdb 7.0. Thanks, Christian ___ 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 smime.p7s Description: S/MIME cryptographic signature ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
On Thursday 17 December 2009 16:04:14 ext Convey, Christian J CIV NUWC NWPT wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? No, it's not supported yet. Feel free to file a feature request on http://bugreports.qt.nokia.com/ Andre' PS: I'm currently using Qt Creator 1.2.1 and gdb 7.0. Note that Qt Creator 1.3.0 is released and gdb 7.0 is not officially supported, for neither 1.2.1 nor 1.3.0. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
Thanks. Done: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-494 -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of André Pönitz Sent: Thursday, December 17, 2009 10:41 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Break on thrown exceptions? On Thursday 17 December 2009 16:04:14 ext Convey, Christian J CIV NUWC NWPT wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? No, it's not supported yet. Feel free to file a feature request on http://bugreports.qt.nokia.com/ Andre' PS: I'm currently using Qt Creator 1.2.1 and gdb 7.0. Note that Qt Creator 1.3.0 is released and gdb 7.0 is not officially supported, for neither 1.2.1 nor 1.3.0. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator smime.p7s Description: S/MIME cryptographic signature ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
By the way, if you're using gcc (at least on Linux, not sure about Windows) you can break on __raise_exception. /s/ Adam On Thu, Dec 17, 2009 at 9:33 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Thanks - the idea of putting the breakpoint on the exception constructor is a useful idea in my case. Regarding the general utility of being able to break on all thrown exceptions: I'd say it depends on how many different exception types you're using, whether or not you're throwing any objects that don't even have constructors (int, for example), and what fraction of exceptions thrown (by either your own code or 3rd party code) are the ones you want to catch. -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Coda Highland Sent: Thursday, December 17, 2009 10:27 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Break on thrown exceptions? In general; this should not be a desirable feature, as C++-based libraries should be free to use exceptions internally without interfering with your application's functionality. If you're interested on breaking on a SPECIFIC exception I'm sure there are a number of ways this could be done. A breakpoint on the exception object's constructor would be one possible choice. Catching the exception, breaking in the catch block, and re-throwing after the breakpoint would be another way to handle it. /s/ Adam On Thu, Dec 17, 2009 at 9:04 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? I'm currently using Qt Creator 1.2.1 and gdb 7.0. Thanks, Christian ___ 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 mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
Yes MSVC has such a feature. It's very useful. I suspect that GDB/CDB may offer something similar via a a flag but this is the wrong place to ask. On Thu, Dec 17, 2009 at 3:33 PM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Thanks - the idea of putting the breakpoint on the exception constructor is a useful idea in my case. Regarding the general utility of being able to break on all thrown exceptions: I'd say it depends on how many different exception types you're using, whether or not you're throwing any objects that don't even have constructors (int, for example), and what fraction of exceptions thrown (by either your own code or 3rd party code) are the ones you want to catch. -Original Message- From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Coda Highland Sent: Thursday, December 17, 2009 10:27 To: qt-creator@trolltech.com Subject: Re: [Qt-creator] Break on thrown exceptions? In general; this should not be a desirable feature, as C++-based libraries should be free to use exceptions internally without interfering with your application's functionality. If you're interested on breaking on a SPECIFIC exception I'm sure there are a number of ways this could be done. A breakpoint on the exception object's constructor would be one possible choice. Catching the exception, breaking in the catch block, and re-throwing after the breakpoint would be another way to handle it. /s/ Adam On Thu, Dec 17, 2009 at 9:04 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Does Qt Creator let me specify that during debugging, the program should break (e.g., a breakpoint is triggered) whenever a C++ exception is thrown? I'm currently using Qt Creator 1.2.1 and gdb 7.0. Thanks, Christian ___ 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 mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Break on thrown exceptions?
I didn't know it either but I had the idea to go look for it since I figured the compiler had to have some common entry point. /s/ Adam On Thu, Dec 17, 2009 at 10:17 AM, Convey, Christian J CIV NUWC NWPT christian.con...@navy.mil wrote: Thanks, I didn't know that. By the way, if you're using gcc (at least on Linux, not sure about Windows) you can break on __raise_exception. ___ 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] Are the full Qt sources required to build Qt creator?
On Thu, Dec 17, 2009 at 4:30 PM, Josh jk...@irobot.com wrote: Hi All, I'm trying to build qt-creator 1.3.0 from source (on linux). I have built and installed Qt 4.6. I set the QTDIR env var to point to my Qt install location and am using its qmake. It seems to be trying to include\build things that do not exist in my QTDIR (ie. as part of the Qt install). So, my question is, do I need to build qt-creator with the full sources for Qt? Or can I build and install Qt, then build against that install? The latter is not working for me but I might be missing something. Thanks for any assistance! Josh what are your linux distro ? -- Itamar Reis Peixoto e-mail/msn/google talk/sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Are the full Qt sources required to build Qt creator?
Hi Coda, My main problem seems to be, when building stuff ( PyQt, qtcreator) against my local build of Qt4.6, the include paths, and some other things, refer to where I originally built Qt. I'm new to Qt but I build lots other of stuff regularly. I don't think I'm crossing wires with stuff from Ubuntu's packages. Some background: I'm trying to build Qt as a package that I can pass around to my team mates. This entails packaging up my Qt build and using it on different machines. Its when building against my local Qt package that I'm running into problems. So, now I'm trying to build qtcreator. I use the qmake that is installed in QTDIR/bin/qmake. The first thing that failed in the qtcreator build was an attempt to cd QTDIR/src/tools/moc. That dir doesn't get built/installed by Qt. It's part of the original sources though. If I manually copy that dir from the original sources, then it fails trying to do stuff with QTDIR/src/tool/bootstrap which, again, only exists in the original Qt sources. If I fix that (by copying it to my QTDIR) then it fails trying to include private/qmetaobject_p.h which, yet again, only exists in the qt source package. This pattern of failure led me to suspect that qtcreator needs the full qt sources available, and not just what was build and installed for Qt, hence my posting to the list. You follow all that? ;) Any ideas/suggestions? Thanks, Josh Coda Highland wrote: Ubuntu's configuration of many libraries, including Qt, does make it difficult to compile some projects (for instance, my own library, Qxt) without modifying the build scripts. What problems are you having? /s/ Adam On Thu, Dec 17, 2009 at 12:37 PM, Josh jk...@irobot.com wrote: Itamar Reis Peixoto wrote: On Thu, Dec 17, 2009 at 4:30 PM, Josh jk...@irobot.com wrote: Hi All, I'm trying to build qt-creator 1.3.0 from source (on linux). I have built and installed Qt 4.6. I set the QTDIR env var to point to my Qt install location and am using its qmake. It seems to be trying to include\build things that do not exist in my QTDIR (ie. as part of the Qt install). So, my question is, do I need to build qt-creator with the full sources for Qt? Or can I build and install Qt, then build against that install? The latter is not working for me but I might be missing something. Thanks for any assistance! Josh what are your linux distro ? Ubuntu 9.04. However, note that I am not trying to build against anything that is Ubuntu specific. ___ 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] Debugging problem Creator
Qt Creator is a very young program. It's still under development and it's not really complete yet even if it's very nice and very usable. You don't have to use Creator to develop Qt software. Qt itself should be pretty solid, aside from some idiosyncrasies in the build system. The issues here with trying to work with VC++ are simply reflecting the fact that Creator (and Qt) are primarily designed to work with g++ and gdb, so using a different compiler and debugger is venturing out of the it just works department into it's possible territory. Note that I'm not suggesting you give up. ;) Keep trying and we'll try to help you out. /s/ Adam On Thu, Dec 17, 2009 at 2:30 PM, Ken Ray k...@ishere.com wrote: As a new user (starting) of QT, I'm sure seeing a lot of problems with QT. On Dec 17, 2009, at 3:57 AM, Eike Ziller wrote: On Dec 16, 2009, at 9:04 PM, ext Sujan Dasmahapatra wrote: Friens I am trying to debug my application in QT-Creator. I have configured QTfor VC++ at this location c:\Qt\2009.04\qt Now I am also using qt-creator and my application is built successfully in creator in debug mode. But when I am putting a break point and pree F5 it gives a message as Cannot debug D:\path\to\program\debug\program.exe Debugging VS executables is currently not enabled. a) what version of Qt Creator are you using? b) did you follow the Debugger Engine Installation Notes in http://doc.qt.nokia.com/qtcreator-1.3/creator-debugging.html ? Can anyone help to sort out this problem.Any suggestions would be appreciated. -- Thanks Regards S. Dasmahapatra B.E. (Aeronautics-Aerodynamics) Software programmer Bangalore, India Ph:91-9900839788 Office:91-80-66470248 mail id : sujan.dasmahapa...@gmail.com ATT1..txt -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ 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 crashes on breakpoint
Hi Andre', Thanks for your answer. I've used the official builds. Could you tell me how to use git to get and build the latest sources? Thank you! --- On Tue, 12/15/09, André Pönitz andre.poen...@nokia.com wrote: From: André Pönitz andre.poen...@nokia.com Subject: Re: [Qt-creator] Qt Creator crashes on breakpoint To: qt-creator@trolltech.com qt-creator@trolltech.com Date: Tuesday, December 15, 2009, 11:15 AM On Tuesday 15 December 2009 00:30:10 ext Qt Quest wrote: Hi Andre' Hi. Previously I used 4.5.0 compiled from source and the Qt creator 1.2.1 and 1.3.0 binaries. Does the 1.3.0 have Qt 4.6.0 binaries? I'm asking because in the compilation of Qt 1.3.0 it requires you have it... Qt Creator 1.3.0 itself needs to be compiled with Qt 4.6 (but can use older versions for your own proijects) I've compiled Qt 4.6.0 and Qt creator 1.3.0 debug. The crash reproduces. There are no messages printed out to the screen.. I've captured the crash in gdb. Here's the backtrace. Please let me know how to proceed. Thank you! [] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912524675104 (LWP 26107)] 0x2b4e2c61 in QX11PaintEngine::drawPixmap (this=value optimized out, r=value optimized out, px=value optimized out, _sr=value optimized out) at painting/qpaintengine_x11.cpp:1919 1919 ::Picture src_pict = static_castQX11PixmapData*(pixmap.data.data())-picture; Missing separate debuginfos, use: debuginfo-install e2fsprogs.x86_64 expat.x86_64 fontconfig.x86_64 freetype.x86_64 glib2.x86_64 keyutils.x86_64 krb5.x86_64 lcms.x86_64 libICE.x86_64 libSM.x86_64 libX11.x86_64 libXau.x86_64 libXcursor.x86_64 libXdmcp.x86_64 libXext.x86_64 libXfixes.x86_64 libXi.x86_64 libXinerama.x86_64 libXrandr.x86_64 libXrender.x86_64 libjpeg.x86_64 libmng.x86_64 libpng.x86_64 libselinux.x86_64 libtiff.x86_64 libxcb.x86_64 linuxwacom.x86_64 mesa.x86_64 openssl.x86_64 (gdb) bt #0 0x2b4e2c61 in QX11PaintEngine::drawPixmap (this=value optimized out, r=value optimized out, px=value optimized out, _sr=value optimized out) at painting/qpaintengine_x11.cpp:1919 [...] This looks a bit like a broken build. I know it takes some time, but could you try to rebuild Qt and Qt Creator from scratch after making sure you have a really clean tree (like the one you get after running git -dxf [CAREFUL!]). For Qt, 'make sub-src sub-tools' after './configure' should be sufficient. Regards, 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 problem Creator
now my creator debugger is running but when after setting break point i am trying to step over F10 its not moving forward.I can see a console its started for debugger.My debugger is working fine with vc++. On Fri, Dec 18, 2009 at 2:22 AM, Coda Highland c...@bobandgeorge.comwrote: Qt Creator is a very young program. It's still under development and it's not really complete yet even if it's very nice and very usable. You don't have to use Creator to develop Qt software. Qt itself should be pretty solid, aside from some idiosyncrasies in the build system. The issues here with trying to work with VC++ are simply reflecting the fact that Creator (and Qt) are primarily designed to work with g++ and gdb, so using a different compiler and debugger is venturing out of the it just works department into it's possible territory. Note that I'm not suggesting you give up. ;) Keep trying and we'll try to help you out. /s/ Adam On Thu, Dec 17, 2009 at 2:30 PM, Ken Ray k...@ishere.com wrote: As a new user (starting) of QT, I'm sure seeing a lot of problems with QT. On Dec 17, 2009, at 3:57 AM, Eike Ziller wrote: On Dec 16, 2009, at 9:04 PM, ext Sujan Dasmahapatra wrote: Friens I am trying to debug my application in QT-Creator. I have configured QTfor VC++ at this location c:\Qt\2009.04\qt Now I am also using qt-creator and my application is built successfully in creator in debug mode. But when I am putting a break point and pree F5 it gives a message as Cannot debug D:\path\to\program\debug\program.exe Debugging VS executables is currently not enabled. a) what version of Qt Creator are you using? b) did you follow the Debugger Engine Installation Notes in http://doc.qt.nokia.com/qtcreator-1.3/creator-debugging.html ? Can anyone help to sort out this problem.Any suggestions would be appreciated. -- Thanks Regards S. Dasmahapatra B.E. (Aeronautics-Aerodynamics) Software programmer Bangalore, India Ph:91-9900839788 Office:91-80-66470248 mail id : sujan.dasmahapa...@gmail.com ATT1..txt -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ 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 -- Thanks Regards S. Dasmahapatra B.E. (Aeronautics-Aerodynamics) Software programmer Bangalore, India Ph:91-9900839788 Office:91-80-66470248 mail id : sujan.dasmahapa...@gmail.com ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt Creator crashes on breakpoint
Here's an update: 1. I've used git to build qt-creator git clone git://gitorious.org/qt-creator/qt-creator.git 2. Removed 4.3 Qt libs from /usr/lib 3. Uninstalled 1.2.1 and reinstalled 1.3.0 But the problem is still there. It happens also when trying to dereference only certain pointers in the watch window. Other pointers dereferencing works good. Any ideas??? --- On Fri, 12/18/09, Qt Quest qt.qu...@yahoo.com wrote: From: Qt Quest qt.qu...@yahoo.com Subject: Re: [Qt-creator] Qt Creator crashes on breakpoint To: qt-creator@trolltech.com Date: Friday, December 18, 2009, 1:08 AM Hi Andre', Thanks for your answer. I've used the official builds. Could you tell me how to use git to get and build the latest sources? Thank you! --- On Tue, 12/15/09, André Pönitz andre.poen...@nokia.com wrote: From: André Pönitz andre.poen...@nokia.com Subject: Re: [Qt-creator] Qt Creator crashes on breakpoint To: qt-creator@trolltech.com qt-creator@trolltech.com Date: Tuesday, December 15, 2009, 11:15 AM On Tuesday 15 December 2009 00:30:10 ext Qt Quest wrote: Hi Andre' Hi. Previously I used 4.5.0 compiled from source and the Qt creator 1.2.1 and 1.3.0 binaries. Does the 1.3.0 have Qt 4.6.0 binaries? I'm asking because in the compilation of Qt 1.3.0 it requires you have it... Qt Creator 1.3.0 itself needs to be compiled with Qt 4.6 (but can use older versions for your own proijects) I've compiled Qt 4.6.0 and Qt creator 1.3.0 debug. The crash reproduces. There are no messages printed out to the screen.. I've captured the crash in gdb. Here's the backtrace. Please let me know how to proceed. Thank you! [] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912524675104 (LWP 26107)] 0x2b4e2c61 in QX11PaintEngine::drawPixmap (this=value optimized out, r=value optimized out, px=value optimized out, _sr=value optimized out) at painting/qpaintengine_x11.cpp:1919 1919 ::Picture src_pict = static_castQX11PixmapData*(pixmap.data.data())-picture; Missing separate debuginfos, use: debuginfo-install e2fsprogs.x86_64 expat.x86_64 fontconfig.x86_64 freetype.x86_64 glib2.x86_64 keyutils.x86_64 krb5.x86_64 lcms.x86_64 libICE.x86_64 libSM.x86_64 libX11.x86_64 libXau.x86_64 libXcursor.x86_64 libXdmcp.x86_64 libXext.x86_64 libXfixes.x86_64 libXi.x86_64 libXinerama.x86_64 libXrandr.x86_64 libXrender.x86_64 libjpeg.x86_64 libmng.x86_64 libpng.x86_64 libselinux.x86_64 libtiff.x86_64 libxcb.x86_64 linuxwacom.x86_64 mesa.x86_64 openssl.x86_64 (gdb) bt #0 0x2b4e2c61 in QX11PaintEngine::drawPixmap (this=value optimized out, r=value optimized out, px=value optimized out, _sr=value optimized out) at painting/qpaintengine_x11.cpp:1919 [...] This looks a bit like a broken build. I know it takes some time, but could you try to rebuild Qt and Qt Creator from scratch after making sure you have a really clean tree (like the one you get after running git -dxf [CAREFUL!]). For Qt, 'make sub-src sub-tools' after './configure' should be sufficient. Regards, Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator -Inline Attachment Follows- ___ 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