doc_src_plugins.qdocinc 3.92 KB
Newer Older
1 2
/****************************************************************************
**
3
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
hjk's avatar
hjk committed
4
** Contact: http://www.qt-project.org/legal
5
**
hjk's avatar
hjk committed
6
** This file is part of Qt Creator
7 8
**
**
Leena Miettinen's avatar
Leena Miettinen committed
9
** GNU Free Documentation License
10
**
Leena Miettinen's avatar
Leena Miettinen committed
11 12 13 14
** 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.
15 16 17 18 19
**
**
****************************************************************************/

//! [0]
20
\badcode
21
otool -L /Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib
22
\endcode
23 24 25 26
//! [0]


//! [1]
27
\badcode
28 29 30 31 32 33 34 35 36 37 38
/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)
39
\endcode
40 41 42
//! [1]

//! [2]
43
\badcode
44
otool -L /usr/local/qwt-5.2.1/lib/libqwt.5.dylib
45
\endcode
46 47 48 49
//! [2]


//! [3]
50
\badcode
51 52 53 54 55 56 57
/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)
58
\endcode
59 60 61 62
//! [3]


//! [4]
63
\badcode
64 65 66 67
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/
68
\endcode
69 70 71 72
//! [4]


//! [5]
73
\badcode
74
cd /Developer/Applications/Qt/Qt\ Creator.app/Contents/MacOS/designer
75
sudo install_name_tool -change
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
    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
104
\endcode
105
//! [5]
106