summaryrefslogtreecommitdiffstats
path: root/simplegl.pro
blob: 0d222a6dd9024777ab4b27b13feb38e7bb944b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#many of the qmake variables here are defined in .qmake.cache and hence
#this plugin must be built from within the Qt build tree or this profile
#file must be adjusted accordingly

TARGET = qscreensimplegl
include($$QT_SOURCE_TREE/src/plugins/qpluginbase.pri)

QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/gfxdrivers

target.path = $$[QT_INSTALL_PLUGINS]/gfxdrivers
INSTALLS += target

HEADERS = simpleglscreen.h simpleglwindowsurface.h
SOURCES = main.cpp simpleglscreen.cpp simpleglwindowsurface.cpp

QT += opengl

rasp-pi {
    message(using rasp-pi specific init)
    DEFINES += RASP_PI
}