Compiling

33 views
Skip to first unread message

Peachy

unread,
Sep 1, 2023, 5:28:38 AM9/1/23
to qxmledit-discuss
How do i compile? I tried running compile but it gives me these errors

lrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
lrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
lrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
make: *** No targets specified and no makefile found.  Stop.

I am not a coder, so please explain like im an idiot and have no dependencies or anything. I tried the windows release on wine but it doesnt work so well, and i cannot see anything in the documentation about what steps to take if the compile fails.
thanks

Luca Bellonda

unread,
Sep 3, 2023, 2:55:29 PM9/3/23
to qxmledit...@googlegroups.com
Hello, please answer these questions:
- what operating system are you compiling for?
-how and where did you install the Qt development packages?
-what operating system are you using?


From the messages I think it's Linux, however here's what you can do:
Qt 4 or 5 development packages must be installed. On Windows you can use the distribution with "mingw_48" (I compile for 32 bit). In Linux you can use your package manager to install the qt-5-devel* packages or you can download a Qt distribution with QTCreator from the Qt site.

In the "compile" script the most important part is the invocation of qmake, lrelease is used only for translations.
On Linux sometimes qmake has a different name which allows you to use different versions of Qt in parallel.
Depending on your installation, it may be called qmake-5 or something similar.

Best regards


--
You received this message because you are subscribed to the Google Groups "qxmledit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qxmledit-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qxmledit-discuss/a2e63ace-121d-4d0d-98b6-5592d2076a03n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages