mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
59229ff4af
commit
5d159e0203
26
INSTALL.md
26
INSTALL.md
|
@ -40,18 +40,18 @@
|
|||
|
||||
## Dependencies
|
||||
|
||||
| Name | Version | Modules |
|
||||
|---------------|-------------|-------------------------------------------------- |
|
||||
| [Qt] | >= 5.5.0 | core, gui, network, opengl, sql, svg, widget, xml |
|
||||
| [GCC]/[MinGW] | >= 4.8 | C++11 enabled |
|
||||
| [toxcore] | = 0.1.\* | core, av |
|
||||
| [FFmpeg] | >= 2.6.0 | avformat, avdevice, avcodec, avutil, swscale |
|
||||
| [CMake] | >= 2.8.11 | |
|
||||
| [OpenAL Soft] | >= 1.16.0 | |
|
||||
| [qrencode] | >= 3.0.3 | |
|
||||
| [sqlcipher] | >= 3.2.0 | |
|
||||
| [pkg-config] | >= 0.28 | |
|
||||
| [filteraudio] | >= 0.0.1 | optional dependency |
|
||||
| Name | Version | Modules |
|
||||
|---------------|-------------|----------------------------------------------|
|
||||
| [Qt] | >= 5.5.0 | core, gui, network, opengl, svg, widget, xml |
|
||||
| [GCC]/[MinGW] | >= 4.8 | C++11 enabled |
|
||||
| [toxcore] | = 0.1.\* | core, av |
|
||||
| [FFmpeg] | >= 2.6.0 | avformat, avdevice, avcodec, avutil, swscale |
|
||||
| [CMake] | >= 2.8.11 | |
|
||||
| [OpenAL Soft] | >= 1.16.0 | |
|
||||
| [qrencode] | >= 3.0.3 | |
|
||||
| [sqlcipher] | >= 3.2.0 | |
|
||||
| [pkg-config] | >= 0.28 | |
|
||||
| [filteraudio] | >= 0.0.1 | optional dependency |
|
||||
|
||||
## Optional dependencies
|
||||
|
||||
|
@ -335,8 +335,6 @@ sudo zypper install \
|
|||
libQt5Concurrent-devel \
|
||||
libQt5Network-devel \
|
||||
libQt5OpenGL-devel \
|
||||
libQt5Sql-devel \
|
||||
libQt5Sql5-sqlite \
|
||||
libQt5Xml-devel \
|
||||
libXScrnSaver-devel \
|
||||
libffmpeg-devel \
|
||||
|
|
|
@ -11,7 +11,6 @@ find_package(Qt5Gui REQUIRED)
|
|||
find_package(Qt5LinguistTools REQUIRED)
|
||||
find_package(Qt5Network REQUIRED)
|
||||
find_package(Qt5OpenGL REQUIRED)
|
||||
find_package(Qt5Sql REQUIRED)
|
||||
find_package(Qt5Svg REQUIRED)
|
||||
find_package(Qt5Test REQUIRED)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
|
@ -27,7 +26,6 @@ add_dependency(
|
|||
Qt5::Gui
|
||||
Qt5::Network
|
||||
Qt5::OpenGL
|
||||
Qt5::Sql
|
||||
Qt5::Svg
|
||||
Qt5::Widgets
|
||||
Qt5::Xml)
|
||||
|
|
2
qtox.pro
2
qtox.pro
|
@ -27,7 +27,7 @@ unix:!freebsd {
|
|||
}
|
||||
|
||||
|
||||
QT += core gui network xml opengl sql svg widgets
|
||||
QT += core gui network xml opengl svg widgets
|
||||
|
||||
TARGET = qtox
|
||||
TEMPLATE = app
|
||||
|
|
|
@ -93,8 +93,6 @@ dnf_install() {
|
|||
qt-creator
|
||||
qt-devel
|
||||
qt-doc
|
||||
sqlite
|
||||
sqlite-devel
|
||||
)
|
||||
sudo dnf install "${dnf_packages[@]}"
|
||||
}
|
||||
|
@ -130,8 +128,6 @@ zypper_install() {
|
|||
libQt5OpenGL-devel
|
||||
libqt5-qtbase-common-devel
|
||||
libqt5-qtsvg-devel
|
||||
libQt5Sql5-sqlite
|
||||
libQt5Sql-devel
|
||||
libQt5Test-devel
|
||||
libQt5Xml-devel
|
||||
libsodium-devel
|
||||
|
|
|
@ -266,11 +266,6 @@ Section "Install"
|
|||
${SetOutPath} "$INSTDIR\bin\platforms"
|
||||
File /nonfatal "qtox\platforms\*.*"
|
||||
${SetOutPath} "$INSTDIR\bin"
|
||||
|
||||
${CreateDirectory} "$INSTDIR\bin\sqldrivers"
|
||||
${SetOutPath} "$INSTDIR\bin\sqldrivers"
|
||||
File /nonfatal "qtox\sqldrivers\*.*"
|
||||
${SetOutPath} "$INSTDIR\bin"
|
||||
|
||||
# Create shortcuts
|
||||
${CreateDirectory} "$SMPROGRAMS\qTox"
|
||||
|
|
|
@ -266,11 +266,6 @@ Section "Install"
|
|||
${SetOutPath} "$INSTDIR\bin\platforms"
|
||||
File /nonfatal "qtox\platforms\*.*"
|
||||
${SetOutPath} "$INSTDIR\bin"
|
||||
|
||||
${CreateDirectory} "$INSTDIR\bin\sqldrivers"
|
||||
${SetOutPath} "$INSTDIR\bin\sqldrivers"
|
||||
File /nonfatal "qtox\sqldrivers\*.*"
|
||||
${SetOutPath} "$INSTDIR\bin"
|
||||
|
||||
# Create shortcuts
|
||||
${CreateDirectory} "$SMPROGRAMS\qTox"
|
||||
|
|
Loading…
Reference in New Issue
Block a user