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

switch to Qt5. #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

switch to Qt5. #17

wants to merge 3 commits into from

Conversation

tsteven4
Copy link

@tsteven4 tsteven4 commented Jan 12, 2021

This is a minimal set of changes to get working with Qt5. It may no longer work with Qt4.

The change in the arguments for the class HP15C constructor is required to avoid a segmentation fault on ubuntu focal (Qt 5.12.8).

Further changes to HP15C.pro are possible if there is interest (delete INCLUDEPATH, DEPENDPATH) Done.

Please let me know where you want to go with this.

@tsteven4
Copy link
Author

I also note that the Qt Script module is not actively developed and is provided for Qt4 compatibility only. I could look at replacing it with QJSEngine as another PR.

regenerate includes withc include-what-you-use.
fix clazy warning function-args-by-ref.
suppress compiler warnings about function parameters.
@tsteven4
Copy link
Author

I have built the Qt executable on windows 10 with Qt 5.12.10.
I have built the Qt executable on ubuntu focal with Qt 5.12.8.
Both pass the built in tests.

The include-what-you-use Qt mapping files aren't perfect.
Perfer to use includes as documented by Qt.
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

Successfully merging this pull request may close these issues.

1 participant