Re: [Qt-creator] Mouse Clicks Misbehaviour in latest QtCreator
Eike: Thank you for your answer. I started to wonder if I had just made it all up in my mind or something... I had QtCreator compiled against Qt-4.6.0 before, but then decided to go with Qt-4.6.1 due to some features needed to successfully compile the latest QtCreator (the problem with opting for the cutting edge). I didn't notice any problems with the Qt-4.6.0 branch, but again, I didn't installed the cocoa version of it, and didn't even scratch the surface of all the new features either. I opted for the cocoa version this time to keep 64bit compatibility with the packages installed via macports, such as mysql, for instance. Otherwise everything turns too messy, and I start thinking about coding only on Linux again. Right now I code primarily under Mac, and transfer the code to Linux/Solaris via a git repo. Qt makes your life easier indeed...I even like the test modules it ships with. I recompile the QtCreator just yesterday, but the clicking misbehaviour still remains. This doesn't turn extremely detrimental, particularly when we consider the benefits of using QtCreator, just a little annoying until you start getting used to the arrow keys for selecting items from the "Select symbol" combo box. Thank you again, Victor PS: If you or anyone else needs/uses the marble widget/libraries, you would need to add the 64 bit platform option by hand to the CMakeLists.txt file. Otherwise it always compiles in 32 bit mode. More specifically, I replaced (commented out) the line #SET( CMAKE_OSX_ARCHITECTURES i386 ) #Comment out if universal binary with SET( CMAKE_OSX_ARCHITECTURES x86_64 ) #Comment out if universal binary I had a "nice learning experience" with that after compiling the cocoa version of Qt as well...It seems that cmake has some unpolished corners in that regard. Eike Ziller wrote: > Hi, > > On Jan 2, 2010, at 1:59 AM, ext Victor Sardina wrote: > >> Fellows: >> >> I upgraded my Qt and QtCreator installation on Mac (Snow Leopard) just a >> couple of days ago. I compiled and installed Qt-4.6 (4.6.1-Stable branch >> from the git repository), and then compiled QtCreator 1.3, also the >> latest from its corresponding git repo. I had to do this because some >> new features introduced in the 4.6 branch that the latest QtCreator uses. >> >> I compiled everything in 64 bit passing the -cocoa flag to the configure >> script. > > there were and are some problems with Cocoa enabled Qt versions, that are > exposed by Qt Creator. > Please see http://bugreports.qt.nokia.com/browse/QTCREATORBUG-367 > Many of these problems were present in the 4.6.0 release of Qt, many have > been fixed in the meantime. > >> I had some glitches when compiling Qt, apparently due to some >> include path order in the webkit module that conflicted with the mysql >> "plugin.h" file. In fact, Thiago Maceiera posted something about mysql >> using an include file like "config.h" at >> http://bugreports.qt.nokia.com/browse/QTBUG-6351. >> >> It looks like Qt would include the mysql file due to some search path >> order issue. I went around it after doing some reading by renaming the >> "plugin.h" inside the mysql include folder to something else before >> continuing the compilation, and then building the mysql plugin by hand >> after moving the renamed file back to "plugin.h". After that both Qt and >> QtCreator installed just fine. >> >> All that I have an idea how it should work appears to continue to work >> as usual, except for the mouse clicks inside QtCreator's editor "Select >> a symbol" pull down menu: I cannot select anything, as though the editor >> remains oblivious to the click. The pull down does display the list of >> available functions et al., but I cannot select anything to navigate to >> unless I press the arrow keys and then select something by pressing >> return. This turns a little bit annoying. >> >> Furthermore, if you right-click to display the "Sort alphabetically" >> menu you cannot toggle it via a mouse click either. If you right-click >> inside the "Sort alphabetically" menu again then another pop up menu >> displaying "Sort alphabetically" shows up, which you cannot toggle via >> the mouse either. >> >> Inside QtDesigner, for instance, a right click brings up a menu, and >> after clicking at least once you can select items the usual way, but not >> on QtCreator. >> >> This appears to indicate some problem with the handling of the mouse >> actions. >> >> Has this something to do with new features introduced in /Qt or QtCreator? >> >> Has anyone seen something like this, or knows a way to fix it, as yet? >> >> Regards, >> Victor >> > <>___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Question about developing on qts60 with qt-creator
Another more question: When I changed a file, how could I rebuild the project only with the changed file, but the whole project? it really spend much time to rebuild the whole project, especially when i make a tiny change. From: qt-creator-boun...@trolltech.com [mailto:qt-creator-boun...@trolltech.com] On Behalf Of Shuai Cheng Sent: 2010年1月6日 14:54 To: qt-creator@trolltech.com Subject: [Qt-creator] Question about developing on qts60 with qt-creator Hi, I’m using qt-creator to develop qts60 application. I know there could be debugging on Emulator and real device with qt-creator for symbian. But I met some problem. Hope get some help from you. Thanks advanced. 1. When I setting project for real device, I could connect qt-crator to the device, and the ‘release’ version of application could run perfectly. But when I run in ‘debug’ mod with qt-creator ,I couldn’t get the debug information from real device, and couldn’t debug it with qt-creator, what I missed ? 2. When I setting project for Emulator, I even couldn’t run the application in debug mode (that means I couldn’t press ‘F5’ for debug, but I could build the application with debug mode). Could somebody give some advice for me ? Thanks Shuai. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Question about developing on qts60 with qt-creator
Hi, I'm using qt-creator to develop qts60 application. I know there could be debugging on Emulator and real device with qt-creator for symbian. But I met some problem. Hope get some help from you. Thanks advanced. 1. When I setting project for real device, I could connect qt-crator to the device, and the 'release' version of application could run perfectly. But when I run in 'debug' mod with qt-creator ,I couldn't get the debug information from real device, and couldn't debug it with qt-creator, what I missed ? 2. When I setting project for Emulator, I even couldn't run the application in debug mode (that means I couldn't press 'F5' for debug, but I could build the application with debug mode). Could somebody give some advice for me ? Thanks Shuai. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Locals & Watches doesn't show function arguments.
On Wed, Jan 06, 2010 at 05:14:48AM +0900, paulo wrote: > Andre Poenitz wrote: > > > > The new Python based helpers work basically work only with very specific > > builds, like the ones on ftp://ftp.qt.nokia.com/misc/gdb/. > > > > > So the python script can still be ignored? Or does it bring any > advantages, for those using gdb 6.8 compiled from source. Depends on your sources. If your sources are based on archer-tromey-python, it will work, otherwise not. If you don't want/need python you can just keep moving dumper.py away and run stock 7.0.1 or 6.8. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Locals & Watches doesn't show function arguments.
Andre Poenitz wrote: > > The new Python based helpers work basically work only with very specific > builds, like the ones on ftp://ftp.qt.nokia.com/misc/gdb/. > > So the python script can still be ignored? Or does it bring any advantages, for those using gdb 6.8 compiled from source. (not nokia)? Thank you, Paulo ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Locals & Watches doesn't show function arguments.
On Wed, Jan 06, 2010 at 03:10:06AM +0900, paulo wrote: > Well, that being so I'll install 6.8. > But what exactly is the advantage? > gdbmacros does not work without it? The old C++ based "debugging helpers" will work with any reasonable recent version of gdb. Gdb 7.0 should be avoided nevertheless due to the division-by-zero crash I mentioned. The new Python based helpers work basically work only with very specific builds, like the ones on ftp://ftp.qt.nokia.com/misc/gdb/. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Locals & Watches doesn't show function arguments.
Well, that being so I'll install 6.8. But what exactly is the advantage? gdbmacros does not work without it? André Pönitz wrote: > On Tuesday 05 January 2010 11:22:17 ext paulo wrote: > >> yáp, >> >> you sure know what you're talking about. >> That really fixed it. >> Now locals show again, and I can even set watchers. >> > > Good. > > >> Now, how did you know it was that? >> > > I did not know, I had to guess as you did not attach the log. If you had > attached it I would have known... ;-} > > [Guessing is always a bit inefficient as it usually involves extra > communication, both if the guess is wrong and if it is right.] > > >> The problem is not new? >> > > Indeed. Both gdb 7.0 and 7.0.1 are not supported. That's not new. Supported > are > stock 6.8 builds and binaries downloaded from ftp://ftp.qt.nokia.com/misc/gdb/ > > 7.0 has a nasty bug making it crash, but that was fixed in 7.0.1 > (http://sourceware.org/bugzilla/show_bug.cgi?id=10884). > > However, both 7.0 and 7.0.1 do not implement gdb.parse_and_eval which we > use heavily in Creator. This can be worked around for some cases by using > gdb.execute, but only if that gdb.execute does not fail. It does so, however, > for out-of-scope watchers without giving us the opportunity to recover > (http://sourceware.org/bugzilla/show_bug.cgi?id=11135). > > 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] Locals & Watches doesn't show function arguments.
On Tuesday 05 January 2010 11:22:17 ext paulo wrote: > yáp, > > you sure know what you're talking about. > That really fixed it. > Now locals show again, and I can even set watchers. Good. > Now, how did you know it was that? I did not know, I had to guess as you did not attach the log. If you had attached it I would have known... ;-} [Guessing is always a bit inefficient as it usually involves extra communication, both if the guess is wrong and if it is right.] > The problem is not new? Indeed. Both gdb 7.0 and 7.0.1 are not supported. That's not new. Supported are stock 6.8 builds and binaries downloaded from ftp://ftp.qt.nokia.com/misc/gdb/ 7.0 has a nasty bug making it crash, but that was fixed in 7.0.1 (http://sourceware.org/bugzilla/show_bug.cgi?id=10884). However, both 7.0 and 7.0.1 do not implement gdb.parse_and_eval which we use heavily in Creator. This can be worked around for some cases by using gdb.execute, but only if that gdb.execute does not fail. It does so, however, for out-of-scope watchers without giving us the opportunity to recover (http://sourceware.org/bugzilla/show_bug.cgi?id=11135). Regards, Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Locals & Watches doesn't show function arguments.
yáp, you sure know what you're talking about. That really fixed it. Now locals show again, and I can even set watchers. Now, how did you know it was that? The problem is not new? Thank you, Paulo André Pönitz wrote: > On Monday 04 January 2010 20:31:57 ext paulo wrote: > >> Hi again, >> >> just recompiled from git, and now it's even worse. >> "Locals and Watchers" shows nothing... >> > > Bold guess: You have a gdb 7.0 or 7.0.1 and a 'watcher' > that contains out-of-scope variables? > > If so, renaming share/qtcreator/gdbmacros/dumper.py should > "fix" the problem by falling back to the C++ based dumpers. > > 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] Locals & Watches doesn't show function arguments.
On Monday 04 January 2010 20:31:57 ext paulo wrote: > Hi again, > > just recompiled from git, and now it's even worse. > "Locals and Watchers" shows nothing... Bold guess: You have a gdb 7.0 or 7.0.1 and a 'watcher' that contains out-of-scope variables? If so, renaming share/qtcreator/gdbmacros/dumper.py should "fix" the problem by falling back to the C++ based dumpers. Andre' ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Mouse Clicks Misbehaviour in latest QtCreator
Hi, On Jan 2, 2010, at 1:59 AM, ext Victor Sardina wrote: > Fellows: > > I upgraded my Qt and QtCreator installation on Mac (Snow Leopard) just a > couple of days ago. I compiled and installed Qt-4.6 (4.6.1-Stable branch > from the git repository), and then compiled QtCreator 1.3, also the > latest from its corresponding git repo. I had to do this because some > new features introduced in the 4.6 branch that the latest QtCreator uses. > > I compiled everything in 64 bit passing the -cocoa flag to the configure > script. there were and are some problems with Cocoa enabled Qt versions, that are exposed by Qt Creator. Please see http://bugreports.qt.nokia.com/browse/QTCREATORBUG-367 Many of these problems were present in the 4.6.0 release of Qt, many have been fixed in the meantime. > I had some glitches when compiling Qt, apparently due to some > include path order in the webkit module that conflicted with the mysql > "plugin.h" file. In fact, Thiago Maceiera posted something about mysql > using an include file like "config.h" at > http://bugreports.qt.nokia.com/browse/QTBUG-6351. > > It looks like Qt would include the mysql file due to some search path > order issue. I went around it after doing some reading by renaming the > "plugin.h" inside the mysql include folder to something else before > continuing the compilation, and then building the mysql plugin by hand > after moving the renamed file back to "plugin.h". After that both Qt and > QtCreator installed just fine. > > All that I have an idea how it should work appears to continue to work > as usual, except for the mouse clicks inside QtCreator's editor "Select > a symbol" pull down menu: I cannot select anything, as though the editor > remains oblivious to the click. The pull down does display the list of > available functions et al., but I cannot select anything to navigate to > unless I press the arrow keys and then select something by pressing > return. This turns a little bit annoying. > > Furthermore, if you right-click to display the "Sort alphabetically" > menu you cannot toggle it via a mouse click either. If you right-click > inside the "Sort alphabetically" menu again then another pop up menu > displaying "Sort alphabetically" shows up, which you cannot toggle via > the mouse either. > > Inside QtDesigner, for instance, a right click brings up a menu, and > after clicking at least once you can select items the usual way, but not > on QtCreator. > > This appears to indicate some problem with the handling of the mouse > actions. > > Has this something to do with new features introduced in /Qt or QtCreator? > > Has anyone seen something like this, or knows a way to fix it, as yet? > > Regards, > Victor > -- 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] (no subject)
On Dec 28, 2009, at 2:11 PM, ext Rudenko Eugene wrote: > Hello, I trying to get into Qt-creator source code. > The first task I'm going to implement is make different view of source > tree in tree view. > Some explanations: > now source tree consist of such folders: > static QStringList fileTypeNames = QStringList() << > tr("Headers") ><< tr("Sources") > << tr("Forms") > << tr("Resources") > << tr("Other files"); > > I'm going to implement another one: > static QStringList fileTypeNames =QStringList() << > tr("Sources") > << tr("Forms") > << tr("Resources") > << tr("Other files"); > > In sources tree I'll going to show .h and .cpp files together. > > I hove some questions: > 1. Why "FlatModel" has such strange name, it's confusing, because > there are no another models (In mach more early sources there are was > one more model, but it didn't was using.). It's Confusing because this > model is able to represent tree and flat, regarding it's filter. > 2. Filter name: "m_filterProjects" - enable simplify tree view. The > name is confusing too. Historically. Now with the refactoring support in Qt Creator, that would probably a good thing to rename ;) > 3. The question about design implementation of my idea: I'm not > currently know much about source code organization, that's why I'm > unable to make best decision. Now I can see two possible ways to > implement my idea: > 1. Leave qt4project class's realization the same. I'll get the same > folder's names. But in model get one more filter > "m_filterMergeSources",for example, and if it's true and > "m_filterProjects" is false then hide headers and make "sources" node > they parent node. But it's looks like dirty hack. > 2. Another way is to change qt4project class, to set this filter to > it, and if merge filter is true, then it return another > FileTypesName and another hierarchy. But in this case, we have to > get two different trees. And this is overheading. > > Maybe there are exists another way ??? 3. Leave it as-is? Is that really worth the hassle, introducing a new option, etc, etc? What *is* a missing "feature", which I already looked into (but it's not trivial to implement in the "FlatModel" because one needs to merge nodes from a deeper level), is to make it possible to hide the categories (but still have the "complex" tree). Best regards, -- 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] Where is Console output in Mac Os version ?
Hi, On Dec 25, 2009, at 12:15 PM, ext Rudenko Eugene wrote: > Hello, I just installed latest snapshot for Mac Os and found that > there are no console output in left tollbar: console plane only in > bottom, no full-screen mode. Qt Creator mainline doesn't have the Output mode any more. Instead you can "maximize" the output pane that you get with the buttons at the bottom, using the up-arrow icon in its tool bar (or cmd+9, I think). Regards, -- 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