Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking forward to Qt6 Compatability... #1717

Open
jiapei100 opened this issue Dec 10, 2023 · 4 comments
Open

Looking forward to Qt6 Compatability... #1717

jiapei100 opened this issue Dec 10, 2023 · 4 comments

Comments

@jiapei100
Copy link

Looking forward to Qt6 Compatability...

Expected behavior

Compatible with Qt 6.6.1

Observed behavior

Failed to build from source for now

Steps to reproduce or sample file

Just build with Qt 6.6.1, for instance:

lib/filters/rs_filterdxfrw.cpp:28:10: fatal error: 'QTextCodec' file not found
   28 | #include <QTextCodec>
      |          ^~~~~~~~~~~~
lib/filters/rs_filterjww.cpp:27:10: fatal error: 'QTextCodec' file not found
   27 | #include <QTextCodec>

Operating System and LibreCAD version info

~ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

with LibreCAD 2.2.0.2...

Cheers

@dongxuli-concord-design

We have a qt6 branch at GitHub. It should build at least.

Please help improve qt6 support by using it.

@jiapei100
Copy link
Author

@dongxuli-concord-design

Successfully built... Thank you ...

@jiapei100
Copy link
Author

But, where is the installation???
After my installation, I only found:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/librecad
/usr/share/doc/librecad/LICENSE
/usr/share/doc/librecad/README.md

are installed. Where are those libraries and executables that should also be installed????

@jiapei100 jiapei100 reopened this Dec 10, 2023
@dxli
Copy link
Member

dxli commented Mar 30, 2024

How did you install?

https://docs.librecad.org/en/latest/appx/build.html

For linux, do the following in the LibreCAD source code top folder(assuming your way to qt6 qmake is qmake6)

qmake6 -r
make distclean
qmake6 -r
make -j8
unix/librecad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants