diff --git a/doc/src/projects/creator-only/creator-projects-building.qdoc b/doc/src/projects/creator-only/creator-projects-building.qdoc index 774040fb4da..ea9bc1d230e 100644 --- a/doc/src/projects/creator-only/creator-projects-building.qdoc +++ b/doc/src/projects/creator-only/creator-projects-building.qdoc @@ -79,9 +79,10 @@ subproject. To remove all build artifacts, select \uicontrol Build > \uicontrol {Clean All} or - \uicontrol {Clean Project}. To clean the build directory, run qmake, and - then build the project, select \uicontrol Build > \uicontrol {Rebuild All} - or \uicontrol {Rebuild Project}. + \uicontrol {Clean Project}. To clean the build directory and then build + the project, select \uicontrol Build > \uicontrol {Rebuild All} or + \uicontrol {Rebuild Project}. If you use qmake, rebuilding also runs qmake + to generate new Makefiles between cleaning and building. To build and clean projects without dependencies, select the \uicontrol {Build Without Dependencies}, @@ -89,6 +90,8 @@ \uicontrol {Clean Without Dependencies} options in the context menu in the \uicontrol Projects view. + \section1 Additional qmake Options + To run qmake to generate new Makefiles, select \uicontrol Build > \uicontrol qmake. To prevent failures on incremental builds, it might make sense to always run qmake before building, even though it means that diff --git a/src/plugins/clangformat/clangformatplugin.cpp b/src/plugins/clangformat/clangformatplugin.cpp index 2e0ed55d23d..4e2b8c6c839 100644 --- a/src/plugins/clangformat/clangformatplugin.cpp +++ b/src/plugins/clangformat/clangformatplugin.cpp @@ -155,8 +155,9 @@ bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorS } return true; #else - *errorString = "Disabling ClangFormat plugin as it is not built against a suitable version of " - "Clang's libFormat. For more information, see the Qt Creator README at " +#warning ClangFormat: building dummy plugin due to unmodified Clang, see README.md for more info + *errorString = "Disabling ClangFormat plugin as it has not been built against a modified Clang's libFormat." + "For more information see the Qt Creator README at " "https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md"; return false; #endif diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp index 4751765874b..4d2523b3a37 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp @@ -104,11 +104,9 @@ void TimelineActions::pasteKeyframesToTarget(const ModelNode &targetNode, pasteModel->detachView(&view); + targetNode.view()->model()->attachView(&view); view.executeInTransaction("TimelineActions::pasteKeyframesToTarget", [=, &view](){ - - targetNode.view()->model()->attachView(&view); - ModelNode nonConstTargetNode = targetNode; nonConstTargetNode.validId(); diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp index e9e19fcfb7d..b6eab1655ba 100644 --- a/tests/auto/utils/fileutils/tst_fileutils.cpp +++ b/tests/auto/utils/fileutils/tst_fileutils.cpp @@ -63,7 +63,7 @@ void tst_fileutils::parentDir_data() #ifdef Q_OS_WIN QTest::newRow("C:/data") << "C:/data" << "C:/" << ""; QTest::newRow("C:/") << "C:/" << "" << ""; - QTest::newRow("//./com1") << "//./com1" << "/" << ""; + QTest::newRow("//./com1") << "//./com1" << "//." << ""; QTest::newRow("//?/path") << "//?/path" << "/" << "Qt 4 cannot handle this path."; QTest::newRow("/Global?\?/UNC/host") << "/Global?\?/UNC/host" << "/Global?\?/UNC/host" << "Qt 4 cannot handle this path.";