1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix maximizing disabled on windows

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-07-06 18:37:46 +02:00
parent 4dcccb8a08
commit 9da5741291
2 changed files with 14 additions and 117 deletions

View File

@ -1,103 +0,0 @@
#-------------------------------------------------
#
# Project created by QtCreator 2014-06-22T14:07:35
#
#-------------------------------------------------
QT += core gui network multimedia multimediawidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = toxgui
TEMPLATE = app
FORMS += widget.ui
CONFIG += c++11
TRANSLATIONS = translations/fr.ts \
translations/ru.ts \
translations/de.ts
RESOURCES += res.qrc
target.path = /usr/local/bin
INSTALLS += target
INCLUDEPATH += libs/include
win32 {
LIBS += $$PWD/libs/lib/libtoxav.a $$PWD/libs/lib/libopus.a $$PWD/libs/lib/libvpx.a $$PWD/libs/lib/libtoxcore.a -lws2_32 $$PWD/libs/lib/libsodium.a
} else {
LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -lsodium -lvpx
}
#### Static linux build
#LIBS += -Wl,-Bstatic -ltoxcore -ltoxav -lsodium -lvpx -lopus -lgstaudiodecoder -lgstcamerabin -lgstmediacapture \
# -lgstmediaplayer -lqgsttools_p -lgstaudio-0.10 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstpbutils-0.10 \
# -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 \
# -lqtaudio_alsa -lasound -lqtmultimedia_m3u \
# -lqtaccessiblewidgets -lqconnmanbearer -lqgenericbearer -lqnmbearer \
# -lqxcb -lX11-xcb -lXi -lxcb-render-util -lxcb-glx -lxcb-render -ldbus-1 \
# -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape \
# -lxcb-keysyms -lxcb-xkb -lfontconfig -lfreetype -lXrender -lXext -lX11 \
# -lmtdev -lqdds -lqicns -lqico -lqjp2 -lqmng -lqtga -lqtiff -lqwbmp -lqwebp \
# -lpng -lz -licui18n -licuuc -licudata -lm -ldl -lgthread-2.0 \
# -pthread -lglib-2.0 -lrt -lGL -lpthread -Wl,-Bdynamic
#QMAKE_CXXFLAGS += -Os -flto -static-libstdc++ -static-libgcc
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 \
core.h \
friendlist.h \
cdata.h \
cstring.h \
audiobuffer.h \
widget/selfcamview.h \
widget/videosurface.h \
widget/camera.h \
widget/netcamview.h \
widget/tool/clickablelabel.h
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 \
cdata.cpp \
cstring.cpp \
audiobuffer.cpp \
widget/selfcamview.cpp \
widget/videosurface.cpp \
widget/camera.cpp \
widget/netcamview.cpp \
widget/tool/clickablelabel.cpp

View File

@ -18,8 +18,8 @@
</property>
<property name="maximumSize">
<size>
<width>1920</width>
<height>1080</height>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
@ -2590,6 +2590,9 @@ QSplitter:handle{
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>Add friends</string>
</property>
<property name="text">
<string/>
</property>
@ -2600,9 +2603,6 @@ QSplitter:handle{
<property name="flat">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Add friends</string>
</property>
</widget>
</item>
<item>
@ -2632,6 +2632,9 @@ QSplitter:handle{
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>Create a group chat</string>
</property>
<property name="text">
<string/>
</property>
@ -2642,9 +2645,6 @@ QSplitter:handle{
<property name="flat">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Create a group chat</string>
</property>
</widget>
</item>
<item>
@ -2680,6 +2680,9 @@ QSplitter:handle{
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>(button inactive currently)</string>
</property>
<property name="text">
<string/>
</property>
@ -2690,9 +2693,6 @@ QSplitter:handle{
<property name="flat">
<bool>true</bool>
</property>
<property name="toolTip">
<string>(button inactive currently)</string>
</property>
</widget>
</item>
<item>
@ -2728,6 +2728,9 @@ QSplitter:handle{
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>Change your settings</string>
</property>
<property name="text">
<string/>
</property>
@ -2738,9 +2741,6 @@ QSplitter:handle{
<property name="flat">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Change your settings</string>
</property>
</widget>
</item>
</layout>