From a0127da1fd1a5146044b74daff4bfa4208868681 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 26 Aug 2014 09:57:09 +0200 Subject: Doc: Clear a number of documentation warnings QDoc gets confused about the contents of doc_src_plugins.qdoc, mistaking some of its code for QDoc commands. To work around this problem, change the file to be a qdoc include file, wrap the code blocks with \badcode, and refer to them using \include. Using \badcode will also turn off code highlighting and autolinking, something that is not desired for these code snippets. Change-Id: I6c3b65ef098ec6f6f06892d78a3abb38e0d28ca3 Reviewed-by: Leena Miettinen --- doc/examples/doc_src_plugins.qdoc | 93 --------------------------------------- 1 file changed, 93 deletions(-) delete mode 100644 doc/examples/doc_src_plugins.qdoc (limited to 'doc/examples') diff --git a/doc/examples/doc_src_plugins.qdoc b/doc/examples/doc_src_plugins.qdoc deleted file mode 100644 index 7993582f46..0000000000 --- a/doc/examples/doc_src_plugins.qdoc +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** -** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of Qt Creator -** -** -** GNU Free Documentation License -** -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of this -** file. -** -** -****************************************************************************/ - -//! [0] -otool -L /Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib -//! [0] - - -//! [1] -/Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib: - libqwt_designer_plugin.dylib (compatibility version 0.0.0, current version 0.0.0) - libqwt.5.dylib (compatibility version 5.2.0, current version 5.2.1) - QtDesigner.framework/Versions/4/QtDesigner (compatibility version 4.6.0, current version 4.6.2) - QtScript.framework/Versions/4/QtScript (compatibility version 4.6.0, current version 4.6.2) - QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2) - QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2) - QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2) - /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) - /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 438.0.0) - /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1) -//! [1] - -//! [2] -otool -L /usr/local/qwt-5.2.1/lib/libqwt.5.dylib -//! [2] - - -//! [3] -/usr/local/qwt-5.2.1/lib/libqwt.5.dylib: - libqwt.5.dylib (compatibility version 5.2.0, current version 5.2.1) - QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2) - QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2) - /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) - /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 438.0.0) - /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1) -//! [3] - - -//! [4] -sudo cp /Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib \ - /Developer/Applications/Qt/Qt\ Creator.app/Contents/MacOS/designer -sudo cp -R /usr/local/qwt-5.2.1/lib/* \ - /Developer/Applications/Qt/Qt\ Creator.app/Contents/Frameworks/ -//! [4] - - -//! [5] -cd /Developer/Applications/Qt/Qt\ Creator.app/Contents/MacOS/designer -sudo install_name_tool -change - QtCore.framework/Versions/4/QtCore \ - @executable_path/../Frameworks/libQtCore.4.dylib \ - libqwt_designer_plugin.dylib -sudo install_name_tool -change QtGui.framework/Versions/4/QtGui \ - @executable_path/../Frameworks/libQtGui.4.dylib \ - libqwt_designer_plugin.dylib -sudo install_name_tool -change QtXml.framework/Versions/4/QtXml \ - @executable_path/../Frameworks/libQtXml.4.dylib \ - libqwt_designer_plugin.dylib -sudo install_name_tool -change QtScript.framework/Versions/4/QtScript \ - @executable_path/../Frameworks/libQtScript.4.dylib \ - libqwt_designer_plugin.dylib -sudo install_name_tool -change QtDesigner.framework/Versions/4/QtDesigner \ - @executable_path/../Frameworks/libQtDesigner.4.dylib \ - libqwt_designer_plugin.dylib -sudo install_name_tool -change libqwt.5.dylib \ - @executable_path/../Frameworks/libqwt.5.dylib \ - libqwt_designer_plugin.dylib - -cd /Developer/Applications/Qt/Qt\ Creator.app/Contents/Frameworks -sudo install_name_tool -change \ - QtCore.framework/Versions/4/QtCore \ - @executable_path/../Frameworks/libQtCore.4.dylib \ - libqwt.5.2.1.dylib -sudo install_name_tool -change \ - QtGui.framework/Versions/4/QtGui \ - @executable_path/../Frameworks/libQtGui.4.dylib \ - libqwt.5.2.1.dylib -//! [5] -- cgit v1.2.1