https://bugs.kde.org/show_bug.cgi?id=472148
Bug ID: 472148 Summary: Version flag should display version even without display Classification: Applications Product: kdenlive Version: git-master Platform: Other OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: User Interface Assignee: j...@kdenlive.org Reporter: mashkal2...@gmail.com Target Milestone: --- SUMMARY Version flag should display version even without display. STEPS TO REPRODUCE 1. Build kdenlive in docker container 2. run `kdenlive --version` in container OBSERVED RESULT qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aborted EXPECTED RESULT kdenlive 23.07.70 (rev. bfb2c2498) SOFTWARE/OS VERSIONS commit bfb2c2498786704d5e6ec8d66bf1b2ad6c0dc12d ADDITIONAL INFORMATION Dockerfile: FROM ubuntu:22.04 RUN apt update RUN apt install -y software-properties-common RUN add-apt-repository ppa:kdenlive/kdenlive-master RUN apt update RUN apt install -y build-essential git cmake extra-cmake-modules libsm-dev # KDE Frameworks 5, based on Qt5 RUN DEBIAN_FRONTEND=noninteractive apt install -y libkf5archive-dev libkf5bookmarks-dev libkf5coreaddons-dev libkf5config-dev \ libkf5configwidgets-dev libkf5dbusaddons-dev libkf5kio-dev libkf5widgetsaddons-dev \ libkf5notifyconfig-dev libkf5newstuff-dev libkf5xmlgui-dev libkf5declarative-dev \ libkf5notifications-dev libkf5guiaddons-dev libkf5textwidgets-dev libkf5purpose-dev \ libkf5iconthemes-dev libkf5crash-dev libkf5filemetadata-dev libkf5codecs-dev kio \ kinit qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick-controls libqt5networkauth5-dev \ qtmultimedia5-dev qtquickcontrols2-5-dev qttools5-dev breeze-icon-theme breeze # Multimedia stack RUN apt install -y frei0r-plugins ffmpeg # MLT, except if you want to build it manually RUN apt install -y libmlt++-dev libmlt-dev melt RUN git clone https://invent.kde.org/multimedia/kdenlive.git RUN mkdir -p /kdenlive/build WORKDIR /kdenlive/build RUN cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DRELEASE_BUILD=OFF RUN make -j20 RUN make install -- You are receiving this mail because: You are watching all bug changes.