If Avidemux is not building on Ubuntu 24.04.1
QT6 not found
installing these could help
-- qtcreator
-- qt6-base-dev
sudo apt upgrade
sudo apt install qtcreator qt6-base-dev
So even if Qt6 has been installed and Avidemux is still not building:
1. Select Qt6 system-wide
-------------------------
Generate qt6.conf based on the path to qmake6
qtchooser -install qt6 $(which qmake6)
Move qt6.conf to system-wide dir
sudo mv ~/.config/qtchooser/qt6.conf /usr/share/qtchooser/qt6.conf
Ref:Ubuntu 22.04 with Qt6 - qmake: could not find a Qt installation (https://askubuntu.com/questions/1460242/ubuntu-22-04-with-qt6-qmake-could-not-find-a-qt-installation-of)
ps: Best wishes and good health to all for 2025
Jan
After succesfull build, and /usr/bin/avidemux3_qt6 is not opening correctly.
Close the running avidemux window.
Find the old config3 in ~/.config/avidemux6 and delete this existing config3 file.
Start the /usr/bin/avidemux3_qt6 in cli terminal and avidemux should now run correctly.
Welcome back! Could you please remove all Qt5 and Qt6 development packages and test updated createDebFromSourceUbuntu.bash script?
I'll try test with removing these packages:
qtbase5-dev qtbase5-dev-tools qttools5-dev-tools
qt6-base-dev qt6-base-dev-tools qt6-tools-dev-tools
If I cleanout completly, to much of depending programs are uninstalled
QuoteReading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.10ubuntu1).
cmake is already the newest version (3.28.3-1build7).
pkg-config is already the newest version (1.8.1-2build1).
yasm is already the newest version (1.3.0-4).
libsqlite3-dev is already the newest version (3.45.1-1ubuntu2).
libxv-dev is already the newest version (2:1.0.11-1.1build1).
libvdpau-dev is already the newest version (1.5-2build1).
libva-dev is already the newest version (2.20.0-2build1).
libasound2-dev is already the newest version (1.2.11-1build2).
libpulse-dev is already the newest version (1:16.1+dfsg1-2ubuntu10.1).
libx264-dev is already the newest version (2:0.164.3108+git31e19f9-1).
libxvidcore-dev is already the newest version (2:1.3.7-1build1).
libmp3lame-dev is already the newest version (3.100-6build1).
libtwolame-dev is already the newest version (0.4.0-2build3).
libopus-dev is already the newest version (1.4-1build1).
libvorbis-dev is already the newest version (1.3.7-1build3).
libogg-dev is already the newest version (1.3.5-3build1).
libpng-dev is already the newest version (1.6.43-5build1).
libass-dev is already the newest version (1:0.17.1-2build1).
The following additional packages will be installed:
libclang-cpp15t64 libllvm15t64 libopengl-dev libvulkan-dev qmake6 qmake6-bin qt6-base-dev-tools
The following NEW packages will be installed:
libclang-cpp15t64 libllvm15t64 libopengl-dev libvulkan-dev qmake6 qmake6-bin qt6-base-dev
qt6-base-dev-tools qt6-l10n-tools
0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
Need to get 26.7 MB/43.1 MB of archives.
After this operation, 230 MB of additional disk space will be used
QuoteSelecting previously unselected package libllvm15t64:amd64.
(Reading database ... 240828 files and directories currently installed.)
Preparing to unpack .../0-libllvm15t64_1%3a15.0.7-14build3_amd64.deb ...
Unpacking libllvm15t64:amd64 (1:15.0.7-14build3) ...
Selecting previously unselected package libclang-cpp15t64.
Preparing to unpack .../1-libclang-cpp15t64_1%3a15.0.7-14build3_amd64.deb ...
Unpacking libclang-cpp15t64 (1:15.0.7-14build3) ...
Selecting previously unselected package libopengl-dev:amd64.
Preparing to unpack .../2-libopengl-dev_1.7.0-1build1_amd64.deb ...
Unpacking libopengl-dev:amd64 (1.7.0-1build1) ...
Selecting previously unselected package libvulkan-dev:amd64.
Preparing to unpack .../3-libvulkan-dev_1.3.275.0-1build1_amd64.deb ...
Unpacking libvulkan-dev:amd64 (1.3.275.0-1build1) ...
Selecting previously unselected package qmake6-bin.
Preparing to unpack .../4-qmake6-bin_6.4.2+dfsg-21.1build5_amd64.deb ...
Unpacking qmake6-bin (6.4.2+dfsg-21.1build5) ...
Selecting previously unselected package qmake6:amd64.
Preparing to unpack .../5-qmake6_6.4.2+dfsg-21.1build5_amd64.deb ...
Unpacking qmake6:amd64 (6.4.2+dfsg-21.1build5) ...
Selecting previously unselected package qt6-base-dev-tools.
Preparing to unpack .../6-qt6-base-dev-tools_6.4.2+dfsg-21.1build5_amd64.deb ...
Unpacking qt6-base-dev-tools (6.4.2+dfsg-21.1build5) ...
Selecting previously unselected package qt6-base-dev:amd64.
Preparing to unpack .../7-qt6-base-dev_6.4.2+dfsg-21.1build5_amd64.deb ...
Unpacking qt6-base-dev:amd64 (6.4.2+dfsg-21.1build5) ...
Selecting previously unselected package qt6-l10n-tools.
Preparing to unpack .../8-qt6-l10n-tools_6.4.2-3build3_amd64.deb ...
Unpacking qt6-l10n-tools (6.4.2-3build3) ...
Setting up libvulkan-dev:amd64 (1.3.275.0-1build1) ...
Setting up qt6-base-dev-tools (6.4.2+dfsg-21.1build5) ...
Setting up libllvm15t64:amd64 (1:15.0.7-14build3) ...
Setting up qmake6-bin (6.4.2+dfsg-21.1build5) ...
Setting up libopengl-dev:amd64 (1.7.0-1build1) ...
Setting up libclang-cpp15t64 (1:15.0.7-14build3) ...
Setting up qt6-l10n-tools (6.4.2-3build3) ...
Setting up qmake6:amd64 (6.4.2+dfsg-21.1build5) ...
Setting up qt6-base-dev:amd64 (6.4.2+dfsg-21.1build5) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libaften-dev is already the newest version (0.0.8+git20100105-0ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libfaac-dev is already the newest version (1.30-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libfdk-aac-dev is already the newest version (2.0.2-3~ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libx265-dev is already the newest version (3.5-2build1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libvpx-dev is already the newest version (1.14.0-1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libaom-dev is already the newest version (3.8.2-2ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded
QuoteCompiling avidemux, this may take a few minutes...
CMAKE Version : 3.28.3
Cmake version >=2.8.7 doesnt need fakeroot
Build configuration :
******************* :
Build type :
Release build
Core will be built
Qt6 will be built
Cli will be built
Plugins will be built
**BootStrapping avidemux **
QuotebuildQt6:Cmake started...
** Failed at cmake,result in /tmp/logCmakebuildQt6 **
cd ~/avidemux2 && bash createDebFromSourceUbuntu.bash
-- QT6 CPP:Q_mainfilter.h;Q_seekablePreview.h -> ADM_filtersQT6_source=~/avidemux2/buildQt6/ADM_userInterfacesQT6/ADM_filters/moc_Q_mainfilter.cpp;~/avidemux2/buildQt6/ADM_userInterfacesQT6/ADM_filters/moc_Q_seekablePreview.cpp
CMake Error at i18n/Ts.cmake:14 (MESSAGE):
lrelease executable not found - ts files can't be processed
Call Stack (most recent call first):
i18n/Ts.cmake:69 (FIND_LRELEASE)
i18n/CMakeLists.txt:4 (COMPILE_TS_FILES)
-- Configuring incomplete, errors occurred!
the symbolic link
/usr/bin/lrelease
was pointing to Qt5
Quotelrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
lsrelease is only found in these locations:
Quote/lib/qt6/bin/lrelease
/snap/kde-frameworks-5-99-qt-5-15-7-core20/7/usr/bin/lrelease
/snap/kf5-5-110-qt-5-15-11-core22/3/usr/bin/lrelease
/snap/kf5-5-113-qt-5-15-11-core22/1/usr/bin/lrelease
/snap/kf6-core22/41/usr/bin/qt6/lrelease
/snap/kf6-core22/current/usr/bin/qt6/lrelease
/snap/qt515-core20/43/opt/qt515/bin/lrelease
/lib/x86_64-linux-gnu/qt6/mkspecs/features/lrelease.prf
/snap/kde-frameworks-5-99-qt-5-15-7-core20/7/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lrelease.prf
/snap/kf5-5-110-qt-5-15-11-core22/3/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lrelease.prf
/snap/kf5-5-113-qt-5-15-11-core22/1/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lrelease.prf
/usr/share/qtcreator/externaltools/lrelease.xml
/lib/qt6/libexec/lrelease-pro
/snap/kf6-core22/41/usr/lib/qt6/libexec/lrelease-pro
/snap/kf6-core22/current/usr/lib/qt6/libexec/lrelease-pro
/snap/qt515-core20/43/opt/qt515/bin/lrelease-pro
so I overwrote the existing symbolic link to point to Qt6 lrelease
sudo ln -sf /usr/lib/qt6/bin/lrelease /usr/bin/lrelease
QuoteIn file included from ~/avidemux2/avidemux/qt4/ADM_openGL/src/ADM_openGl.cpp:6:
~/avidemux2/avidemux/qt4/ADM_openGL/src/../include/ADM_openGl.h:39:13: fatal error: GL/glu.h: No such file or directory
39 | # include <GL/glu.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [ADM_openGL/src/CMakeFiles/ADM_openGLQT66.dir/build.make:84: ADM_openGL/src/CMakeFiles/ADM_openGLQT66.dir/ADM_openGl.cpp.o] Error 1
make[2]: Leaving directory '~/avidemux2/buildQt6'
make[1]: *** [CMakeFiles/Makefile2:834: ADM_openGL/src/CMakeFiles/ADM_openGLQT66.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
now installing libglu1-mesa-dev for missing glu.h, test running
Quote** pkgs directory ready **
total 14960
-rw-rw-r-- 1 jan jan 1756 Jan 10 08:28 avidemux3-cli-2.8.2-250110-dev.deb
-rw-rw-r-- 1 jan jan 1655664 Jan 10 08:28 avidemux3-cli-2.8.2-250110-runtime.deb
-rw-rw-r-- 1 jan jan 429136 Jan 10 08:28 avidemux3-core-2.8.2-250110-dev.deb
-rw-rw-r-- 1 jan jan 5068184 Jan 10 08:28 avidemux3-core-2.8.2-250110-runtime.deb
-rw-rw-r-- 1 jan jan 436350 Jan 10 08:28 avidemux3-plugins-CLI-2.8.2-250110-plugins.deb
-rw-rw-r-- 1 jan jan 1276530 Jan 10 08:28 avidemux3-plugins-COMMON-2.8.2-250110-plugins.deb
-rw-rw-r-- 1 jan jan 1515190 Jan 10 08:28 avidemux3-plugins-qt6-2.8.2-250110-plugins.deb
-rw-rw-r-- 1 jan jan 18816 Jan 10 08:28 avidemux3-qt6-2.8.2-250110-dev.deb
-rw-rw-r-- 1 jan jan 4841288 Jan 10 08:28 avidemux3-qt6-2.8.2-250110-runtime.deb
-rw-rw-r-- 1 jan jan 60428 Jan 10 08:28 avidemux3-settings-2.8.2-250110-settings.deb
** ALL DONE **
8)
Thank you very much! I hope, now (https://github.com/mean00/avidemux2/commit/3006ef0a71faa442fc7af1647fe0d5bf97f86ef5) the convenience script for Ubuntu should work.
removed following
- qt6-base-dev
- qt6-base-dev-tools
- libglu1-mesa-dev
- /usr/bin/lrelease
bootStrap.bash is failing build
now running createDebFromSourceUbuntu.bash
QuoteThe following additional packages will be installed:
libopengl-dev libvulkan-dev qmake6 qmake6-bin qt6-base-dev-tools
The following NEW packages will be installed:
libglu1-mesa-dev libopengl-dev libvulkan-dev qmake6 qmake6-bin qt6-base-dev qt6-base-dev-tools
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,710 kB of archives.
After this operation, 51.1 MB of additional disk space will be used.
build is running
as you hoped:
Quote** pkgs directory ready **
total 14964
-rw-rw-r-- 1 jan jan 1756 Jan 12 07:32 avidemux3-cli-2.8.2-250112-dev.deb
-rw-rw-r-- 1 jan jan 1655660 Jan 12 07:32 avidemux3-cli-2.8.2-250112-runtime.deb
-rw-rw-r-- 1 jan jan 429126 Jan 12 07:32 avidemux3-core-2.8.2-250112-dev.deb
-rw-rw-r-- 1 jan jan 5068196 Jan 12 07:32 avidemux3-core-2.8.2-250112-runtime.deb
-rw-rw-r-- 1 jan jan 436354 Jan 12 07:32 avidemux3-plugins-CLI-2.8.2-250112-plugins.deb
-rw-rw-r-- 1 jan jan 1276572 Jan 12 07:32 avidemux3-plugins-COMMON-2.8.2-250112-plugins.deb
-rw-rw-r-- 1 jan jan 1515190 Jan 12 07:32 avidemux3-plugins-qt6-2.8.2-250112-plugins.deb
-rw-rw-r-- 1 jan jan 18812 Jan 12 07:32 avidemux3-qt6-2.8.2-250112-dev.deb
-rw-rw-r-- 1 jan jan 4842974 Jan 12 07:32 avidemux3-qt6-2.8.2-250112-runtime.deb
-rw-rw-r-- 1 jan jan 60430 Jan 12 07:32 avidemux3-settings-2.8.2-250112-settings.deb
** ALL DONE **
** Installable packages are in the pkgs folder **
Thanks for your dedication, prosperous 2025, good health for all Avidemux developers and families.