Closed probonopd closed 1 year ago
I added or defined(bsd)
to all locations where I found defined(linux)
, so it should at least install.
I have not tested if it really works, but I don't think it should give any problems.
Thank you very much. With this, the installation seems to have worked.
Now I have created hello.nim
like this
import qt
var app = newQApplication()
var label = newQLabel(nil, "Hello, World!")
label.show()
app.exec()
Trying to build this leads to an error, though:
% nim c -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
.........................................................
/tmp/hello.nim(1, 8) Error: cannot open file: qt
% nimble install https://github.com/jerous86/nimqt
Downloading https://github.com/jerous86/nimqt using git
Warning: The package has no tagged releases, downloading HEAD instead.
Verifying dependencies for nimqt@0.1
Info: Dependency on astpatternmatching@any version already satisfied
Verifying dependencies for ast_pattern_matching@1.0.0
Installing nimqt@0.1
Warning: A package "nimqt@0.1" with checksum "2d9d4b809a5d45c661eea97671cd19437a07f214" already exists the the cache.
I have ~/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt
.
Maybe due to the initial error, the installation didn't succeed completely?
On my system packages are installed in ~/.nimble/pkgs
rather than ~/.nimble/pkgs2
.
Do you get the same result if you temporarily remove ~/.nimble/
(e.g. mv ~/.nimble/ /tmp
) and then do again a nimble install https://github.com/jerous86/nimqt
?
Thanks @jerous86, I have deleted ~/.nimble/pkgs
, now I am getting:
% nimble install https://github.com/jerous86/nimqt
Downloading https://github.com/jerous86/nimqt using git
Warning: The package has no tagged releases, downloading HEAD instead.
Verifying dependencies for nimqt@0.1
Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official package list
Success Package list downloaded.
Installing ast_pattern_matching@any version
Downloading https://github.com/nim-lang/ast-pattern-matching using git
Verifying dependencies for ast_pattern_matching@1.0.0
Installing ast_pattern_matching@1.0.0
Success: ast_pattern_matching installed successfully.
Installing nimqt@0.1
Success: nimqt installed successfully.
Users-Laptop% cd /tmp
Users-Laptop% nim c -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
.........................................................
/tmp/hello.nim(1, 8) Error: cannot open file: qt
I have to say that this is my very first time trying to do anything with Nim, so the mistake may well be on my side.
Assuming nimqt is installed in ~/.nimble/pkgs2/nimqt-0.1
, can you try the following and see if one/both at least work?
nim --backend:cpp r --nimblePath:~/.nimble/pkgs2/ tmp/hello.nim
and
nim --backend:cpp r --path:~/.nimble/pkgs2/nimqt-0.1 /tmp/hello.nim
I think what you're trying to achieve should work out-of-the box. My guess is that some paths are not correctly set on FreeBSD.
% ls ~/.nimble/pkgs2
ast_pattern_matching-1.0.0-e7d2f92c1a3390b4b2da00e021baf14b91ff5017
nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214
% nim --backend:cpp r --nimblePath:~/.nimble/pkgs2/ hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
.........................................................
/tmp/hello.nim(1, 8) Error: cannot open file: qt
% nim --backend:cpp r --path:~/.nimble/pkgs2/nimqt-0.1 hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
.........................................................
/tmp/hello.nim(1, 8) Error: cannot open file: qt
@probonopd Shouldn't the example be import nimqt
instead of import qt
?
% ls ~/.nimble/pkgs2 ast_pattern_matching-1.0.0-e7d2f92c1a3390b4b2da00e021baf14b91ff5017 nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214
I had the same "problem" using Nim 1.9.1 which created "PKGS2" with the two files inside (nimqt & astPattern...with strange numbers). But I solved by returning to Nim 1.6.x and deleting pkgs2. Now I don't know if when you go to Nim2 it could create problems!
Absolutely, thanks @ringabout for catching!
Using the "Minimal example" from https://github.com/jerous86/nimqt/ instead, I get:
% nim c -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
................................................................................................................................................................................................
/tmp/hello.nim(8, 26) Error: type mismatch: got <>
but expected one of:
proc newQApplication(argc: cint; argv: ptr ptr char): ptr QApplication
template newQApplication(args: seq[string]): ptr QApplication
expression: newQApplication()
It should have been nim cpp -r hello.nim
But using the make file you can also use make hello
% nim cpp -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
................................................................................................................................................................................................
/tmp/hello.nim(8, 26) Error: type mismatch: got <>
but expected one of:
proc newQApplication(argc: cint; argv: ptr ptr char): ptr QApplication
template newQApplication(args: seq[string]): ptr QApplication
expression: newQApplication()
% cat hello.nim
# First, we import the nimqt.nim module that will allow us to use the Qt system
import nimqt
# nimqt.init() should be called at the start of your program.
# It will initialize verdigris, and import some common modules.
nimqt.init()
let app = newQApplication() # Create your application.
import nimqt/qlabel
let w=newQLabel(Q"Hello world!")
w.show()
discard app.exec() # Run Qt's main loop
I think that you need to rewrite the line
let app = newQApplication()
into
let app = newQApplication(commandLineParams())
because it needs arguments. And also add import os
in the top of the file.
@probonopd Shouldn't the example be
import nimqt
instead ofimport qt
?
Good catch!
I think that you need to rewrite the line
let app = newQApplication()
into
let app = newQApplication(commandLineParams())
because it needs arguments. And also add
import os
in the top of the file.
Indeed, I forgot to update that example when I changed the newQApplication
signature (initially, it was without arguments, but then it crashed on some systems, and I couldn't figure out why. Passing a seq solved it, so I keep it that way :))
Thanks. Now using:
# First, we import the nimqt.nim module that will allow us to use the Qt system
import nimqt
import os
# nimqt.init() should be called at the start of your program.
# It will initialize verdigris, and import some common modules.
nimqt.init()
let app = newQApplication(commandLineParams()) # Create your application.
import nimqt/qlabel
let w=newQLabel(Q"Hello world!")
w.show()
discard app.exec() # Run Qt's main loop
With that, I get
% nim c -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
...................................................................................................................................................................................................
/usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt.nim(62, 24) Warning: imported and not used: 'qnamespace' [UnusedImport]
CC: ../usr/local/lib/nim/std/private/digitsutils.nim
CC: ../usr/local/lib/nim/system/dollars.nim
CC: ../usr/local/lib/nim/system.nim
CC: ../usr/local/lib/nim/pure/pathnorm.nim
CC: ../usr/local/lib/nim/posix/posix.nim
CC: ../usr/local/lib/nim/pure/times.nim
CC: ../usr/local/lib/nim/pure/os.nim
CC: ../usr/local/lib/nim/pure/concurrency/cpuinfo.nim
clangclang: clang: clang: error: error: error: no such file or directory: 'qmake:'no such file or directory: 'qmake:':
clangno such file or directory: 'qmake:': error:
error: clang: error: clang: no such file or directory: 'qmake:'no such file or directory: 'qmake:'
clang: error: no such file or directory: 'qmake:'
no such file or directory: 'qmake:'
error: no such file or directory: 'qmake:'
clang: clang: error: error: no such file or directory: 'not'no such file or directory: 'not'
clang: error: no such file or directory: 'not'
clang: error: no such file or directory: 'not'clang:
error: clang: error: no such file or directory: 'not'
no such file or directory: 'not'
clang: error: no such file or directory: 'not'
clang: error: no such file or directory: 'not'
clang: clangerror: : no such file or directory: 'found'error:
no such file or directory: 'found'
clang: error: no such file or directory: 'found'
clang: error: no such file or directory: 'found'
clang: error: clangclang: : error: error: no such file or directory: 'found'no such file or directory: 'found'
no such file or directory: 'found'
clang: error: no such file or directory: 'found'
Error: execution of an external compiler program 'clang -c -w -ferror-limit=3 -std=c++17 -I/usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214 -I/bin/sh: qmake: not found -fPIC -I/usr/local/lib/nim -I/usr/local/include -I/usr/local/include -I/tmp -o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@spathnorm.nim.c.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@spathnorm.nim.c' failed with exit code: 1
The error message is not exactly self-explanatory, but this is the workaround on FreeBSD:
% sudo ln -s /usr/local/bin/qmake-qt5 /usr/local/bin/qmake
However, now I am running into
% nim c -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
...................................................................................................................................................................................................
/usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt.nim(62, 24) Warning: imported and not used: 'qnamespace' [UnusedImport]
CC: ../usr/local/lib/nim/std/private/digitsutils.nim
CC: ../usr/local/lib/nim/system/dollars.nim
CC: ../usr/local/lib/nim/system.nim
CC: ../usr/local/lib/nim/pure/pathnorm.nim
CC: ../usr/local/lib/nim/posix/posix.nim
CC: ../usr/local/lib/nim/pure/times.nim
CC: ../usr/local/lib/nim/pure/os.nim
CC: ../usr/local/lib/nim/pure/concurrency/cpuinfo.nim
error: error: invalid argument '-std=c++17' not allowed with 'C'error:
error: invalid argument '-std=c++17' not allowed with 'C'
invalid argument '-std=c++17' not allowed with 'C'error: invalid argument '-std=c++17' not allowed with 'C'
error:
invalid argument '-std=c++17' not allowed with 'C'
invalid argument '-std=c++17' not allowed with 'C'
error: invalid argument '-std=c++17' not allowed with 'C'
error: invalid argument '-std=c++17' not allowed with 'C'
Error: execution of an external compiler program 'clang -c -w -ferror-limit=3 -std=c++17 -I/usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214 -I/usr/local/include/qt5 -fPIC -I/usr/local/lib/nim -I/usr/local/include -I/usr/local/include -I/tmp -o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@stimes.nim.c.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@stimes.nim.c' failed with exit code: 1
Thank you for the feedback!
1) For the qmake-qt5 issue, you can also let the QMAKE_PATH
environment variable point to the qmake
(or qmake-qt5
in this case) binary.
2) As Qt is a c++ library, we also have to invoke nim to compile with c++, so instead of nim c [...]
you should do nim cpp [...]
Sorry for me being such a Nim noob.
% nim cpp -r hello.nim
Hint: used config file '/usr/local/etc/nim/nim.cfg' [Conf]
...................................................................................................................................................................................................
/usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt.nim(62, 24) Warning: imported and not used: 'qnamespace' [UnusedImport]
CC: ../usr/local/lib/nim/std/private/digitsutils.nim
CC: ../usr/local/lib/nim/system/dollars.nim
CC: ../usr/local/lib/nim/system.nim
CC: ../usr/local/lib/nim/pure/pathnorm.nim
CC: ../usr/local/lib/nim/posix/posix.nim
CC: ../usr/local/lib/nim/pure/times.nim
CC: ../usr/local/lib/nim/pure/os.nim
CC: ../usr/local/lib/nim/pure/concurrency/cpuinfo.nim
CC: ../usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt/nimqt_paths.nim
CC: ../usr/home/user/.nimble/pkgs2/nimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214/nimqt/qtcore/qstring.nim
CC: hello.nim
Hint: [Link]
/usr/local/bin/x86_64-unknown-freebsd13.1-ld: cannot find -lQt5Core: No such file or directory
/usr/local/bin/x86_64-unknown-freebsd13.1-ld: cannot find -lQt5Gui: No such file or directory
/usr/local/bin/x86_64-unknown-freebsd13.1-ld: cannot find -lQt5Widgets: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of an external program failed: 'clang++ -o /tmp/hello /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@sstd@sprivate@sdigitsutils.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@ssystem@sdollars.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@ssystem.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@spathnorm.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@sposix@sposix.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@stimes.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@sos.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@slocal@slib@snim@spure@sconcurrency@scpuinfo.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@shome@suser@s.nimble@spkgs2@snimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214@snimqt@snimqt_paths.nim.cpp.o /home/user/.cache/nim/hello_d/@m..@susr@shome@suser@s.nimble@spkgs2@snimqt-0.1-2d9d4b809a5d45c661eea97671cd19437a07f214@snimqt@sqtcore@sqstring.nim.cpp.o /home/user/.cache/nim/hello_d/@mhello.nim.cpp.o -lm -lm -lQt5Core -lQt5Gui -lQt5Widgets -L/usr/local/lib -L/usr/local/lib -Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib'
I do have those libraries installed, I am building Q5 based applications all the time.
No problem, it took for me also a while before I was able to get it all to run easily.
Is libQt5Core
present in the directory indicated by qmake -query QT_INSTALL_LIBS
?
If not, do you know in what directory the library is installed (and could you see with what library of qmake -query
it corresponds)?
Yes...
% qmake -query QT_INSTALL_LIBS
/usr/local/lib/qt5
% ls /usr/local/lib/qt5
bin libQt5Qml.so.5.15
libQt53DAnimation.prl libQt5Qml.so.5.15.7
libQt53DAnimation.so libQt5QmlDebug.a
libQt53DAnimation.so.5 libQt5QmlDebug.prl
libQt53DAnimation.so.5.15 libQt5QmlDevTools.a
libQt53DAnimation.so.5.15.7 libQt5QmlDevTools.prl
libQt53DCore.prl libQt5QmlModels.prl
libQt53DCore.so libQt5QmlModels.so
libQt53DCore.so.5 libQt5QmlModels.so.5
libQt53DCore.so.5.15 libQt5QmlModels.so.5.15
libQt53DCore.so.5.15.7 libQt5QmlModels.so.5.15.7
libQt53DExtras.prl libQt5QmlWorkerScript.prl
libQt53DExtras.so libQt5QmlWorkerScript.so
libQt53DExtras.so.5 libQt5QmlWorkerScript.so.5
libQt53DExtras.so.5.15 libQt5QmlWorkerScript.so.5.15
libQt53DExtras.so.5.15.7 libQt5QmlWorkerScript.so.5.15.7
libQt53DInput.prl libQt5Quick.prl
libQt53DInput.so libQt5Quick.so
libQt53DInput.so.5 libQt5Quick.so.5
libQt53DInput.so.5.15 libQt5Quick.so.5.15
libQt53DInput.so.5.15.7 libQt5Quick.so.5.15.7
libQt53DLogic.prl libQt5Quick3D.prl
libQt53DLogic.so libQt5Quick3D.so
libQt53DLogic.so.5 libQt5Quick3D.so.5
libQt53DLogic.so.5.15 libQt5Quick3D.so.5.15
libQt53DLogic.so.5.15.7 libQt5Quick3D.so.5.15.7
libQt53DQuick.prl libQt5Quick3DAssetImport.prl
libQt53DQuick.so libQt5Quick3DAssetImport.so
libQt53DQuick.so.5 libQt5Quick3DAssetImport.so.5
libQt53DQuick.so.5.15 libQt5Quick3DAssetImport.so.5.15
libQt53DQuick.so.5.15.7 libQt5Quick3DAssetImport.so.5.15.7
libQt53DQuickAnimation.prl libQt5Quick3DRender.prl
libQt53DQuickAnimation.so libQt5Quick3DRender.so
libQt53DQuickAnimation.so.5 libQt5Quick3DRender.so.5
libQt53DQuickAnimation.so.5.15 libQt5Quick3DRender.so.5.15
libQt53DQuickAnimation.so.5.15.7 libQt5Quick3DRender.so.5.15.7
libQt53DQuickExtras.prl libQt5Quick3DRuntimeRender.prl
libQt53DQuickExtras.so libQt5Quick3DRuntimeRender.so
libQt53DQuickExtras.so.5 libQt5Quick3DRuntimeRender.so.5
libQt53DQuickExtras.so.5.15 libQt5Quick3DRuntimeRender.so.5.15
libQt53DQuickExtras.so.5.15.7 libQt5Quick3DRuntimeRender.so.5.15.7
libQt53DQuickInput.prl libQt5Quick3DUtils.prl
libQt53DQuickInput.so libQt5Quick3DUtils.so
libQt53DQuickInput.so.5 libQt5Quick3DUtils.so.5
libQt53DQuickInput.so.5.15 libQt5Quick3DUtils.so.5.15
libQt53DQuickInput.so.5.15.7 libQt5Quick3DUtils.so.5.15.7
libQt53DQuickRender.prl libQt5QuickControls2.prl
libQt53DQuickRender.so libQt5QuickControls2.so
libQt53DQuickRender.so.5 libQt5QuickControls2.so.5
libQt53DQuickRender.so.5.15 libQt5QuickControls2.so.5.15
libQt53DQuickRender.so.5.15.7 libQt5QuickControls2.so.5.15.7
libQt53DQuickScene2D.prl libQt5QuickParticles.prl
libQt53DQuickScene2D.so libQt5QuickParticles.so
libQt53DQuickScene2D.so.5 libQt5QuickParticles.so.5
libQt53DQuickScene2D.so.5.15 libQt5QuickParticles.so.5.15
libQt53DQuickScene2D.so.5.15.7 libQt5QuickParticles.so.5.15.7
libQt53DRender.prl libQt5QuickShapes.prl
libQt53DRender.so libQt5QuickShapes.so
libQt53DRender.so.5 libQt5QuickShapes.so.5
libQt53DRender.so.5.15 libQt5QuickShapes.so.5.15
libQt53DRender.so.5.15.7 libQt5QuickShapes.so.5.15.7
libQt5AccessibilitySupport.a libQt5QuickTemplates2.prl
libQt5AccessibilitySupport.prl libQt5QuickTemplates2.so
libQt5Bluetooth.prl libQt5QuickTemplates2.so.5
libQt5Bluetooth.so libQt5QuickTemplates2.so.5.15
libQt5Bluetooth.so.5 libQt5QuickTemplates2.so.5.15.7
libQt5Bluetooth.so.5.15 libQt5QuickTest.prl
libQt5Bluetooth.so.5.15.7 libQt5QuickTest.so
libQt5Bootstrap.a libQt5QuickTest.so.5
libQt5Bootstrap.prl libQt5QuickTest.so.5.15
libQt5Charts.prl libQt5QuickTest.so.5.15.7
libQt5Charts.so libQt5QuickWidgets.prl
libQt5Charts.so.5 libQt5QuickWidgets.so
libQt5Charts.so.5.15 libQt5QuickWidgets.so.5
libQt5Charts.so.5.15.7 libQt5QuickWidgets.so.5.15
libQt5Concurrent.prl libQt5QuickWidgets.so.5.15.7
libQt5Concurrent.so libQt5RemoteObjects.prl
libQt5Concurrent.so.5 libQt5RemoteObjects.so
libQt5Concurrent.so.5.15 libQt5RemoteObjects.so.5
libQt5Concurrent.so.5.15.7 libQt5RemoteObjects.so.5.15
libQt5Core.prl libQt5RemoteObjects.so.5.15.7
libQt5Core.so libQt5RepParser.prl
libQt5Core.so.5 libQt5Script.prl
libQt5Core.so.5.15 libQt5Script.so
libQt5Core.so.5.15.7 libQt5Script.so.5
libQt5DBus.prl libQt5Script.so.5.15
libQt5DBus.so libQt5Script.so.5.15.11
libQt5DBus.so.5 libQt5ScriptTools.prl
libQt5DBus.so.5.15 libQt5ScriptTools.so
libQt5DBus.so.5.15.7 libQt5ScriptTools.so.5
libQt5DataVisualization.prl libQt5ScriptTools.so.5.15
libQt5DataVisualization.so libQt5ScriptTools.so.5.15.11
libQt5DataVisualization.so.5 libQt5Scxml.prl
libQt5DataVisualization.so.5.15 libQt5Scxml.so
libQt5DataVisualization.so.5.15.7 libQt5Scxml.so.5
libQt5Designer.prl libQt5Scxml.so.5.15
libQt5Designer.so libQt5Scxml.so.5.15.7
libQt5Designer.so.5 libQt5Sensors.prl
libQt5Designer.so.5.15 libQt5Sensors.so
libQt5Designer.so.5.15.7 libQt5Sensors.so.5
libQt5DesignerComponents.prl libQt5Sensors.so.5.15
libQt5DesignerComponents.so libQt5Sensors.so.5.15.7
libQt5DesignerComponents.so.5 libQt5SerialBus.prl
libQt5DesignerComponents.so.5.15 libQt5SerialBus.so
libQt5DesignerComponents.so.5.15.7 libQt5SerialBus.so.5
libQt5DeviceDiscoverySupport.a libQt5SerialBus.so.5.15
libQt5DeviceDiscoverySupport.prl libQt5SerialBus.so.5.15.7
libQt5EdidSupport.a libQt5SerialPort.prl
libQt5EdidSupport.prl libQt5SerialPort.so
libQt5EglSupport.a libQt5SerialPort.so.5
libQt5EglSupport.prl libQt5SerialPort.so.5.15
libQt5EventDispatcherSupport.a libQt5SerialPort.so.5.15.7
libQt5EventDispatcherSupport.prl libQt5ServiceSupport.a
libQt5FbSupport.a libQt5ServiceSupport.prl
libQt5FbSupport.prl libQt5Sql.prl
libQt5FontDatabaseSupport.a libQt5Sql.so
libQt5FontDatabaseSupport.prl libQt5Sql.so.5
libQt5Gamepad.prl libQt5Sql.so.5.15
libQt5Gamepad.so libQt5Sql.so.5.15.7
libQt5Gamepad.so.5 libQt5Svg.prl
libQt5Gamepad.so.5.15 libQt5Svg.so
libQt5Gamepad.so.5.15.7 libQt5Svg.so.5
libQt5GlxSupport.a libQt5Svg.so.5.15
libQt5GlxSupport.prl libQt5Svg.so.5.15.7
libQt5Gui.prl libQt5Test.prl
libQt5Gui.so libQt5Test.so
libQt5Gui.so.5 libQt5Test.so.5
libQt5Gui.so.5.15 libQt5Test.so.5.15
libQt5Gui.so.5.15.7 libQt5Test.so.5.15.7
libQt5Help.prl libQt5TextToSpeech.prl
libQt5Help.so libQt5TextToSpeech.so
libQt5Help.so.5 libQt5TextToSpeech.so.5
libQt5Help.so.5.15 libQt5TextToSpeech.so.5.15
libQt5Help.so.5.15.7 libQt5TextToSpeech.so.5.15.7
libQt5HunspellInputMethod.prl libQt5ThemeSupport.a
libQt5HunspellInputMethod.so libQt5ThemeSupport.prl
libQt5HunspellInputMethod.so.5 libQt5UiPlugin.prl
libQt5HunspellInputMethod.so.5.15 libQt5UiTools.a
libQt5HunspellInputMethod.so.5.15.7 libQt5UiTools.prl
libQt5InputSupport.a libQt5VirtualKeyboard.prl
libQt5InputSupport.prl libQt5VirtualKeyboard.so
libQt5KmsSupport.a libQt5VirtualKeyboard.so.5
libQt5KmsSupport.prl libQt5VirtualKeyboard.so.5.15
libQt5LinuxAccessibilitySupport.a libQt5VirtualKeyboard.so.5.15.7
libQt5LinuxAccessibilitySupport.prl libQt5VulkanSupport.a
libQt5Location.prl libQt5VulkanSupport.prl
libQt5Location.so libQt5WaylandClient.prl
libQt5Location.so.5 libQt5WaylandClient.so
libQt5Location.so.5.15 libQt5WaylandClient.so.5
libQt5Location.so.5.15.7 libQt5WaylandClient.so.5.15
libQt5Multimedia.prl libQt5WaylandClient.so.5.15.7
libQt5Multimedia.so libQt5WaylandCompositor.prl
libQt5Multimedia.so.5 libQt5WaylandCompositor.so
libQt5Multimedia.so.5.15 libQt5WaylandCompositor.so.5
libQt5Multimedia.so.5.15.7 libQt5WaylandCompositor.so.5.15
libQt5MultimediaGstTools.prl libQt5WaylandCompositor.so.5.15.7
libQt5MultimediaGstTools.so libQt5WebChannel.prl
libQt5MultimediaGstTools.so.5 libQt5WebChannel.so
libQt5MultimediaGstTools.so.5.15 libQt5WebChannel.so.5
libQt5MultimediaGstTools.so.5.15.7 libQt5WebChannel.so.5.15
libQt5MultimediaQuick.prl libQt5WebChannel.so.5.15.7
libQt5MultimediaQuick.so libQt5WebEngine.prl
libQt5MultimediaQuick.so.5 libQt5WebEngine.so
libQt5MultimediaQuick.so.5.15 libQt5WebEngine.so.5
libQt5MultimediaQuick.so.5.15.7 libQt5WebEngine.so.5.15
libQt5MultimediaWidgets.prl libQt5WebEngine.so.5.15.2
libQt5MultimediaWidgets.so libQt5WebEngineCore.prl
libQt5MultimediaWidgets.so.5 libQt5WebEngineCore.so
libQt5MultimediaWidgets.so.5.15 libQt5WebEngineCore.so.5
libQt5MultimediaWidgets.so.5.15.7 libQt5WebEngineCore.so.5.15
libQt5Network.prl libQt5WebEngineCore.so.5.15.2
libQt5Network.so libQt5WebEngineWidgets.prl
libQt5Network.so.5 libQt5WebEngineWidgets.so
libQt5Network.so.5.15 libQt5WebEngineWidgets.so.5
libQt5Network.so.5.15.7 libQt5WebEngineWidgets.so.5.15
libQt5NetworkAuth.prl libQt5WebEngineWidgets.so.5.15.2
libQt5NetworkAuth.so libQt5WebKit.so
libQt5NetworkAuth.so.5 libQt5WebKit.so.5
libQt5NetworkAuth.so.5.15 libQt5WebKit.so.5.212.0
libQt5NetworkAuth.so.5.15.7 libQt5WebKitWidgets.so
libQt5Nfc.prl libQt5WebKitWidgets.so.5
libQt5Nfc.so libQt5WebKitWidgets.so.5.212.0
libQt5Nfc.so.5 libQt5WebSockets.prl
libQt5Nfc.so.5.15 libQt5WebSockets.so
libQt5Nfc.so.5.15.7 libQt5WebSockets.so.5
libQt5OpenGL.prl libQt5WebSockets.so.5.15
libQt5OpenGL.so libQt5WebSockets.so.5.15.7
libQt5OpenGL.so.5 libQt5WebView.prl
libQt5OpenGL.so.5.15 libQt5WebView.so
libQt5OpenGL.so.5.15.7 libQt5WebView.so.5
libQt5OpenGLExtensions.a libQt5WebView.so.5.15
libQt5OpenGLExtensions.prl libQt5WebView.so.5.15.7
libQt5PacketProtocol.a libQt5Widgets.prl
libQt5PacketProtocol.prl libQt5Widgets.so
libQt5Pas.so libQt5Widgets.so.5
libQt5Pas.so.1 libQt5Widgets.so.5.15
libQt5Pas.so.1.2 libQt5Widgets.so.5.15.7
libQt5Pas.so.1.2.9 libQt5X11Extras.prl
libQt5Pdf.prl libQt5X11Extras.so
libQt5Pdf.so libQt5X11Extras.so.5
libQt5Pdf.so.5 libQt5X11Extras.so.5.15
libQt5Pdf.so.5.15 libQt5X11Extras.so.5.15.7
libQt5Pdf.so.5.15.2 libQt5XcbQpa.prl
libQt5PdfWidgets.prl libQt5XcbQpa.so
libQt5PdfWidgets.so libQt5XcbQpa.so.5
libQt5PdfWidgets.so.5 libQt5XcbQpa.so.5.15
libQt5PdfWidgets.so.5.15 libQt5XcbQpa.so.5.15.7
libQt5PdfWidgets.so.5.15.2 libQt5XkbCommonSupport.a
libQt5PlatformCompositorSupport.a libQt5XkbCommonSupport.prl
libQt5PlatformCompositorSupport.prl libQt5Xml.prl
libQt5Positioning.prl libQt5Xml.so
libQt5Positioning.so libQt5Xml.so.5
libQt5Positioning.so.5 libQt5Xml.so.5.15
libQt5Positioning.so.5.15 libQt5Xml.so.5.15.7
libQt5Positioning.so.5.15.7 libQt5XmlPatterns.prl
libQt5PositioningQuick.prl libQt5XmlPatterns.so
libQt5PositioningQuick.so libQt5XmlPatterns.so.5
libQt5PositioningQuick.so.5 libQt5XmlPatterns.so.5.15
libQt5PositioningQuick.so.5.15 libQt5XmlPatterns.so.5.15.7
libQt5PositioningQuick.so.5.15.7 libqscintilla2_qt5.so
libQt5PrintSupport.prl libqscintilla2_qt5.so.15
libQt5PrintSupport.so libqscintilla2_qt5.so.15.1
libQt5PrintSupport.so.5 libqscintilla2_qt5.so.15.1.1
libQt5PrintSupport.so.5.15 metatypes
libQt5PrintSupport.so.5.15.7 mkspecs
libQt5Qml.prl plugins
libQt5Qml.so qml
libQt5Qml.so.5
The last commit added a library search path, which might resolve this
It works! :+1:
Thank you very much for your help and for your patience.
Glad it was resolved! Hope nimqt will be useful to you :)
Reference: