Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(dependency): remove unused qt sql dependency
Browse files Browse the repository at this point in the history
fix #4567
  • Loading branch information
sudden6 committed Aug 11, 2017
1 parent 59229ff commit 5d159e0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 31 deletions.
26 changes: 12 additions & 14 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -335,8 +335,6 @@ sudo zypper install \
libQt5Concurrent-devel \
libQt5Network-devel \
libQt5OpenGL-devel \
libQt5Sql-devel \
libQt5Sql5-sqlite \
libQt5Xml-devel \
libXScrnSaver-devel \
libffmpeg-devel \
Expand Down
2 changes: 0 additions & 2 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -27,7 +26,6 @@ add_dependency(
Qt5::Gui
Qt5::Network
Qt5::OpenGL
Qt5::Sql
Qt5::Svg
Qt5::Widgets
Qt5::Xml)
Expand Down
2 changes: 1 addition & 1 deletion qtox.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions simple_make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ dnf_install() {
qt-creator
qt-devel
qt-doc
sqlite
sqlite-devel
)
sudo dnf install "${dnf_packages[@]}"
}
Expand Down Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions windows/qtox.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions windows/qtox64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5d159e0

Please sign in to comment.