Skip to content

Commit 51640cc

Browse files
committed
cleanup
1 parent ab9f023 commit 51640cc

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ COPY md5sums-qt.txt build-qt.sh qtbase.patch /build-qt/
7272
ARG release
7373
# Note: {foo:+bar} here is a syntax of the Dockerfile, not the shell!
7474
ENV IPO_ARG=${release:+-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON}
75-
RUN echo IPO_ARG ${IPO_ARG}
7675
RUN 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
###############

build-qt.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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")")
4240
INSTALL_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

4744
common_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

qtbase.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)