-
Notifications
You must be signed in to change notification settings - Fork 213
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
Qucs from AppVeyor has severe graphics issues #958
Comments
I've done some experiment but still it's not clear where this issue comes from:
|
It looks like problem comes from Qt: |
uh, thanks! - apparently my google-fu was weak. |
Determining the reasons for crashes (null pointer dereference in this case) is not so hard usually. |
Patching of the But I completely don't know how to integrate such fix into build system. |
On Wed, Apr 08, 2020 at 08:23:50AM -0700, Vort wrote:
But I completely don't know how to integrate such fix into build system.
Write a test against the condition. Integrate it with configure. Error
out if the problem exist. I.e. simply don't build anything.
Your test will pass, as soon as they have fixed the problem (I expect
they will). The test should also pass with gcc-8, so use that in the
meantime.
(If it's not worth the trouble: list the broken compiler/qt version
number combination in the list of (un)supported compilers.)
|
Looks like this will never happen. So I see 3 options:
It is also possible to switch to Clang, but they can also copy GCC behaviour eventually. |
On Wed, Apr 08, 2020 at 09:27:16AM -0700, Vort wrote:
> Your test will pass, as soon as they have fixed the problem
Looks like this will never happen.
Both from GCC and Qt sides.
So I see 3 options:
1. Upgrade to Qt5.
2. Fix Qt4 manually.
3. Use old GCC version.
It is also possible to switch to Clang, but they can also copy GCC behaviour eventually.
If this happens, then I would even more expect that they will fix qt4.
Note the multiple possible values of "they" here.
I like 3 best, especially because of 1 (Where your time is better
spent). If you fancy 2, try this:
- find a way to detect if the problem exists.
- add a directory "contrib/include" to the repo, containing fixed header(s).
- pass -I${top_build_dir}/contrib/include to the preprocessor as needed.
Nested include statements within Qt might be a pain. Watch your step.
|
IMHO, you can simply put a patch in |
see here.
Since fixing the Appveyor build both the 32 b and the 64 b builds have issues with the schematic graphic.
I've compared the AppVeyor latest build log with the one from 7 months ago (last successful before removal of Qt4 package from MSYS2) and didn't see any significant difference. The old artifact is no longer available, unfortunately.
The text was updated successfully, but these errors were encountered: