Am 17.08.2011 07:55, schrieb Christian Kamm: > On Wednesday 17 August 2011 05:30:34 ext Wilhelm Meier wrote: >> Am 16.08.2011 11:19, schrieb Christian Kamm: >>> Hello everyone, >>> >>> the C++ editor in qtcreator/master just got a new feature that should be >>> really useful and that I'd like feedback on. It is a way of automatically >>> keeping function declarations and definitions in sync. >>> >>> Whenever you edit a function signature Creator will check if it can find >>> the matching declaration or definition. If it found it and thinks it can >>> apply your changes there, a little light bulb will appear at the end of >>> the function. Your options are: >>> * Press Enter to apply the changes >>> * Press Shift-Enter to apply the changes and jump to the changed location >>> * Press Escape or move your cursor away to do nothing >>> >>> Please give it a try and let me know what you think about it! Bug reports >>> should still go to http://bugreports.qt.nokia.com though. >> Just got qtcreator-linux-x86-opensource-2.2.85-201108170058, >> but this feature (ths light-bulb) doesn't appear. Do I have to enable >> something? > The nightly builds currently follow the 2.3 branch and this feature is in > master only. Usually the nightlies switch back to tracking master some time > after the release.
Ok, tried to build the master, but got this source-problem: g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_CREATOR -DQT4PROJECTMANAGER_LIBRARY -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_CREATOR -DPROPARSER_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DQT_CREATOR -DQT_CREATOR -DQT_CREATOR -DJSON_INCLUDE_PRI -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.4/mkspecs/linux-g++ -I../../../../src/plugins/qt4projectmanager -I/usr/local/Trolltech/Qt-4.7.4/include/QtCore -I/usr/local/Trolltech/Qt-4.7.4/include/QtNetwork -I/usr/local/Trolltech/Qt-4.7.4/include/QtGui -I/usr/local/Trolltech/Qt-4.7.4/include -I../../../../src/libs -I/home/lmeier/Software/qt-creator.git/tools -I../../../../src/plugins -I../../../../src/libs/3rdparty/botan/build -I../coreplugin -I../../../../src/shared -I/home/lmeier/Software/qt-creator.git/src/libs/qmljs/../../shared/qmljs -I/home/lmeier/Software/qt-creator.git/src/libs/qmljs/../../shared/qmljs/parser -I../../../../src/libs/3rdparty -I../../../../src/libs/3rdparty/cplusplus -I../../../../src/libs/cplusplus -I../../../../src/libs/3rdparty -I../../../../src/libs/3rdparty/cplusplus -I../../../../src/libs/cplusplus -I../../../../src/libs/3rdparty -I../../../../src/libs/3rdparty/cplusplus -I../../../../src/libs/cplusplus -I../../../../src/shared/symbianutils -I../../../../src/plugins/debugger -I../../../../src/shared -I/home/lmeier/Software/qt-creator.git/src/libs/qmljs/../../shared/qmljs -I/home/lmeier/Software/qt-creator.git/src/libs/qmljs/../../shared/qmljs/parser -I../../../../src/shared/json -I../../../../src/plugins/qt4projectmanager/customwidgetwizard -I.moc/release-shared -I.uic -I. -o .obj/release-shared/profileeditor.o ../../../../src/plugins/qt4projectmanager/profileeditor.cpp ../../../../src/plugins/qt4projectmanager/profileeditor.cpp: In Elementfunktion »virtual TextEditor::BaseTextEditorWidget::Link Qt4ProjectManager::Internal::ProFileEditorWidget::findLinkAt(const QTextCursor&, bool)«: ../../../../src/plugins/qt4projectmanager/profileeditor.cpp:175:29: Fehler: Elementfunktion »Core::IFile* TextEditor::BaseTextEditorWidget::file()« kann nicht ohne Objekt aufgerufen werden Any hints? I'm very (!) interested in this feature! -- Wilhelm _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
