mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Add exemple windows build config
This commit is contained in:
parent
036827086b
commit
b18acb2198
51
toxgui.pro
51
toxgui.pro
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
QT += core gui multimedia
|
QT += core gui multimedia multimediawidgets
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
|
@ -34,7 +34,8 @@ HEADERS += widget/form/addfriendform.h \
|
||||||
friendlist.h \
|
friendlist.h \
|
||||||
cdata.h \
|
cdata.h \
|
||||||
cstring.h \
|
cstring.h \
|
||||||
audiobuffer.h
|
audiobuffer.h \
|
||||||
|
widget/selfcamview.h
|
||||||
|
|
||||||
FORMS += widget.ui
|
FORMS += widget.ui
|
||||||
|
|
||||||
|
@ -70,4 +71,48 @@ SOURCES += \
|
||||||
status.cpp \
|
status.cpp \
|
||||||
cdata.cpp \
|
cdata.cpp \
|
||||||
cstring.cpp \
|
cstring.cpp \
|
||||||
audiobuffer.cpp
|
audiobuffer.cpp \
|
||||||
|
widget/selfcamview.cpp
|
||||||
|
|
||||||
|
win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -ltoxcore
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -ltoxav
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lvpx
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lopus
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
win32: LIBS += -lws2_32
|
||||||
|
|
||||||
|
win32: LIBS += -L$$PWD/../../../../Downloads/libtoxcore-win32-i686/lib/ -lsodium
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
DEPENDPATH += $$PWD/../../../../Downloads/libtoxcore-win32-i686/include
|
||||||
|
|
||||||
|
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
|
||||||
|
|
47
widget.ui
47
widget.ui
|
@ -27,16 +27,7 @@
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="leftMargin">
|
<property name="margin">
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin">
|
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
|
@ -502,16 +493,7 @@
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="leftMargin">
|
<property name="margin">
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin">
|
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
|
@ -972,6 +954,9 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="EditableLabelWidget" name="nameLabel">
|
<widget class="EditableLabelWidget" name="nameLabel">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>70</x>
|
<x>70</x>
|
||||||
|
@ -1980,16 +1965,7 @@
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="leftMargin">
|
<property name="margin">
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin">
|
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
|
@ -2526,16 +2502,7 @@
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="leftMargin">
|
<property name="margin">
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin">
|
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user