[Qt-creator] Qmake / .ui not rebuilding
Hi, I'm having an issue with QtCreator 1.3. Looks like it does not recompile my .ui when I change it and click and "build" button, neither when I try to use "Run qmake" on project context menu. The only solution is to force a Rebuild project. Anyone having this problem our any idea what is happening? ps.: tested in windows 7 and xp. Thank you ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] cmake vtk
Hi, I am using some cmake based libraries in my qt-creator project. Until now, I simply included the headers and libs in the .pro file: INCLUDEPATH += /Developer/VTK-5.4.2/install/include/vtk-5.4 LIBS += /Developer/VTK-5.4.2/install/lib/vtk-5.4/libQVTK.a LIBS += /Developer/VTK-5.4.2/install/lib/vtk-5.4/libvtkCommon.a LIBS += /Developer/VTK-5.4.2/install/lib/vtk-5.4/libvtkDICOMParser.a . and so on Now I am using CGAL and I managed to compile and run everything. My problem got solved here: https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2009-12/msg00029.html But it runs terribly slow. If I compare the running time with some files from the examples, it's much faster there. So I must have linked to a file that's valid, but not the right one. For this reason, I want to try it with a CMakeLists.txt but I'm stuck: PROJECT (RecReg) SET(VTK_USE_FILE "/Developer/VTK-5.4.2/build/UseVTK.cmake") FIND_PACKAGE(VTK REQUIRED) IF(NOT VTK_USE_RENDERING) MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.") ENDIF(NOT VTK_USE_RENDERING) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE(main main.cpp) TARGET_LINK_LIBRARIES(main vtkRendering) Do I still have to provide all the information about the INCLUDEPATH and LIBS in the .pro file or is this done in CMakeLists.txt? If I comment the LIBS+= ... it comes till 'Make' but not further. If you need some additional information, please let me know thanks, Yuri ___ 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' 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... 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! [Detaching after fork from child process 26277.] [Detaching after fork from child process 26278.] [Detaching after fork from child process 26279.] [Detaching after fork from child process 26280.] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912524675104 (LWP 26107)] 0x2b4e2c61 in QX11PaintEngine::drawPixmap (this=, r=, px=, _sr=) at painting/qpaintengine_x11.cpp:1919 1919::Picture src_pict = static_cast(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=, r=, px=, _sr=) at painting/qpaintengine_x11.cpp:1919 #1 0x2b425c48 in QPaintEngine::drawImage (this=0x1c48da0, r...@0x7fff620a75c0, image=, sr=, fla...@0x7fff620a7230) at painting/qpaintengine.cpp:624 #2 0x2b4e0fc2 in QX11PaintEngine::drawImage (this=0x1c48da0, r...@0x7fff620a75c0, ima...@0x7fff620a75e0, s...@0x7fff620a75a0, fla...@0x7fff620a7690) at painting/qpaintengine_x11.cpp:1893 #3 0x2b4398e0 in QPainterPrivate::draw_helper (this=0x1c13500, originalpa...@0x7fff620a7740, op=) at painting/qpainter.cpp:484 #4 0x2b43b9c4 in QPainter::drawRects (this=, rects=, rectCount=1) at painting/qpainter.cpp:3471 #5 0x2b43baba in QPainter::fillRect (this=0x1c4d130, r...@0x7fff620a7930, bru...@0x7fff620a7970) at ../../include/QtGui/../../src/gui/painting/qpainter.h:622 #6 0x2b63afd3 in qt_plastique_draw_gradient (painter=0x7fff620a9090, re...@0x7fff620a87e0, gradientsta...@0x7fff620a8820, gradientst...@0x7fff620a8810) at styles/qplastiquestyle.cpp:757 #7 0x2b647f43 in QPlastiqueStyle::drawControl (this=0x6d05c0, element=, option=0x7fff620ad960, painter=0x7fff620adc00, widget=0xb8f400) at styles/qplastiquestyle.cpp:2848 #8 0x2b5fa5dc in QCommonStyle::drawControl (this=0x6d05c0, element=, opt=0x7fff620ad960, p=0x7fff620adc00, widget=0xb8f400) at styles/qcommonstyle.cpp:2060 #9 0x2b6963f4 in QWindowsStyle::drawControl (this=0x6d05c0, ce=QStyle::CE_Header, opt=0x7fff620ad960, p=0x7fff620adc00, widget=0xb8f400) at styles/qwindowsstyle.cpp:2557 #10 0x2b644722 in QPlastiqueStyle::drawControl (this=0x6d05c0, element=QStyle::CE_Header, option=0x7fff620ad960, painter=0x7fff620adc00, widget=0xb8f400) at styles/qplastiquestyle.cpp:3770 #11 0x2aaab16069d0 in ManhattanStyle::drawControl (this=0x6ce1b0, element=QStyle::CE_Header, option=0x7fff620ad960, painter=0x7fff620adc00, widget=0xb8f400) at manhattanstyle.cpp:706 #12 0x2b82f230 in QHeaderView::paintSection (this=0xb8f400, painter=0x7fff620adc00, rect=, logicalIndex=1) at itemviews/qheaderview.cpp:2502 #13 0x2b82ad9f in QHeaderView::paintEvent (this=0xb8f400, e=) at itemviews/qheaderview.cpp:2098 #14 0x2b346e61 in QWidget::event (this=0xb8f400, event=0x7fff620ae890) at kernel/qwidget.cpp:8120 #15 0x2b6f7bbb in QFrame::event (this=0xb8f400, e=0x7fff620ae890) at widgets/qframe.cpp:557 #16 0x2b781fa7 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x2aaac8162900) at widgets/qabstractscrollarea.cpp:1032 #17 0x2b8228db in QAbstractItemView::viewportEvent (this=0xb8f400, event=0x7fff620ae890) at itemviews/qabstractitemview.cpp:1589 #18 0x2b829ed1 in QHeaderView::viewportEvent (this=0xb8f400, e=0x7fff620ae890) at itemviews/qheaderview.cpp:2403 ---Type to continue, or q to quit--- #19 0x2b784988 in QAbstractScrollAreaFilter::eventFilter (this=, o=, e=0x0) at widgets/qabstractscrollarea_p.h:100 #20 0x2c286bcf in QCoreApplicationPrivate::sendThroughObjectEventFilters ( this=, receiver=0xb90db0, event=0x7fff620ae890) at kernel/qcoreapplication.cpp:819 #21 0x2b2ea6f0 in QApplicationPrivate::notify_helper (this=0x612430, receiver=0xb90db0, e=0x7fff620ae890) at kernel/qapplication.cpp:4238 #22 0x2b2ee206 in QApplication::notify (this=0x7fff620afa10, receiver=0xb90db0, e=0x7fff620ae890) at ke
Re: [Qt-creator] Intermittently very slow startup
On Mon, Dec 14, 2009 at 2:53 PM, Leo Spalteholz wrote: > On Fri, Dec 11, 2009 at 11:49 AM, Charles N Burns > wrote: >> Startup performance has much more to do with hard drive performance than CPU >> or RAM. Does your computer have one of the more performance-castrating virus >> scanners such as McAfee or Symantec (using on-access scanning)? Also, I've >> had problems in the past with Qt Creator accessing network files. If Qt >> Creator or your project are on a network share, try moving them to the local >> hard drive. >> --Charles Burns > > I have Microsoft Security Essentials. Of course it will add > overhead, but shouldn't be too much. > > None of my projects are on the network, so I'm not sure why it's > taking so long. > When I start Qt Creator with the Windows performance monitor open, > neither the CPU nor the disk is doing much of anything for about 5 > seconds after I start Qt Creator. So it does seem to be waiting on > the network, but I'm not sure why or how to solve it. Clearing the Creator config files (AppData/Nokia/) also doesn't help. Something in the default config is making Creator just stall out when starting. Leo ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Intermittently very slow startup
On Fri, Dec 11, 2009 at 11:49 AM, Charles N Burns wrote: > Startup performance has much more to do with hard drive performance than CPU > or RAM. Does your computer have one of the more performance-castrating virus > scanners such as McAfee or Symantec (using on-access scanning)? Also, I've > had problems in the past with Qt Creator accessing network files. If Qt > Creator or your project are on a network share, try moving them to the local > hard drive. > --Charles Burns I have Microsoft Security Essentials. Of course it will add overhead, but shouldn't be too much. None of my projects are on the network, so I'm not sure why it's taking so long. When I start Qt Creator with the Windows performance monitor open, neither the CPU nor the disk is doing much of anything for about 5 seconds after I start Qt Creator. So it does seem to be waiting on the network, but I'm not sure why or how to solve it. Leo ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt Creator crashes on breakpoint
On Mon, Dec 14, 2009 at 12:27:32PM -0800, Ken Ray wrote: > I"ve been looking to move to QT for a bit now. But Iately, i've been > seeing stuff that makes it look not so stable. I am not quite sure how reading a mailing list related to the Qt Creator IDE can influence your move to Apple's QuickTime multimedia framework. But then, you are free to base your decision on anything you want ;-) Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt Creator crashes on breakpoint
Ken, please be more specific about your problems and consider to be more specific, or even open bug reports at bugreports.qt.nokia.com. Invalid issues raised there can easily be closed, but valid issues here may never get traced down to their root cause. Your reply saws FUD more than in helps, which I guess you didn't intend. Thanks for your understanding & happy coding. Cheers, Daniel On Dec 14, 2009, at 9:27 PM, ext Ken Ray wrote: > I"ve been looking to move to QT for a bit now. But Iately, i've been seeing > stuff that makes it look not so stable. > > > On Dec 13, 2009, at 6:32 PM, Qt Quest wrote: > >> Hi All, >> >> I'm experiencing a crash with Qt Creator. The crash happens consistently >> when I try to break inside a specific function. Breaking on the function >> entry is possible, but the next step will result in the same crash. >> The crash is not of the debugged application, but of Qt Creator (or gdb) >> themselves! >> >> The crash is "seasonal" :-) - sometimes it does not happen for weeks, and >> sometimes it happen for days straight. >> [...] -- Daniel Molkentin, Software Engineer, Nokia, Qt Development Frameworks website: http://qt.nokia.com Rudower Chaussee 13, DE-12489 Berlin 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
Re: [Qt-creator] Qt Creator crashes on breakpoint
I"ve been looking to move to QT for a bit now. But Iately, i've been seeing stuff that makes it look not so stable. On Dec 13, 2009, at 6:32 PM, Qt Quest wrote: > Hi All, > > I'm experiencing a crash with Qt Creator. The crash happens consistently when > I try to break inside a specific function. Breaking on the function entry is > possible, but the next step will result in the same crash. > The crash is not of the debugged application, but of Qt Creator (or gdb) > themselves! > > The crash is "seasonal" :-) - sometimes it does not happen for weeks, and > sometimes it happen for days straight. > > The breakpoint function is not template (but it receives instantiated > parameters). > The crash also happens in other functions when a valid pointer is evaluated > by pressing the '+' sign next to the pointer in "local and watchers" window. > This behavior exists with Qt Creator 1.2.1 and 1.3.0. > It has something to do with the code itself - it's not just the IDE or > debugger themselves. Rebuild all yields same results. > > My platform: > Qt Creator 1.3.0 64bit > Qt 4.5.0 > Fedora 8, kernel 2.6.24.3-50 SMP > g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33) > gdb GNU Red Hat Linux (6.6-45.fc8rh) > > I'll try to compile on windows as well as see how it goes. > I appreciate any insight you have! > 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] Blank QT windows
Wrong mailing list; try qt-interest. This one's for talking about the Creator IDE itself. /s/ Adam On Mon, Dec 14, 2009 at 12:03 PM, Ashish Vats wrote: > Hello, > I tried to download my QT application cross compiled onto the ARM board, it > shows the blank dialog boxes, but if I try to click on the button at the > known location, it performs the action of entering into new form but again > it doesn't show resource on the form. Although it was working properly on PC > with the screens. > > Regards > Ashish > > Larsen & Toubro Limited > > Electrical & Electronics Division - EBG > > http://www.LNTEBG.com > > This E-mail may contain confidential or privileged information for the > intended recipient(s). If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from > your 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] Blank QT windows
Hello, I tried to download my QT application cross compiled onto the ARM board, it shows the blank dialog boxes, but if I try to click on the button at the known location, it performs the action of entering into new form but again it doesn't show resource on the form. Although it was working properly on PC with the screens. Regards Ashish Larsen & Toubro Limited Electrical & Electronics Division - EBG http://www.LNTEBG.com This E-mail may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Building x64 Creator from source on Windows (Vista x64) with Intel 11.1 Compiler
ext Wm. G. Urquhart wrote: > Hi list, > > I understand that this can be done but I see no references to this in > the mkspecs directory of the distribution, could someone help me out > here with what I need to use to build this. Once you can build Qt itself with that compiler, Qt Creator should not pose any additional problems. This is not the right mailing list for getting help with compiling Qt though. Other resources: * qt-interest mailing list * #qt irc channel on irc.freenode.net * various forums Regards, Bjørn -- Thorbjørn Lindeijer 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] Executing gdb commands in Qt Creator
ext Noam Yorav-Raphael wrote: > Cool. Thanks! > > In the meanwhile, I have found two more questions: > > 1. Is there a way to move the variable window (which shows locals when > debugging) to the left? Currently it's below the code, which doesn't > give it a lot vertical space, so I can see only a few variables. If it > were on the left of the code I could see a lot more. Go to Debug -> Views and uncheck Locked. You can then rearrange the different debug views. > 2. Is there a way to add another file extension which will be treated > like C code for syntax highlighting? We have here C-like files, with > their own extension, and I would like them to be highlighted too. This is currently not possible without changing src/plugins/cppeditor/CppEditor.mimetypes.xml and recompiling that plugin. I guess an interface to override the editor used for a given extension would be welcome. Regards, Bjørn -- Thorbjørn Lindeijer 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] Executing gdb commands in Qt Creator
On Monday 14 December 2009 13:20:12 ext Noam Yorav-Raphael wrote: > Cool. Thanks! > > In the meanwhile, I have found two more questions: > > 1. Is there a way to move the variable window (which shows locals when > debugging) to the left? Currently it's below the code, which doesn't > give it a lot vertical space, so I can see only a few variables. If it > were on the left of the code I could see a lot more. Yes, but first you have to 'unlock' the views using Debug -> Views -> Locked. Afterward you can move the debugging related dockwidgets freely around. 'Locking' the view again save a bit of screen real estate. > 2. Is there a way to add another file extension which will be treated > like C code for syntax highlighting? We have here C-like files, with > their own extension, and I would like them to be highlighted too. Not without changing Creator sources as far as I know. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Unwanted extension .cpp
ext Coda Highland wrote: > The fact that the KDE dialog is still attaching the extension even > after you tell it not to is independent of presenting the wrong filter > to the QFileDialog call. > > /s/ Adam Well, since we don't assume the file dialog has this option, Qt Creator is automatically adding the extension when it's missing too. That would explain why it still did it even after turning it off in the KDE file dialog. I guess Qt Creator should avoid doing magic when the file dialog itself already provides it as an option, but I'm not sure if Qt Creator has any way to know whether this is the case. Regards, Bjørn -- Thorbjørn Lindeijer 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] Executing gdb commands in Qt Creator
Cool. Thanks! In the meanwhile, I have found two more questions: 1. Is there a way to move the variable window (which shows locals when debugging) to the left? Currently it's below the code, which doesn't give it a lot vertical space, so I can see only a few variables. If it were on the left of the code I could see a lot more. 2. Is there a way to add another file extension which will be treated like C code for syntax highlighting? We have here C-like files, with their own extension, and I would like them to be highlighted too. Thanks again! Noam 2009/12/14 André Pönitz : > On Monday 14 December 2009 10:31:57 ext Noam Yorav-Raphael wrote: >> Hello, >> >> I'm trying Qt Creator and it looks really nice. >> >> I wonder: Is there a way to execute gdb commands directly? I defined >> some gdb commands using Python scripting, and there seems to be no way >> to use them. The "debugger" pane only shows me the interaction between >> Qt Creator and GDB, but doesn't let me execute my own commands. > > It lets you ;-) > > Type your command in the left pane and press . > There's also an item in the context menu there. > > 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] Executing gdb commands in Qt Creator
On Monday 14 December 2009 10:31:57 ext Noam Yorav-Raphael wrote: > Hello, > > I'm trying Qt Creator and it looks really nice. > > I wonder: Is there a way to execute gdb commands directly? I defined > some gdb commands using Python scripting, and there seems to be no way > to use them. The "debugger" pane only shows me the interaction between > Qt Creator and GDB, but doesn't let me execute my own commands. It lets you ;-) Type your command in the left pane and press . There's also an item in the context menu there. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Executing gdb commands in Qt Creator
Hello, I'm trying Qt Creator and it looks really nice. I wonder: Is there a way to execute gdb commands directly? I defined some gdb commands using Python scripting, and there seems to be no way to use them. The "debugger" pane only shows me the interaction between Qt Creator and GDB, but doesn't let me execute my own commands. I'm using Qt Creator 1.3.0 which I downloaded right now. Thanks, Noam ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] "Failed to load core" error
On Dec 13, 2009, at 11:25 PM, ext alex wrote: > Hello! > > I have built the Qt Creator from gitorious from main line. It builds > okay with Qt Creator 1.3 and Qt 4.6. The problem that I am having is > that when I run it I get an error message "Failed to load core: plugins>\Nokia\Core.dll: Cannot load library plugins>\Nokia\Core.dll: The specified module could not be found." The > Core.dll and Core.pluginspec files are in the folder where all the > plugins are located. Probably the runtime linker can't resolve some libraries. If you try to start Qt Creator from Explorer or a command line, make sure that the PATH environment contents the path to the Qt libs. ++ Eike > > Have anyone seen this problem before? Am I missing some post-build step? > > Thanks, > Alex > > > ___ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator -- 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
Re: [Qt-creator] Qt Creator crashes on breakpoint
On Monday 14 December 2009 08:44:58 ext Qt Quest wrote: > Hi Andre', > By debug enabled you mean to compile the Qt creator with debug > flags, or is there a runtime flag? I mean Qt Creator built with debug flags. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator