[Qt-creator] new C++ indenter: request for feedback
Hi everyone, a new indenter for the C++ editor has just been merged into master. Its main features are speed, the ability to use it without a TextEditor instance (like for refactoring) and the potential to be a lot smarter than the old one. At the moment, however, it's still in its infancy. It knows some tricks that the old one didn't, but probably messes up cases that used to work fine before. To help stabilize it, I'd like to ask everyone to create tickets for any incorrect or odd intentation you encounter during your daily use. (the component C++ support and assigned to me would be ideal) Happy hacking, Christian ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] ui/ui_fhelp.h ERROR? WHy?
Hi all, I'm a newcomer of Qt Creator.. Currently, i'm trying Accordeur project from sourgeforge.net.. i downloaded the source code from url: http://sourceforge.net/projects/acco...deur/accordeurhttp://sourceforge.net/projects/accordeur/files/accordeur/accordeur1.0.2/accordeur-1.0.2.src.tar.gz/download , and run+compile it using Qt 4.7/Qt Creator 2.0 WITHOUT making any changes to the code... However, I encountered an ERROR: [ui/ui_fhelp.h] Error 1 Could any body try this source code? Do you experience the same problem? Could any master Qt help me to solve this problem? Thanks zap ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Build issues under OSX10.5
Hello everyone, I am having issues while trying to build qt-creator on OSX10.5: - The default xcode spec does generate empty xcode projects. - The macx-g++ spec does generate a not-fully-linked bundle (core fails to link correctly) - Out of source build is not working due to some hardcoded relative links Anyone encountered such kind of issues? -- 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
Re: [Qt-creator] Minor file deletion bug
Charles N Burns, Monday 05 July 2010: In Qt Creator 2.0.0, when I delete a file from within Qt Creator with {r-click -- Remove file}, then check the box for permanent file deletion, Qt Creator shows a dialog box which says: The file file path has been removed outside of Qt Creator. Do you want to save it under a different name, or close the editor? The file was, of course, removed from inside the editor. I see the same thing when I svn revert a file from within QtCreator; it claims to have been modified outside. Frank ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Class View in navigation pane (merge request #2167)
Hi, The most popular feature request for Qt Creator is 'Class View in navigation pane' ( http://bugreports.qt.nokia.com/browse/QTCREATORBUG-28 ) now. I created such plugin (with additional minor change in src/libs/cplusplus/Icons.h / .cpp - added possibility to get an icon id instead of QIcon - it is needed for work not in GUI thread and for faster sorting) and I sent a merge request: http://qt.gitorious.org/qt-creator/qt-creator/merge_requests/2167 Due to the summer (a lot of vacations) I do not think that the review will start before the middle of August (or even later). So I am just asking - if somebody wants to use/test/review this plugin etc - you are welcome! Any feedback is highly appreciated. There was just a 'feature request', no any details about how it has to be done etc, so just a basic functionality is implemented. What else should be added? Short description: Based on QtCreator CPlusPlus library (CPlusPlus::Snapshot / CPlusPlus::Document). Features: - Flat view (any class for the project is show from the root) - Subprojects view (like usual Projects) - Go to any particular symbol by activating this item. - Support multiple locations (e.g. Namespaces) - Quite fast, Document parsing is done in a separate thread. - If 'Class View' navi widget will not be shown - there will no be any additional operation at all. Screenshots (~160 kb each): http://farm5.static.flickr.com/4079/4764686951_14319f111b_o.png http://farm5.static.flickr.com/4099/4764686953_e2d3b59a1a_o.png Target - to be fast (and invisible to the end user) as much as possible, and useful. Also as a separate target - show that a lot of features might be added to Qt Creator by independent contributors (so - a lot votes for the feature, but nobody even tried to implement it. Initial working version was made in just 6 hours, further - bug fixing and optimization). If somebody in Nokia already working for a similar plugin - it is ok, at least this implementation is already done. How is it done: Plugin - creates NaviWidgetFactory and Manager. NaviWidgetFactory creates NaviWidget. NaviWidget uses QTreeView with QStandardItem. Manager creates Parser and moves it to a separate thread. Parser works with documents, creates a ParserTreeItem trees (QHash based - to speed up work). NaviWidget uses QStandardItem and not a special 'ParserTreeItemModel' - because ParserTreeItem anyway has to be converted to something (or somehow changed) - it does not support getting child by number etc. -- Best Regards, Denis Mingulov ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] Mercurial Woes on Windows 7 64 bit
I am using the latest Qt SDK on Windows 7 64 bit and cannot get Mercurial support to work at all. I have hg.exe on my path but whatever command I try from within Qt Creator I am greeted with the same error: 22:02 Executing: C:\Program Files (x86)\TortoiseHg\hg.exe status abort: There is no Mercurial repository here (.hg not found)! The repository definitely exists and Mercurial works fine from a command-prompt. It's almost as if Creator is using the wrong working directory when issuing the hg commands but there is no way to check for sure. Does anyone have any ideas? It was working fine on XP/32 when I last tried it. Regards. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Class View in navigation pane (merge request #2167)
Wow Denis, it looks great! Thanks a lot for this very welcome contribution. Right now I'm a bit busy but I will definitely try to review your code ASAP. cool stuff and thanks again. ciao robe On Jul 5, 2010, at 10:56 PM, ext Denis Mingulov wrote: Hi, The most popular feature request for Qt Creator is 'Class View in navigation pane' ( http://bugreports.qt.nokia.com/browse/QTCREATORBUG-28 ) now. I created such plugin (with additional minor change in src/libs/cplusplus/Icons.h / .cpp - added possibility to get an icon id instead of QIcon - it is needed for work not in GUI thread and for faster sorting) and I sent a merge request: http://qt.gitorious.org/qt-creator/qt-creator/merge_requests/2167 Due to the summer (a lot of vacations) I do not think that the review will start before the middle of August (or even later). So I am just asking - if somebody wants to use/test/review this plugin etc - you are welcome! Any feedback is highly appreciated. There was just a 'feature request', no any details about how it has to be done etc, so just a basic functionality is implemented. What else should be added? Short description: Based on QtCreator CPlusPlus library (CPlusPlus::Snapshot / CPlusPlus::Document). Features: - Flat view (any class for the project is show from the root) - Subprojects view (like usual Projects) - Go to any particular symbol by activating this item. - Support multiple locations (e.g. Namespaces) - Quite fast, Document parsing is done in a separate thread. - If 'Class View' navi widget will not be shown - there will no be any additional operation at all. Screenshots (~160 kb each): http://farm5.static.flickr.com/4079/4764686951_14319f111b_o.png http://farm5.static.flickr.com/4099/4764686953_e2d3b59a1a_o.png Target - to be fast (and invisible to the end user) as much as possible, and useful. Also as a separate target - show that a lot of features might be added to Qt Creator by independent contributors (so - a lot votes for the feature, but nobody even tried to implement it. Initial working version was made in just 6 hours, further - bug fixing and optimization). If somebody in Nokia already working for a similar plugin - it is ok, at least this implementation is already done. How is it done: Plugin - creates NaviWidgetFactory and Manager. NaviWidgetFactory creates NaviWidget. NaviWidget uses QTreeView with QStandardItem. Manager creates Parser and moves it to a separate thread. Parser works with documents, creates a ParserTreeItem trees (QHash based - to speed up work). NaviWidget uses QStandardItem and not a special 'ParserTreeItemModel' - because ParserTreeItem anyway has to be converted to something (or somehow changed) - it does not support getting child by number etc. -- Best Regards, Denis Mingulov ___ 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] Mercurial Woes on Windows 7 64 bit
Too bad the error message was not more informative. Instead of: 22:02 Executing: C:\Program Files (x86)\TortoiseHg\hg.exe status abort: There is no Mercurial repository here (.hg not found)! It would be much better to see: 22:02 Executing: C:\Program Files (x86)\TortoiseHg\hg.exe status abort: There is no Mercurial repository here (C:\myrepositories\myproject\.hg not found)! If this error message is generated by Qt Creator, perhaps someone on this list with some experience working on Qt Creator could submit this simple fix. It still wouldn't solve your problem, but it would help you discover what was really wrong. John On Jul 5, 2010, at 11:06 AM, Robert Caldecott wrote: I am using the latest Qt SDK on Windows 7 64 bit and cannot get Mercurial support to work at all. I have hg.exe on my path but whatever command I try from within Qt Creator I am greeted with the same error: 22:02 Executing: C:\Program Files (x86)\TortoiseHg\hg.exe status abort: There is no Mercurial repository here (.hg not found)! The repository definitely exists and Mercurial works fine from a command-prompt. It's almost as if Creator is using the wrong working directory when issuing the hg commands but there is no way to check for sure. Does anyone have any ideas? It was working fine on XP/32 when I last tried it. Regards. ___ 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 under OSX10.5
Aurélien: I haven't tried building qt-creator via xcode, but you don't really need to use xcode to do so. You can simply create a build directory parallel to the qt-creator source directory. Let's say you have the source under qt/qt-creator. Then cd up to qt and issue a mkdir qtcreatorbuil command to create a new build directory. Then cd in their with cd qtcreatorbuild and issue a qmake ../qt-creator/qtcreator.pro command. Then follow that with the usual make command. You can probably issue make -j3 if you have a dual core Mac, which usually speeds up the building process quite a bit. At the end of the build the bin directory should contain the Qt Creator.app application bundle that you can copy wherever you intend to. This approach also leaves the source tree clean. It also provides a much smaller bundle, as it uses your Qt installation libraries. To do this you need Qt-4.7.0 installed. Otherwise the build will fail. Hope this helps, Victor On 7/5/10 7:29 AM, Aurélien Vallée wrote: Hello everyone, I am having issues while trying to build qt-creator on OSX10.5: - The default xcode spec does generate empty xcode projects. - The macx-g++ spec does generate a not-fully-linked bundle (core fails to link correctly) - Out of source build is not working due to some hardcoded relative links Anyone encountered such kind of issues? ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator attachment: victor_sardina.vcf___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator