Skip to content

Commit 1257e71

Browse files
committed
Try patchelf 5
1 parent 084388d commit 1257e71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: matrix.os == 'ubuntu-22.04'
4444
run: |
4545
# ls /home/runner/work/qml-raub/qml-raub/bin-linux/../node_modules/deps-qmlui-raub/bin-linux/../../deps-qt-qml-raub/bin-linux
46-
patchelf --set-rpath '$ORIGIN:$ORIGIN/../node_modules/deps-qt-core-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-gui-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-qml-raub/bin-linux:$ORIGIN/../node_modules/deps-qmlui-raub/bin-linux:$ORIGIN/../../deps-qt-core-raub/bin-linux:$ORIGIN/../../deps-qt-gui-raub/bin-linux:$ORIGIN/../../deps-qt-qml-raub/bin-linux:$ORIGIN/../../deps-qmlui-raub/bin-linux' $GITHUB_WORKSPACE/node_modules/deps-qmlui-raub/bin-linux/libqmlui.so
46+
patchelf --force-rpath --set-rpath '$ORIGIN:$ORIGIN/../node_modules/deps-qt-core-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-gui-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-qml-raub/bin-linux:$ORIGIN/../../deps-qt-core-raub/bin-linux:$ORIGIN/../../deps-qt-gui-raub/bin-linux:$ORIGIN/../../deps-qt-qml-raub/bin-linux' $GITHUB_WORKSPACE/node_modules/deps-qmlui-raub/bin-linux/libqmlui.so
4747
LD_DEBUG=libs node .
4848
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/ci
4949
# LD_DEBUG=libs xvfb-run --auto-servernum npm run test-ci

src/cpp/bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Napi::Object initModule(Napi::Env env, Napi::Object exports) {
3232
dlopen("libQt6QmlCore.so.6", RTLD_NOW | RTLD_GLOBAL);
3333
dlopen("libQt6QuickControls2.so.6", RTLD_NOW | RTLD_GLOBAL);
3434
dlopen("libQt6QuickControls2Basic.so.6", RTLD_NOW | RTLD_GLOBAL);
35+
dlopen("libQt6QuickControls2BasicImpl.so.6", RTLD_NOW | RTLD_GLOBAL);
3536
dlopen("libQt6QuickControls2Impl.so.6", RTLD_NOW | RTLD_GLOBAL);
3637
dlopen("libQt6QuickDialogs2.so.6", RTLD_NOW | RTLD_GLOBAL);
3738
dlopen("libQt6QuickDialogs2QuickImpl.so.6", RTLD_NOW | RTLD_GLOBAL);
@@ -42,7 +43,6 @@ Napi::Object initModule(Napi::Env env, Napi::Object exports) {
4243
dlopen("libQt6QuickShapes.so.6", RTLD_NOW | RTLD_GLOBAL);
4344
dlopen("libQt6QmlWorkerScript.so.6", RTLD_NOW | RTLD_GLOBAL);
4445
dlopen("libQt6QmlModels.so.6", RTLD_NOW | RTLD_GLOBAL);
45-
dlopen("libqmlui.so", RTLD_NOW | RTLD_GLOBAL);
4646
#endif
4747

4848
View::initClass(env, exports);

0 commit comments

Comments
 (0)