Build (./configure) error: "Project ERROR: Unknown module(s) in QT: svg" #5786

Closed
opened 2026-02-21 18:02:54 -05:00 by deekerman · 1 comment
Owner

Originally created by @WaterSibilantFalling on GitHub (Jul 17, 2017).

Building 3.4.0 from github, git cloned today.
Linux golden 4.9.0-2-686-pae #1 SMP Debian 4.9.18-1 (2017-03-30) i686 GNU/Linux
All dependencies are installed; previous builds have been successful.

The Problem

When running ./comfigure, a project error is listed, followed by qmake cannot make the Makefile

./configure --libdir=/usr/lib/i386-linux-gnu/:/usr/local/lib/ --prefix=/usr/local --with-boost-libdir=/usr/lib/i386-linux-gnu/ --enable-debug --disable-dependency-tracking 


         :   
         :   
Project MESSAGE: Processing lang/qbittorrent_vi
Project MESSAGE: Processing lang/qbittorrent_zh
Project MESSAGE: Processing lang/qbittorrent_zh_HK
Project MESSAGE: Processing lang/qbittorrent_zh_TW
Reading /.hw/home/bench/coding/qbt/qBittorrent/src/src.pro
Project MESSAGE: Project is built in DEBUG mode.
**Project ERROR: Unknown module(s) in QT: svg

configure: error: Failed running /usr/lib/i386-linux-gnu/qt5/bin/qmake to generate the makefile**

One note is that my qmake, /usr/bin/qmake is a link to qtchooser. qtchooser is a different executable that the /usr/lib/i386-linux-gnu/qt5/bin/qmake listed.

/usr/lib/i386-linux-gnu/qt5/bin/qmake was installed by qt5-qmake which is a dependency of qtcreator

This is the relevant stanza from the src.pro file

 nogui {
     QT -= gui
     DEFINES += DISABLE_GUI
     TARGET = qbittorrent-nox
 } else {
     macx: QT += macextras
     macx: LIBS += -lobjc
    QT += xml concurrent svg widgets       # <<---------- 'svg'  ----- 
     CONFIG(static) {
         DEFINES += QBT_STATIC_QT
         QTPLUGIN += qico
     }
     win32 {
         QT += winextras
     }
     TARGET = qbittorrent
 }
Originally created by @WaterSibilantFalling on GitHub (Jul 17, 2017). Building 3.4.0 from github, git cloned today. Linux golden 4.9.0-2-686-pae #1 SMP Debian 4.9.18-1 (2017-03-30) i686 GNU/Linux All dependencies are installed; previous builds have been successful. **The Problem** When running ./comfigure, a project error is listed, followed by qmake cannot make the Makefile ``` ./configure --libdir=/usr/lib/i386-linux-gnu/:/usr/local/lib/ --prefix=/usr/local --with-boost-libdir=/usr/lib/i386-linux-gnu/ --enable-debug --disable-dependency-tracking : : Project MESSAGE: Processing lang/qbittorrent_vi Project MESSAGE: Processing lang/qbittorrent_zh Project MESSAGE: Processing lang/qbittorrent_zh_HK Project MESSAGE: Processing lang/qbittorrent_zh_TW Reading /.hw/home/bench/coding/qbt/qBittorrent/src/src.pro Project MESSAGE: Project is built in DEBUG mode. **Project ERROR: Unknown module(s) in QT: svg configure: error: Failed running /usr/lib/i386-linux-gnu/qt5/bin/qmake to generate the makefile** ``` One note is that my qmake, /usr/bin/qmake is a link to qtchooser. qtchooser is a different executable that the /usr/lib/i386-linux-gnu/qt5/bin/qmake listed. /usr/lib/i386-linux-gnu/qt5/bin/qmake was installed by qt5-qmake which is a dependency of qtcreator This is the relevant stanza from the src.pro file ``` nogui { QT -= gui DEFINES += DISABLE_GUI TARGET = qbittorrent-nox } else { macx: QT += macextras macx: LIBS += -lobjc QT += xml concurrent svg widgets # <<---------- 'svg' ----- CONFIG(static) { DEFINES += QBT_STATIC_QT QTPLUGIN += qico } win32 { QT += winextras } TARGET = qbittorrent } ```
Author
Owner

@WaterSibilantFalling commented on GitHub (Jul 17, 2017):

solved by installing libqt5svg5-dev

closing.

@WaterSibilantFalling commented on GitHub (Jul 17, 2017): solved by installing libqt5svg5-dev closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#5786
No description provided.