Skip to content

switch to Qt5.#17

Open
tsteven4 wants to merge 3 commits intoghewgill:masterfrom
tsteven4:master
Open

switch to Qt5.#17
tsteven4 wants to merge 3 commits intoghewgill:masterfrom
tsteven4:master

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