2014-06-30 05:41:47 +08:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2014-06-22T14:07:35
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui multimedia multimediawidgets
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TARGET = toxgui
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
HEADERS += widget/form/addfriendform.h \
|
|
|
|
widget/form/chatform.h \
|
|
|
|
widget/form/groupchatform.h \
|
|
|
|
widget/form/settingsform.h \
|
|
|
|
widget/tool/chattextedit.h \
|
|
|
|
widget/tool/copyableelidelabel.h \
|
|
|
|
widget/tool/editablelabelwidget.h \
|
|
|
|
widget/tool/elidelabel.h \
|
|
|
|
widget/tool/esclineedit.h \
|
|
|
|
widget/tool/friendrequestdialog.h \
|
|
|
|
widget/filetransfertwidget.h \
|
|
|
|
widget/friendwidget.h \
|
|
|
|
widget/groupwidget.h \
|
|
|
|
widget/widget.h \
|
|
|
|
friend.h \
|
|
|
|
group.h \
|
|
|
|
grouplist.h \
|
|
|
|
settings.h \
|
|
|
|
status.h \
|
|
|
|
core.h \
|
|
|
|
friendlist.h \
|
|
|
|
cdata.h \
|
|
|
|
cstring.h \
|
|
|
|
audiobuffer.h \
|
|
|
|
widget/selfcamview.h \
|
|
|
|
widget/videosurface.h \
|
|
|
|
widget/camera.h
|
|
|
|
|
|
|
|
FORMS += widget.ui
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
res.qrc
|
|
|
|
|
|
|
|
LIBS += -ltoxcore -ltoxav -lsodium -lvpx
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
widget/form/addfriendform.cpp \
|
|
|
|
widget/form/chatform.cpp \
|
|
|
|
widget/form/groupchatform.cpp \
|
|
|
|
widget/form/settingsform.cpp \
|
|
|
|
widget/tool/chattextedit.cpp \
|
|
|
|
widget/tool/copyableelidelabel.cpp \
|
|
|
|
widget/tool/editablelabelwidget.cpp \
|
|
|
|
widget/tool/elidelabel.cpp \
|
|
|
|
widget/tool/esclineedit.cpp \
|
|
|
|
widget/tool/friendrequestdialog.cpp \
|
|
|
|
widget/filetransfertwidget.cpp \
|
|
|
|
widget/friendwidget.cpp \
|
|
|
|
widget/groupwidget.cpp \
|
|
|
|
widget/widget.cpp \
|
|
|
|
core.cpp \
|
|
|
|
friend.cpp \
|
|
|
|
friendlist.cpp \
|
|
|
|
group.cpp \
|
|
|
|
grouplist.cpp \
|
|
|
|
main.cpp \
|
|
|
|
settings.cpp \
|
|
|
|
status.cpp \
|
|
|
|
cdata.cpp \
|
|
|
|
cstring.cpp \
|
|
|
|
audiobuffer.cpp \
|
|
|
|
widget/selfcamview.cpp \
|
|
|
|
widget/videosurface.cpp \
|
|
|
|
widget/camera.cpp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### EXAMPLE BUILD SETTINGS FOR WINDOWS
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -ltoxcore
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
|
|
|
#DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/toxcore.lib
|
|
|
|
#else:win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/libtoxcore.a
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -ltoxav
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
|
|
|
#DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/toxav.lib
|
|
|
|
#else:win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/libtoxav.a
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lvpx
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
|
|
|
#DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/vpx.lib
|
|
|
|
#else:win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/libvpx.a
|
2014-06-30 05:41:47 +08:00
|
|
|
|
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lopus
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
|
|
|
#DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/opus.lib
|
|
|
|
#else:win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/libopus.a
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -lws2_32
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lsodium
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
|
|
|
#DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
2014-06-30 05:41:47 +08:00
|
|
|
|
2014-06-30 05:46:08 +08:00
|
|
|
#win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/sodium.lib
|
|
|
|
#else:win32-g++: PRE_TARGETDEPS += $$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/libsodium.a
|