TEMPLATE = app CONFIG += qt warn_on uic TARGET = qvfb DESTDIR = ../../bin !win32:!embedded:!mac:CONFIG += x11 target.path=$$[QT_INSTALL_BINS] INSTALLS += target DEPENDPATH = ../../include INCLUDEPATH += ../../src/gui/embedded FORMS = config.ui HEADERS = qvfb.h \ qvfbview.h \ qvfbratedlg.h \ qanimationwriter.h \ gammaview.h \ qvfbprotocol.h \ qvfbshmem.h \ qvfbmmap.h \ ../../src/gui/embedded/qvfbhdr.h \ ../../src/gui/embedded/qlock_p.h \ ../../src/gui/embedded/qwssignalhandler_p.h SOURCES = qvfb.cpp \ qvfbview.cpp \ qvfbratedlg.cpp \ main.cpp \ qanimationwriter.cpp \ qvfbprotocol.cpp \ qvfbshmem.cpp \ qvfbmmap.cpp \ ../../src/gui/embedded/qlock.cpp \ ../../src/gui/embedded/qwssignalhandler.cpp include($$QT_SOURCE_TREE/tools/shared/deviceskin/deviceskin.pri) contains(QT_CONFIG, opengl) { QT += opengl } contains(QT_CONFIG, system-png) { LIBS += -lpng } else { INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/libpng } contains(QT_CONFIG, system-zlib) { LIBS += -lz } else { INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib } unix:x11 { HEADERS += qvfbx11view.h \ x11keyfaker.h \ qtopiakeysym.h SOURCES += qvfbx11view.cpp \ x11keyfaker.cpp LIBS += -lXtst } RESOURCES += qvfb.qrc