arthurplugin.pro Example Filedemos/arthurplugin/arthurplugin.pro QTDIR = $$QT_SOURCE_TREE
CONFIG += designer plugin
TEMPLATE = lib
TARGET = $$qtLibraryTarget(arthurplugin)
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
contains(QT_CONFIG, opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}
SHARED_FOLDER = ../shared
include(../shared/shared.pri)
DEMO_DEFORM_DIR = ../deform
DEMO_AFFINE_DIR = ../affine
DEMO_GRADIENT_DIR = ../gradients
DEMO_STROKE_DIR = ../pathstroke
DEMO_COMPOSITION_DIR = ../composition
INCLUDEPATH += $$DEMO_DEFORM_DIR $$DEMO_AFFINE_DIR $$DEMO_GRADIENT_DIR $$DEMO_STROKE_DIR $$DEMO_COMPOSITION_DIR
SOURCES = plugin.cpp \
$$DEMO_COMPOSITION_DIR/composition.cpp \
$$DEMO_AFFINE_DIR/xform.cpp \
$$DEMO_DEFORM_DIR/pathdeform.cpp \
$$DEMO_GRADIENT_DIR/gradients.cpp \
$$DEMO_STROKE_DIR/pathstroke.cpp \
HEADERS = \
$$DEMO_COMPOSITION_DIR/composition.h \
$$DEMO_AFFINE_DIR/xform.h \
$$DEMO_DEFORM_DIR/pathdeform.h \
$$DEMO_GRADIENT_DIR/gradients.h \
$$DEMO_STROKE_DIR/pathstroke.h \
RESOURCES += arthur_plugin.qrc
# install
target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg *.png
sources.path = $$[QT_INSTALL_DEMOS]/arthurplugin
INSTALLS += target sources
symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
win32-msvc* {
QMAKE_CFLAGS += /Zm500
QMAKE_CXXFLAGS += /Zm500
}
|
| Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.8 | |
| Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
| Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! | ||
Copyright © 2000-2012 - www.developpez.com















