Installing Qt4
-
2. Installing Qt4 on Linux Mint
To Install Qt4 on Linux Mint, run the following command:
sudo apt install qt4-default
Authenticate with your User’s Admin Password.
If you encounter a “User is Not in Sudoers file” error, follow this guide: How to Enable sudo.
To ensure Qt4 is fully integrated into the system, run:sudo apt-mark manual qt4-default qt4-qmake qtcore4-l10n libllvm9 libmng2 libodbc1 libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-odbc libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtdbus4 libqtgui4 qdbus qt4-linguist-tools
-
3. Reinstalling Qt5
After installing Qt4, you may need to Reinstall Qt5:
sudo apt install qt5-default
-
4. Testing Qt4 Installation
To verify that Qt4 is installed correctly, run:
qmake-qt4 -v
I hope this guide has helped you Install Qt4 on Linux Mint 22 successfully!
Contents