Fix execution on Linux. Brocken by windows only darkmode args in #278#284
Conversation
main.cpp
Outdated
There was a problem hiding this comment.
also change to #ifdef _WIN32 to be coherent with the rest of the code please
|
You are not wasting time. Feedback is welcome. Build on linux was passing on continuous integration so I'm suprised this change is needed to build. |
|
DFTFringe built fine without this change. But it did not run. |
|
I did not try to pass the platform flag before making the source change though, assuming the auto-prepending would override my flag. |
|
I confirm builds fine but no execution I agree the correct way to address is code change. Do you want me to do the PR or you do the modification of yours ? |
|
I will make the changes according to your comments if that's fine for you |
That's preferred. I want you to get credit and it's always good to see more "authors" on this project. Thanks for testing and finding the fix. Do you use Ubuntu or some other flavor of linux? |
|
Hi, |
|
Also, for some reason, the README instructions did not work as-is on my distro. |
Indeed README is correct and works on CI and my computer. I don't know how to address this. |
I can maybe add a conditional to the README in another PR ? Ex : Note : if the second invocation of qmake, at the root of the source directory does not succeed, you might need to explicitly pass the project file, |
Do an other PR and just update the README with the pedentic version. It doesn't harm. No need for notes nobody will read. |
|
Windows build fails because PR comes from a fork. It's fine though. |
|
How is it that merge is allowed even though there is a failing check? |
I usually disable this as you expect but this is a config only Dale has access to (because its githubdoe personal orga and not a real collaborative orga). |
Hello,
I do not know anything about QT nor windows development in general, so this might be wrong. To build and run on linux without passing a platform flag, I have been forced to add those preprocessor directives. This might not be the correct way to fix this, and it might even be a documentation / README issue ?
Let me know if more information is needed to determine if this is specific to my system or not. Hope I am not wasting anyone's time here.