Switching to Qt 5.15.11 KDE patched

Rafael Sadowski rafael at sizeofvoid.org
Thu Dec 14 03:25:31 GMT 2023


Hi KDE developer,

first of all thanks for the Qt/KDE patchset. As the Qt/KDE OpenBSD packages
maintainer I plan to switch from Qt upstream to Qt/KDE.

I am currently stuck and maybe someone can explain this to me. Upstream
Qt project ships which a "includes" directory in the tarball. The
QtBase/KDE repository does not contain the include directory which is
fine, but then I wonder about the includes:

clang++ -c -o qmakebuiltins.o -O2 -pipe -g   -std=c++11
-ffunction-sections -fdata-sections -g -g -DLOCALBASE=\"/usr/local\"
-DX11BASE=\"/usr/X11R6\"
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/library
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/generators
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/src/3rdparty/tinycbor/src
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/generators/unix
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/generators/win32
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/generators/mac
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore/5.15.11
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore/5.15.11/QtCore
-I../src/corelib/global
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/mkspecs/openbsd-clang
-DQT_VERSION_STR=\"5.15.11\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15
-DQT_VERSION_PATCH=11 -DQT_BUILD_QMAK E -DQT_BOOTSTRAPPED
-DPROEVALUATOR_FULL -DQT_NO_FOREACH

/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/library/qmakebuiltins.cpp
In file included from /usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/library/proitems.cpp:29:
In file included from /usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/library/proitems.h:32:
/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/qmake/library/qmake_global.h:32:10:
fatal error: 'qglobal.h' file not found #include <qglobal.h>

As wee can see, it points to a include directory that does not exists:

-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore/5.15.11
-I/usr/ports/pobj/qtbase-5.15.11pl135/qtbase-ea7a183732c17005f08ca14fd70cdd305c9039/include/QtCore/5.15.11/QtCore

Here are our configure args:

OPENSSL_LIBS="-L/usr/lib -lssl -lcrypto" -I "/usr/local/include" -L "/usr/local/lib"
-bindir /usr/local/lib/qt5/bin  -datadir /usr/local/lib/qt5  -docdir /usr/local/share/doc/qt5
-examplesdir /usr/local/lib/qt5/examples  -headerdir /usr/local/include/X11/qt5
-libdir /usr/local/lib/qt5  -plugindir /usr/local/lib/qt5/plugins  -prefix /usr/local/lib/qt5
-qmldir /usr/local/lib/qt5/qml  -sysconfdir /etc/xdg -confirm-license
-opensource  -rpath  -shared  -verbose -no-vulkan -no-libudev -no-libinput -no-compile-examples
-no-inotify  -no-journald  -no-mimetype-database  -no-mtdev  -no-optimized-qmake  -no-pch
-no-use-gold-linker -no-feature-relocatable -no-feature-dtls -nomake tests -release
-c++std c++17 -accessibility  -cups  -dbus-linked  -glib  -icu  -opengl desktop  -openssl-linked
-pkg-config  -syslog  -system-harfbuzz  -system-doubleconversion  -system-libjpeg  -system-libpng
-system-pcre  -system-sqlite  -system-zlib -sql-mysql -sql-psql -sql-tds -no-sse4.1 -no-sse4.2
-no-avx -no-avx2 -no-ssse3 -no-sse3 -platform openbsd-clang  -ccach

Many thanks in advance!

Rafael


More information about the kde-devel mailing list