Guest User

Untitled

a guest
Aug 14th, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.80 KB | None | 0 0
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2017-08-14T12:23:46
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT       += core gui
  8.  
  9. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  10.  
  11. TARGET = QTDlibXMLGenerator
  12. TEMPLATE = app
  13.  
  14. # The following define makes your compiler emit warnings if you use
  15. # any feature of Qt which as been marked as deprecated (the exact warnings
  16. # depend on your compiler). Please consult the documentation of the
  17. # deprecated API in order to know how to port your code away from it.
  18. DEFINES += QT_DEPRECATED_WARNINGS
  19.  
  20. # You can also make your code fail to compile if you use deprecated APIs.
  21. # In order to do so, uncomment the following line.
  22. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  23. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
  24.  
  25.  
  26. SOURCES += \
  27.         main.cpp \
  28.         mainwindow.cpp\
  29.         $$PWD/../../../../Desktop/ImageToCartoon/dlib-19.4/dlib/all/source.cpp
  30.  
  31.  
  32. HEADERS += \
  33.         mainwindow.h
  34.  
  35. FORMS += \
  36.         mainwindow.ui
  37.  
  38. QT_CONFIG -= no-pkg-config
  39. CONFIG  += link_pkgconfig
  40.  
  41.  
  42. macx: LIBS += -L$$PWD/../../../../Desktop/ImageToCartoon/dlib-19.4/examples/build/dlib_build/Debug/libdlib.a \
  43.                -pthread \
  44.                -L/opt/X11/lib/ -lX11 -L/usr/local/lib -lpthread \
  45.                -lpng -ljpeg
  46.  
  47. QMAKE_CXXFLAGS += -std=c++11 -DDLIB_PNG_SUPPORT -DDLIB_JPEG_SUPPORT
  48.  
  49. INCLUDEPATH += $$PWD/../../../../Desktop/ImageToCartoon/dlib-19.4/ \
  50.                 /opt/X11/include
  51. DEPENDPATH += $$PWD/../../../../Desktop/ImageToCartoon/dlib-19.4/ \
  52.                /opt/X11/include
  53.  
  54. macx: PRE_TARGETDEPS += $$PWD/../../../../Desktop/ImageToCartoon/dlib-19.4/examples/build/dlib_build/Debug/libdlib.a
Add Comment
Please, Sign In to add comment