2014-07-07 00:38:05 +08:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2014-06-22T14:07:35
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2014-07-07 00:19:45 +08:00
|
|
|
# This file is part of qTox, a Qt-based graphical interface for Tox.
|
|
|
|
#
|
|
|
|
# This program is libre software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# See the COPYING file for more details.
|
|
|
|
|
|
|
|
|
2015-02-05 05:19:43 +08:00
|
|
|
QT += core gui network xml opengl sql svg
|
2014-07-07 00:38:05 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
2014-07-16 00:04:26 +08:00
|
|
|
TARGET = qtox
|
2014-07-07 00:38:05 +08:00
|
|
|
TEMPLATE = app
|
2014-08-11 16:00:08 +08:00
|
|
|
FORMS += \
|
2015-06-20 18:59:46 +08:00
|
|
|
src/android.ui \
|
|
|
|
src/loginscreen.ui \
|
2014-10-08 12:26:25 +08:00
|
|
|
src/mainwindow.ui \
|
2015-06-20 18:59:46 +08:00
|
|
|
src/chatlog/content/filetransferwidget.ui \
|
2015-03-11 23:15:53 +08:00
|
|
|
src/widget/form/profileform.ui \
|
2014-10-19 01:38:47 +08:00
|
|
|
src/widget/form/loadhistorydialog.ui \
|
2014-11-13 00:30:55 +08:00
|
|
|
src/widget/form/setpassworddialog.ui \
|
2015-06-20 18:59:46 +08:00
|
|
|
src/widget/form/settings/aboutsettings.ui \
|
2015-02-07 19:46:55 +08:00
|
|
|
src/widget/form/settings/advancedsettings.ui \
|
2015-06-20 18:59:46 +08:00
|
|
|
src/widget/form/settings/avsettings.ui \
|
|
|
|
src/widget/form/settings/generalsettings.ui \
|
2015-08-22 17:05:16 +08:00
|
|
|
src/widget/form/settings/privacysettings.ui \
|
|
|
|
src/widget/form/removefrienddialog.ui
|
2015-06-20 18:59:46 +08:00
|
|
|
|
2014-07-07 00:38:05 +08:00
|
|
|
CONFIG += c++11
|
|
|
|
|
2015-06-10 07:42:51 +08:00
|
|
|
QMAKE_CXXFLAGS += -fno-exceptions
|
2015-05-15 03:52:13 +08:00
|
|
|
|
2014-11-07 21:08:02 +08:00
|
|
|
# Rules for creating/updating {ts|qm}-files
|
|
|
|
include(translations/i18n.pri)
|
2014-11-08 20:27:30 +08:00
|
|
|
# Build all the qm files now, to make RCC happy
|
|
|
|
system($$fromfile(translations/i18n.pri, updateallqm))
|
2014-07-07 00:38:05 +08:00
|
|
|
|
2014-11-01 13:27:10 +08:00
|
|
|
GIT_VERSION = $$system(git rev-parse HEAD 2> /dev/null || echo "built without git")
|
2014-11-01 14:17:50 +08:00
|
|
|
DEFINES += GIT_VERSION=\"\\\"$$quote($$GIT_VERSION)\\\"\"
|
2014-11-15 01:12:00 +08:00
|
|
|
# date works on linux/mac, but it would hangs qmake on windows
|
|
|
|
# This hack returns 0 on batch (windows), but executes "date +%s" or return 0 if it fails on bash (linux/mac)
|
|
|
|
TIMESTAMP = $$system($1 2>null||echo 0||a;rm null;date +%s||echo 0) # I'm so sorry
|
2014-11-13 20:59:04 +08:00
|
|
|
DEFINES += TIMESTAMP=$$TIMESTAMP
|
2014-11-01 13:27:10 +08:00
|
|
|
DEFINES += LOG_TO_FILE
|
2015-05-10 22:08:09 +08:00
|
|
|
DEFINES += QT_MESSAGELOGCONTEXT
|
2014-12-03 05:03:29 +08:00
|
|
|
|
2015-02-06 08:27:07 +08:00
|
|
|
android {
|
|
|
|
ANDROID_TOOLCHAIN=/opt/android/toolchain-r9d-17/
|
|
|
|
INCLUDEPATH += $$ANDROID_TOOLCHAIN/include/
|
2015-02-23 00:25:46 +08:00
|
|
|
LIBS += -L$$PWD/libs/lib -L$$ANDROID_TOOLCHAIN/lib
|
2015-02-06 08:27:07 +08:00
|
|
|
|
|
|
|
DISABLE_PLATFORM_EXT=YES
|
|
|
|
DISABLE_FILTER_AUDIO=YES
|
|
|
|
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
|
|
|
contains(ANDROID_TARGET_ARCH,armeabi) {
|
2015-02-23 01:22:53 +08:00
|
|
|
exists($$ANDROID_TOOLCHAIN/lib/libopenal.so) {
|
|
|
|
ANDROID_EXTRA_LIBS = $$ANDROID_TOOLCHAIN/lib/libopenal.so
|
|
|
|
} else {
|
|
|
|
exists($$PWD/libs/lib/libopenal.so) {
|
|
|
|
ANDROID_EXTRA_LIBS = $$PWD/libs/lib/libopenal.so
|
|
|
|
} else {
|
|
|
|
error(Can\'t find libopenal.so)
|
|
|
|
}}
|
2015-02-06 08:27:07 +08:00
|
|
|
}
|
2015-02-23 01:22:53 +08:00
|
|
|
|
2015-02-23 06:32:14 +08:00
|
|
|
RESOURCES += android.qrc
|
2015-02-23 06:50:06 +08:00
|
|
|
|
|
|
|
HEADERS += src/widget/androidgui.h
|
|
|
|
|
|
|
|
SOURCES += src/widget/androidgui.cpp
|
2015-02-26 02:36:06 +08:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/gradlew.bat \
|
|
|
|
android/res/values/libs.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew
|
2015-02-06 08:27:07 +08:00
|
|
|
}
|
|
|
|
|
2014-12-03 05:03:29 +08:00
|
|
|
contains(DISABLE_PLATFORM_EXT, YES) {
|
|
|
|
|
|
|
|
} else {
|
|
|
|
DEFINES += QTOX_PLATFORM_EXT
|
|
|
|
}
|
2014-10-18 15:47:42 +08:00
|
|
|
|
2014-12-17 08:50:28 +08:00
|
|
|
contains(DISABLE_FILTER_AUDIO, YES) {
|
|
|
|
|
|
|
|
} else {
|
|
|
|
DEFINES += QTOX_FILTER_AUDIO
|
|
|
|
}
|
|
|
|
|
2015-03-02 19:38:42 +08:00
|
|
|
contains(HIGH_DPI, YES) {
|
|
|
|
QT_DEVICE_PIXEL_RATIO= auto
|
|
|
|
DEFINES += HIGH_DPI
|
|
|
|
}
|
|
|
|
|
2014-09-02 02:33:04 +08:00
|
|
|
contains(JENKINS,YES) {
|
2015-06-18 03:45:03 +08:00
|
|
|
INCLUDEPATH += ./libs/include/
|
2014-09-02 02:33:04 +08:00
|
|
|
} else {
|
2015-06-18 03:45:03 +08:00
|
|
|
INCLUDEPATH += libs/include
|
2014-09-02 02:33:04 +08:00
|
|
|
}
|
2014-08-31 17:39:29 +08:00
|
|
|
|
2015-02-23 08:00:25 +08:00
|
|
|
contains(DEFINES, QTOX_FILTER_AUDIO) {
|
2015-06-06 07:44:47 +08:00
|
|
|
HEADERS += src/audio/audiofilterer.h
|
|
|
|
SOURCES += src/audio/audiofilterer.cpp
|
2015-02-23 08:00:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
contains(DEFINES, QTOX_PLATFORM_EXT) {
|
|
|
|
HEADERS += src/platform/timer.h
|
|
|
|
SOURCES += src/platform/timer_osx.cpp \
|
|
|
|
src/platform/timer_win.cpp \
|
|
|
|
src/platform/timer_x11.cpp
|
|
|
|
|
|
|
|
HEADERS += src/platform/autorun.h
|
|
|
|
SOURCES += src/platform/autorun_win.cpp \
|
|
|
|
src/platform/autorun_xdg.cpp \
|
|
|
|
src/platform/autorun_osx.cpp
|
|
|
|
}
|
|
|
|
|
2014-08-31 17:39:29 +08:00
|
|
|
# Rules for Windows, Mac OSX, and Linux
|
2014-07-07 00:38:05 +08:00
|
|
|
win32 {
|
2014-10-26 23:35:42 +08:00
|
|
|
RC_FILE = windows/qtox.rc
|
2015-06-18 03:45:03 +08:00
|
|
|
LIBS += -L$$PWD/libs/lib -ltoxav -ltoxcore -ltoxencryptsave -ltoxdns -lsodium -lvpx -lpthread
|
|
|
|
LIBS += -L$$PWD/libs/lib -lavformat -lavdevice -lavcodec -lavutil -lswscale -lOpenAL32 -lopus
|
2015-05-16 05:01:38 +08:00
|
|
|
LIBS += -lopengl32 -lole32 -loleaut32 -lvfw32 -lws2_32 -liphlpapi -lz -luuid
|
2015-03-07 20:41:45 +08:00
|
|
|
LIBS += -lqrencode
|
2015-05-16 05:01:38 +08:00
|
|
|
LIBS += -lstrmiids # For DirectShow
|
2015-01-04 07:42:42 +08:00
|
|
|
contains(DEFINES, QTOX_FILTER_AUDIO) {
|
|
|
|
contains(STATICPKG, YES) {
|
|
|
|
LIBS += -Wl,-Bstatic -lfilteraudio
|
|
|
|
} else {
|
|
|
|
LIBS += -lfilteraudio
|
|
|
|
}
|
|
|
|
}
|
2014-07-07 00:38:05 +08:00
|
|
|
} else {
|
2014-09-08 06:41:21 +08:00
|
|
|
macx {
|
2015-09-19 15:55:28 +08:00
|
|
|
BUNDLEID = chat.tox.qtox
|
2014-10-22 22:05:04 +08:00
|
|
|
ICON = img/icons/qtox.icns
|
2014-11-15 09:30:47 +08:00
|
|
|
QMAKE_INFO_PLIST = osx/info.plist
|
2015-02-24 09:39:32 +08:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
|
2015-05-14 10:46:28 +08:00
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -ltoxencryptsave -ltoxdns -lsodium -lvpx -lopus -framework OpenAL -lavformat -lavdevice -lavcodec -lavutil -lswscale -mmacosx-version-min=10.7
|
2015-03-07 20:41:45 +08:00
|
|
|
LIBS += -lqrencode
|
2014-12-03 05:03:29 +08:00
|
|
|
contains(DEFINES, QTOX_PLATFORM_EXT) { LIBS += -framework IOKit -framework CoreFoundation }
|
2014-12-18 06:49:17 +08:00
|
|
|
contains(DEFINES, QTOX_FILTER_AUDIO) { LIBS += -lfilteraudio }
|
2014-08-31 17:39:29 +08:00
|
|
|
} else {
|
2015-02-06 08:27:07 +08:00
|
|
|
android {
|
|
|
|
LIBS += -ltoxcore -ltoxav -ltoxencryptsave -ltoxdns
|
2015-05-14 10:46:28 +08:00
|
|
|
LIBS += -llibjpeg -llibwebp -llibpng -llibtiff -llibjasper -lIlmImf
|
2015-02-06 08:27:07 +08:00
|
|
|
LIBS += -lopus -lvpx -lsodium -lopenal
|
2014-09-08 06:41:21 +08:00
|
|
|
} else {
|
2015-02-06 08:27:07 +08:00
|
|
|
# If we're building a package, static link libtox[core,av] and libsodium, since they are not provided by any package
|
2014-12-17 08:50:28 +08:00
|
|
|
contains(STATICPKG, YES) {
|
2015-02-06 08:27:07 +08:00
|
|
|
target.path = /usr/bin
|
|
|
|
INSTALLS += target
|
2015-05-14 10:46:28 +08:00
|
|
|
LIBS += -L$$PWD/libs/lib/ -lopus -lvpx -lopenal -Wl,-Bstatic -ltoxcore -ltoxav -ltoxencryptsave -ltoxdns -lsodium -lavformat -lavdevice -lavcodec -lavutil -lswscale -lz -Wl,-Bdynamic
|
2015-02-06 08:27:07 +08:00
|
|
|
LIBS += -Wl,-Bstatic -ljpeg -ltiff -lpng -ljasper -lIlmImf -lIlmThread -lIex -ldc1394 -lraw1394 -lHalf -lz -llzma -ljbig
|
|
|
|
LIBS += -Wl,-Bdynamic -lv4l1 -lv4l2 -lavformat -lavcodec -lavutil -lswscale -lusb-1.0
|
2015-03-07 20:41:45 +08:00
|
|
|
LIBS += -lqrencode
|
2014-12-17 08:50:28 +08:00
|
|
|
} else {
|
2015-05-14 10:46:28 +08:00
|
|
|
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -ltoxencryptsave -ltoxdns -lvpx -lsodium -lopenal -lavformat -lavdevice -lavcodec -lavutil -lswscale
|
2015-03-07 20:41:45 +08:00
|
|
|
LIBS += -lqrencode
|
2015-02-06 08:27:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
contains(DEFINES, QTOX_PLATFORM_EXT) {
|
|
|
|
LIBS += -lX11 -lXss
|
2014-12-17 08:50:28 +08:00
|
|
|
}
|
|
|
|
|
2015-02-06 08:27:07 +08:00
|
|
|
contains(DEFINES, QTOX_FILTER_AUDIO) {
|
|
|
|
contains(STATICPKG, YES) {
|
|
|
|
LIBS += -Wl,-Bstatic -lfilteraudio
|
|
|
|
} else {
|
|
|
|
LIBS += -lfilteraudio
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
contains(JENKINS, YES) {
|
2015-06-27 07:52:57 +08:00
|
|
|
LIBS = ./libs/lib/libtoxav.a ./libs/lib/libvpx.a ./libs/lib/libopus.a ./libs/lib/libtoxdns.a ./libs/lib/libtoxencryptsave.a ./libs/lib/libtoxcore.a ./libs/lib/libopenal.a ./libs/lib/libsodium.a ./libs/lib/libfilteraudio.a ./libs/lib/libavformat-ffmpeg.so ./libs/lib/libavdevice-ffmpeg.so ./libs/lib/libavcodec-ffmpeg.so ./libs/lib/libavutil-ffmpeg.so ./libs/lib/libswscale-ffmpeg.so -ldl -lX11 -lXss -lqrencode
|
2015-02-18 16:03:18 +08:00
|
|
|
contains(ENABLE_SYSTRAY_UNITY_BACKEND, YES) {
|
|
|
|
LIBS += -lgobject-2.0 -lappindicator -lgtk-x11-2.0
|
|
|
|
}
|
|
|
|
LIBS += -s
|
2015-02-06 08:27:07 +08:00
|
|
|
}
|
2014-09-08 06:41:21 +08:00
|
|
|
}
|
2014-09-02 02:33:04 +08:00
|
|
|
}
|
2014-07-07 00:38:05 +08:00
|
|
|
}
|
|
|
|
|
2015-02-24 03:18:03 +08:00
|
|
|
# The systray Unity backend implements the system tray icon on Unity (Ubuntu) and GNOME desktops.
|
|
|
|
unix:!macx:!android {
|
2015-02-26 00:48:43 +08:00
|
|
|
contains(ENABLE_SYSTRAY_UNITY_BACKEND, YES) {
|
2015-06-18 03:45:03 +08:00
|
|
|
DEFINES += ENABLE_SYSTRAY_UNITY_BACKEND
|
|
|
|
|
|
|
|
INCLUDEPATH += "/usr/include/glib-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/gtk-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/atk-1.0"
|
|
|
|
INCLUDEPATH += "/usr/include/cairo"
|
|
|
|
INCLUDEPATH += "/usr/include/ffmpeg"
|
|
|
|
INCLUDEPATH += "/usr/include/gdk-pixbuf-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/libappindicator-0.1"
|
|
|
|
INCLUDEPATH += "/usr/include/libdbusmenu-glib-0.4"
|
|
|
|
INCLUDEPATH += "/usr/include/pango-1.0"
|
|
|
|
equals(QT_ARCH, x86_64) {
|
|
|
|
INCLUDEPATH += "/usr/lib64/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib64/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
INCLUDEPATH += "/usr/lib/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
|
|
|
|
LIBS += -lgobject-2.0 -lappindicator -lgtk-x11-2.0
|
2015-02-24 03:18:03 +08:00
|
|
|
}
|
2015-02-26 00:50:34 +08:00
|
|
|
}
|
2015-02-24 03:18:03 +08:00
|
|
|
|
|
|
|
# The systray Status Notifier backend implements the system tray icon on KDE and compatible desktops
|
2015-02-23 07:01:57 +08:00
|
|
|
unix:!macx:!android {
|
|
|
|
contains(ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND, NO) {
|
|
|
|
} else {
|
2015-06-18 03:45:03 +08:00
|
|
|
DEFINES += ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND
|
|
|
|
|
|
|
|
INCLUDEPATH += "/usr/include/glib-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/gtk-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/atk-1.0"
|
|
|
|
INCLUDEPATH += "/usr/include/cairo"
|
|
|
|
INCLUDEPATH += "/usr/include/ffmpeg"
|
|
|
|
INCLUDEPATH += "/usr/include/gdk-pixbuf-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/pango-1.0"
|
|
|
|
equals(QT_ARCH, x86_64) {
|
|
|
|
INCLUDEPATH += "/usr/lib64/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib64/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
INCLUDEPATH += "/usr/lib/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LIBS += -lglib-2.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lcairo -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0
|
2015-02-23 07:01:57 +08:00
|
|
|
|
|
|
|
SOURCES += src/platform/statusnotifier/closures.c \
|
|
|
|
src/platform/statusnotifier/enums.c \
|
|
|
|
src/platform/statusnotifier/statusnotifier.c
|
|
|
|
|
|
|
|
HEADERS += src/platform/statusnotifier/closures.h \
|
|
|
|
src/platform/statusnotifier/enums.h \
|
|
|
|
src/platform/statusnotifier/interfaces.h \
|
|
|
|
src/platform/statusnotifier/statusnotifier.h
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-25 06:27:08 +08:00
|
|
|
# The systray GTK backend implements a system tray icon compatible with many systems
|
|
|
|
unix:!macx:!android {
|
|
|
|
contains(ENABLE_SYSTRAY_GTK_BACKEND, NO) {
|
|
|
|
} else {
|
2015-06-18 03:45:03 +08:00
|
|
|
DEFINES += ENABLE_SYSTRAY_GTK_BACKEND
|
|
|
|
|
|
|
|
INCLUDEPATH += "/usr/include/glib-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/gtk-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/atk-1.0"
|
|
|
|
INCLUDEPATH += "/usr/include/gdk-pixbuf-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/cairo"
|
|
|
|
INCLUDEPATH += "/usr/include/pango-1.0"
|
|
|
|
equals(QT_ARCH, x86_64) {
|
|
|
|
INCLUDEPATH += "/usr/lib64/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib64/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
INCLUDEPATH += "/usr/lib/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/gtk-2.0/include"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LIBS += -lglib-2.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lcairo -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0
|
2015-02-25 06:27:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-23 08:00:25 +08:00
|
|
|
!android {
|
2015-02-26 02:36:06 +08:00
|
|
|
RESOURCES += res.qrc \
|
|
|
|
smileys/smileys.qrc
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/friend.h \
|
|
|
|
src/group.h \
|
|
|
|
src/grouplist.h \
|
|
|
|
src/friendlist.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/smileypack.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/emoticonswidget.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/widget/style.h \
|
|
|
|
src/widget/tool/croppinglabel.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/maskablepixmapwidget.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/video/videosurface.h \
|
|
|
|
src/net/toxuri.h \
|
|
|
|
src/net/toxdns.h \
|
|
|
|
src/persistence/toxsave.h \
|
|
|
|
src/persistence/serialize.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/chatlog/chatlog.h \
|
|
|
|
src/chatlog/chatline.h \
|
|
|
|
src/chatlog/chatlinecontent.h \
|
|
|
|
src/chatlog/chatlinecontentproxy.h \
|
|
|
|
src/chatlog/content/text.h \
|
|
|
|
src/chatlog/content/spinner.h \
|
|
|
|
src/chatlog/content/filetransferwidget.h \
|
|
|
|
src/chatlog/chatmessage.h \
|
|
|
|
src/chatlog/content/image.h \
|
|
|
|
src/chatlog/customtextdocument.h \
|
2015-06-20 18:59:46 +08:00
|
|
|
src/widget/form/settings/aboutform.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/settings/advancedform.h \
|
|
|
|
src/chatlog/content/notificationicon.h \
|
|
|
|
src/chatlog/content/timestamp.h \
|
|
|
|
src/chatlog/documentcache.h \
|
|
|
|
src/chatlog/pixmapcache.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/offlinemsgengine.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/addfriendform.h \
|
|
|
|
src/widget/form/chatform.h \
|
|
|
|
src/widget/form/groupchatform.h \
|
|
|
|
src/widget/form/settingswidget.h \
|
|
|
|
src/widget/form/settings/genericsettings.h \
|
|
|
|
src/widget/form/settings/generalform.h \
|
|
|
|
src/widget/form/settings/privacyform.h \
|
|
|
|
src/widget/form/settings/avform.h \
|
|
|
|
src/widget/form/filesform.h \
|
2015-03-04 04:29:01 +08:00
|
|
|
src/widget/form/profileform.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/tool/chattextedit.h \
|
|
|
|
src/widget/tool/friendrequestdialog.h \
|
|
|
|
src/widget/friendwidget.h \
|
|
|
|
src/widget/groupwidget.h \
|
|
|
|
src/widget/widget.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/video/netcamview.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/friendlistwidget.h \
|
|
|
|
src/widget/genericchatroomwidget.h \
|
|
|
|
src/widget/form/genericchatform.h \
|
2015-06-06 08:16:52 +08:00
|
|
|
src/widget/tool/adjustingscrollarea.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/loadhistorydialog.h \
|
|
|
|
src/widget/form/setpassworddialog.h \
|
|
|
|
src/widget/form/tabcompleter.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/net/autoupdate.h \
|
|
|
|
src/widget/tool/callconfirmwidget.h \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/systemtrayicon.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/widget/qrwidget.h \
|
2015-06-04 01:19:13 +08:00
|
|
|
src/widget/systemtrayicon_private.h \
|
2015-10-15 01:53:46 +08:00
|
|
|
src/widget/loginscreen.h \
|
|
|
|
src/ipc.h
|
2015-02-26 02:36:06 +08:00
|
|
|
|
2015-05-16 05:01:38 +08:00
|
|
|
SOURCES += \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/addfriendform.cpp \
|
|
|
|
src/widget/form/settingswidget.cpp \
|
|
|
|
src/widget/form/settings/generalform.cpp \
|
|
|
|
src/widget/form/settings/privacyform.cpp \
|
|
|
|
src/widget/form/settings/avform.cpp \
|
2015-03-04 04:29:01 +08:00
|
|
|
src/widget/form/profileform.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/filesform.cpp \
|
|
|
|
src/widget/tool/chattextedit.cpp \
|
|
|
|
src/widget/tool/friendrequestdialog.cpp \
|
|
|
|
src/widget/widget.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/video/netcamview.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/friendlistwidget.cpp \
|
2015-06-06 08:16:52 +08:00
|
|
|
src/widget/tool/adjustingscrollarea.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/loadhistorydialog.cpp \
|
|
|
|
src/widget/form/setpassworddialog.cpp \
|
|
|
|
src/widget/form/tabcompleter.cpp \
|
2015-08-19 05:44:34 +08:00
|
|
|
src/widget/flowlayout.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/net/autoupdate.cpp \
|
|
|
|
src/widget/tool/callconfirmwidget.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/systemtrayicon.cpp \
|
|
|
|
src/widget/groupwidget.cpp \
|
|
|
|
src/widget/friendwidget.cpp \
|
|
|
|
src/widget/form/chatform.cpp \
|
|
|
|
src/widget/form/groupchatform.cpp \
|
|
|
|
src/widget/form/genericchatform.cpp \
|
|
|
|
src/friend.cpp \
|
|
|
|
src/friendlist.cpp \
|
|
|
|
src/group.cpp \
|
|
|
|
src/grouplist.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/smileypack.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/emoticonswidget.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/widget/style.cpp \
|
|
|
|
src/widget/tool/croppinglabel.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/maskablepixmapwidget.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/video/videosurface.cpp \
|
|
|
|
src/net/toxuri.cpp \
|
|
|
|
src/net/toxdns.cpp \
|
|
|
|
src/persistence/toxsave.cpp \
|
|
|
|
src/persistence/serialize.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/chatlog/chatlog.cpp \
|
|
|
|
src/chatlog/chatline.cpp \
|
|
|
|
src/chatlog/chatlinecontent.cpp \
|
|
|
|
src/chatlog/chatlinecontentproxy.cpp \
|
|
|
|
src/chatlog/content/text.cpp \
|
|
|
|
src/chatlog/content/spinner.cpp \
|
|
|
|
src/chatlog/content/filetransferwidget.cpp \
|
|
|
|
src/chatlog/chatmessage.cpp \
|
|
|
|
src/chatlog/content/image.cpp \
|
|
|
|
src/chatlog/customtextdocument.cpp\
|
2015-06-20 18:59:46 +08:00
|
|
|
src/widget/form/settings/aboutform.cpp \
|
2015-02-26 02:36:06 +08:00
|
|
|
src/widget/form/settings/advancedform.cpp \
|
|
|
|
src/chatlog/content/notificationicon.cpp \
|
|
|
|
src/chatlog/content/timestamp.cpp \
|
|
|
|
src/chatlog/documentcache.cpp \
|
|
|
|
src/chatlog/pixmapcache.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/offlinemsgengine.cpp \
|
|
|
|
src/widget/qrwidget.cpp \
|
2015-06-04 01:19:13 +08:00
|
|
|
src/widget/genericchatroomwidget.cpp \
|
2015-10-15 01:53:46 +08:00
|
|
|
src/widget/loginscreen.cpp \
|
|
|
|
src/ipc.cpp
|
2014-12-14 16:50:18 +08:00
|
|
|
}
|
|
|
|
|
2015-05-16 05:01:38 +08:00
|
|
|
win32 {
|
|
|
|
HEADERS += \
|
|
|
|
src/platform/camera/directshow.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/platform/camera/directshow.cpp
|
|
|
|
}
|
|
|
|
|
2015-06-05 03:18:31 +08:00
|
|
|
unix:!macx {
|
2015-06-01 23:11:54 +08:00
|
|
|
HEADERS += \
|
|
|
|
src/platform/camera/v4l2.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/platform/camera/v4l2.cpp
|
|
|
|
}
|
|
|
|
|
2015-06-05 18:44:22 +08:00
|
|
|
macx {
|
|
|
|
SOURCES += \
|
|
|
|
src/platform/install_osx.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/platform/install_osx.h
|
|
|
|
}
|
|
|
|
|
2015-02-23 08:00:25 +08:00
|
|
|
SOURCES += \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/audio/audio.cpp \
|
|
|
|
src/persistence/historykeeper.cpp \
|
2015-02-23 08:00:25 +08:00
|
|
|
src/main.cpp \
|
|
|
|
src/nexus.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/core/cdata.cpp \
|
|
|
|
src/core/cstring.cpp \
|
|
|
|
src/persistence/settings.cpp \
|
|
|
|
src/persistence/db/genericddinterface.cpp \
|
|
|
|
src/persistence/db/plaindb.cpp \
|
|
|
|
src/persistence/db/encrypteddb.cpp \
|
2015-02-23 08:00:25 +08:00
|
|
|
src/video/videoframe.cpp \
|
|
|
|
src/widget/gui.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/net/toxme.cpp \
|
2015-04-24 08:32:09 +08:00
|
|
|
src/core/core.cpp \
|
|
|
|
src/core/coreav.cpp \
|
|
|
|
src/core/coreencryption.cpp \
|
|
|
|
src/core/corefile.cpp \
|
|
|
|
src/core/corestructs.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/profilelocker.cpp \
|
|
|
|
src/net/avatarbroadcaster.cpp \
|
2015-03-10 01:32:30 +08:00
|
|
|
src/widget/tool/screenshotgrabber.cpp \
|
|
|
|
src/widget/tool/screengrabberchooserrectitem.cpp \
|
|
|
|
src/widget/tool/screengrabberoverlayitem.cpp \
|
2015-03-25 09:48:26 +08:00
|
|
|
src/widget/tool/toolboxgraphicsitem.cpp \
|
2015-05-11 05:40:08 +08:00
|
|
|
src/widget/tool/flyoutoverlaywidget.cpp \
|
2015-05-18 02:17:14 +08:00
|
|
|
src/widget/form/settings/verticalonlyscroller.cpp \
|
2015-05-14 10:46:28 +08:00
|
|
|
src/video/cameradevice.cpp \
|
|
|
|
src/video/camerasource.cpp \
|
|
|
|
src/video/corevideosource.cpp \
|
2015-06-04 05:20:47 +08:00
|
|
|
src/core/toxid.cpp \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/profile.cpp \
|
2015-06-06 21:54:58 +08:00
|
|
|
src/widget/translator.cpp \
|
2015-06-09 05:21:03 +08:00
|
|
|
src/persistence/settingsserializer.cpp \
|
|
|
|
src/widget/notificationscrollarea.cpp \
|
2015-05-28 01:17:12 +08:00
|
|
|
src/widget/notificationedgewidget.cpp \
|
2015-05-28 08:45:23 +08:00
|
|
|
src/widget/circlewidget.cpp \
|
|
|
|
src/widget/genericchatitemwidget.cpp \
|
2015-06-05 00:30:24 +08:00
|
|
|
src/widget/friendlistlayout.cpp \
|
2015-06-12 03:27:54 +08:00
|
|
|
src/widget/genericchatitemlayout.cpp \
|
2015-08-22 17:05:16 +08:00
|
|
|
src/widget/categorywidget.cpp \
|
2015-06-17 02:25:19 +08:00
|
|
|
src/widget/tool/removefrienddialog.cpp \
|
2015-06-19 22:58:48 +08:00
|
|
|
src/widget/contentlayout.cpp \
|
2015-07-30 07:46:19 +08:00
|
|
|
src/widget/contentdialog.cpp \
|
2015-10-10 20:49:30 +08:00
|
|
|
src/widget/tool/activatedialog.cpp \
|
2015-08-19 01:40:11 +08:00
|
|
|
src/widget/tool/movablewidget.cpp \
|
|
|
|
src/video/genericnetcamview.cpp \
|
|
|
|
src/video/groupnetcamview.cpp
|
2014-12-17 21:44:23 +08:00
|
|
|
|
2015-02-23 08:00:25 +08:00
|
|
|
HEADERS += \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/audio/audio.h \
|
2015-04-24 08:32:09 +08:00
|
|
|
src/core/core.h \
|
|
|
|
src/core/coreav.h \
|
|
|
|
src/core/coredefines.h \
|
|
|
|
src/core/corefile.h \
|
|
|
|
src/core/corestructs.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/historykeeper.h \
|
2015-02-23 08:00:25 +08:00
|
|
|
src/nexus.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/core/cdata.h \
|
|
|
|
src/core/cstring.h \
|
|
|
|
src/persistence/settings.h \
|
|
|
|
src/persistence/db/genericddinterface.h \
|
|
|
|
src/persistence/db/plaindb.h \
|
|
|
|
src/persistence/db/encrypteddb.h \
|
2015-02-23 08:00:25 +08:00
|
|
|
src/video/videoframe.h \
|
|
|
|
src/video/videosource.h \
|
|
|
|
src/widget/gui.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/net/toxme.h \
|
|
|
|
src/persistence/profilelocker.h \
|
|
|
|
src/net/avatarbroadcaster.h \
|
2015-03-10 01:32:30 +08:00
|
|
|
src/widget/tool/screenshotgrabber.h \
|
2015-03-25 09:48:26 +08:00
|
|
|
src/widget/tool/screengrabberchooserrectitem.h \
|
|
|
|
src/widget/tool/screengrabberoverlayitem.h \
|
|
|
|
src/widget/tool/toolboxgraphicsitem.h \
|
2015-05-11 05:40:08 +08:00
|
|
|
src/widget/tool/flyoutoverlaywidget.h \
|
2015-05-18 02:17:14 +08:00
|
|
|
src/widget/form/settings/verticalonlyscroller.h \
|
2015-05-14 10:46:28 +08:00
|
|
|
src/video/cameradevice.h \
|
|
|
|
src/video/camerasource.h \
|
|
|
|
src/video/corevideosource.h \
|
2015-05-16 10:01:38 +08:00
|
|
|
src/video/videomode.h \
|
2015-06-04 05:20:47 +08:00
|
|
|
src/core/toxid.h \
|
2015-06-06 07:44:47 +08:00
|
|
|
src/persistence/profile.h \
|
2015-06-06 21:54:58 +08:00
|
|
|
src/widget/translator.h \
|
2015-06-09 05:21:03 +08:00
|
|
|
src/persistence/settingsserializer.h \
|
|
|
|
src/widget/notificationscrollarea.h \
|
2015-05-28 01:17:12 +08:00
|
|
|
src/widget/notificationedgewidget.h \
|
2015-05-28 08:45:23 +08:00
|
|
|
src/widget/circlewidget.h \
|
|
|
|
src/widget/genericchatitemwidget.h \
|
2015-06-02 02:39:40 +08:00
|
|
|
src/widget/friendlistlayout.h \
|
2015-06-18 03:45:03 +08:00
|
|
|
src/widget/genericchatitemlayout.h \
|
2015-08-22 17:05:16 +08:00
|
|
|
src/widget/categorywidget.h \
|
2015-06-17 02:25:19 +08:00
|
|
|
src/widget/contentlayout.h \
|
2015-06-19 22:58:48 +08:00
|
|
|
src/widget/contentdialog.h \
|
2015-07-30 07:46:19 +08:00
|
|
|
src/widget/tool/activatedialog.h \
|
2015-10-10 20:49:30 +08:00
|
|
|
src/widget/tool/removefrienddialog.h \
|
2015-08-19 01:40:11 +08:00
|
|
|
src/widget/tool/movablewidget.h \
|
|
|
|
src/video/genericnetcamview.h \
|
|
|
|
src/video/groupnetcamview.h
|