File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ COPY md5sums-qt.txt build-qt.sh qtbase.patch /build-qt/
7272ARG release
7373# Note: {foo:+bar} here is a syntax of the Dockerfile, not the shell!
7474ENV IPO_ARG=${release:+-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON}
75- RUN echo IPO_ARG ${IPO_ARG}
7675RUN BUILDQT_CMAKE_ARGS="${IPO_ARG} -DCMAKE_POSITION_INDEPENDENT_CODE=OFF -DFEATURE_reduce_relocations=OFF" CXXFLAGS='-fno-pic -no-pie' CFLAGS='-fno-pic -no-pie' PKG_CONFIG_PATH=/openssl/lib64/pkgconfig ./build-qt.sh && mv qt /qt && rm -rf /build-qt
7776
7877# ##############
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ build_module() {
2525 module_vars " ${module} "
2626 cd " ${WORK_DIR} /${dirname} "
2727 options_var=" options_${module} "
28- truncate_var=" truncate_${module} "
29- echo ${! truncate_var:- } | xargs --no-run-if-empty truncate -s 0
3028 if [[ " ${module} " = qtbase ]]; then
3129 patch -p1 < " ${SCRIPT_DIR} /qtbase.patch"
3230 ./configure ${! options_var} ${common_options_cmake}
@@ -42,7 +40,6 @@ SCRIPT_DIR=$(realpath "$(dirname "$0")")
4240INSTALL_DIR=" ${WORK_DIR} /qt"
4341
4442# FIXME bad warning in qtdeclarative-everywhere-src-6.8.3/src/quickwidgets/qquickwidget.cpp
45- # TODO: no-pie linux-only
4643
4744common_options_cmake="
4845 -DFEATURE_accessibility=OFF
@@ -241,7 +238,6 @@ options_qtdeclarative='
241238 -DFEATURE_quicktemplates2_hover=OFF
242239 -DFEATURE_quicktemplates2_multitouch=OFF
243240'
244- truncate_qtbase=' src/tools/uic/CMakeLists.txt'
245241
246242# qt5compat depends on qtdeclarative
247243# qtdeclarative depends on qtshadertools, qtsvg
Original file line number Diff line number Diff line change @@ -33,3 +33,14 @@ diff -u -r qtbase.old/src/tools/rcc/rcc.cpp qtbase.new/src/tools/rcc/rcc.cpp
3333 };
3434
3535 void RCCResourceLibrary::write(const char *str, int len)
36+ diff -u -r qtbase.old/src/tools/uic/CMakeLists.txt qtbase.new/src/tools/uic/CMakeLists.txt
37+ --- qtbase.old/src/tools/uic/CMakeLists.txt 2025-02-13 11:45:28.000000000 -0600
38+ +++ qtbase.new/src/tools/uic/CMakeLists.txt 2025-11-16 23:07:55.067139397 -0600
39+ @@ -4,6 +4,7 @@
40+ #####################################################################
41+ ## uic Tool:
42+ #####################################################################
43+ + return()
44+
45+ qt_get_tool_target_name(target_name uic)
46+ qt_internal_add_tool(${target_name}
You can’t perform that action at this time.
0 commit comments