mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
Fix qbt compilation errors in specific situation (#5895)
Add qt5-sql to the dependencies of qbt.
This commit is contained in:
parent
b0249774ba
commit
a5217b2901
@ -25,7 +25,7 @@ define Package/qBittorrent
|
||||
CATEGORY:=Network
|
||||
TITLE:=bittorrent client programmed in C++ / Qt
|
||||
URL:=https://www.qbittorrent.org/
|
||||
DEPENDS:=+qt5-core +qt5-network +qt5-xml +rblibtorrent
|
||||
DEPENDS:=+qt5-core +qt5-network +qt5-sql +qt5-xml +rblibtorrent
|
||||
endef
|
||||
|
||||
define Package/qBittorrent/description
|
||||
|
@ -58,6 +58,12 @@ define Package/qt5-network
|
||||
DEPENDS+=+qt5-core +libopenssl
|
||||
endef
|
||||
|
||||
define Package/qt5-sql
|
||||
$(call Package/qt5/Default)
|
||||
TITLE+=sql
|
||||
DEPENDS+=+qt5-core
|
||||
endef
|
||||
|
||||
define Package/qt5-xml
|
||||
$(call Package/qt5/Default)
|
||||
TITLE+=xml
|
||||
@ -174,6 +180,11 @@ define Package/qt5-network/install
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5Network.so* $(1)/usr/lib
|
||||
endef
|
||||
|
||||
define Package/qt5-sql/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5Sql.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt5-xml/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5Xml.so* $(1)/usr/lib
|
||||
@ -181,4 +192,5 @@ endef
|
||||
|
||||
$(eval $(call BuildPackage,qt5-core,+zlib,+libpcre2-16,+libdouble-conversion))
|
||||
$(eval $(call BuildPackage,qt5-network))
|
||||
$(eval $(call BuildPackage,qt5-sql))
|
||||
$(eval $(call BuildPackage,qt5-xml))
|
||||
|
Loading…
Reference in New Issue
Block a user