Changeset View
Changeset View
Standalone View
Standalone View
qml/qmlalkimiaplugin.h
Show All 12 Lines | |||||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
14 | * GNU General Public License for more details. * | 14 | * GNU General Public License for more details. * | ||
15 | * * | 15 | * * | ||
16 | * You should have received a copy of the GNU General Public License * | 16 | * You should have received a copy of the GNU General Public License * | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | 17 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | 19 | | |||
20 | #include <QtGlobal> | 20 | #include <QtGlobal> | ||
21 | #if QT_VERSION >= 0x050000 | 21 | #if QT_VERSION >= QT_VERSION_CHECK(5,0,0) | ||
22 | #include <QtQml> | 22 | #include <QtQml> | ||
23 | #else | 23 | #else | ||
24 | #include <QtDeclarative> | 24 | #include <QtDeclarative> | ||
25 | class QQmlExtensionPlugin : public QDeclarativeExtensionPlugin | 25 | class QQmlExtensionPlugin : public QDeclarativeExtensionPlugin | ||
26 | { | 26 | { | ||
27 | }; | 27 | }; | ||
28 | #undef Q_PLUGIN_METADATA | 28 | #undef Q_PLUGIN_METADATA | ||
29 | #define Q_PLUGIN_METADATA(s) | 29 | #define Q_PLUGIN_METADATA(s) | ||
Show All 11 Lines |