Open pedroafabri opened 5 years ago
Same issue on Catalina with qt 5.15.1 (though admittedly https://github.com/christopherpow/nesicide/ mandates Qt 5.12.6...)
I don't have the bandwidth to test moving to a new Qt version, but the SDL.h dependency should be located in the dependencies package that the build script downloads -- shouldn't be related to Qt version.
@christopherpow ah, I think I figured out my issue:
- wget -q https://knob.phreneticappsllc.com/nesicide/nesicide-deps.tar.bz2
+ curl --silent https://knob.phreneticappsllc.com/nesicide/nesicide-deps.tar.bz2 --output nesicide-deps.tar.bz2
Prefer curl
, since wget
is not guaranteed to be available.
Also, adding set -e
would have bubbled up that wget
is not available.
Though now my build is failing with:
../../common/cqtmfc.cpp:3682:17: error: variable has incomplete type 'QPainterPath'
QPainterPath path;
which I suspect is a genuine Qt version issue.
Hmm, though or that one, I found a similar bug report here:
https://github.com/qgis/QGIS/issues/37005
and as suggested, I added #include <QPainterPath>
to cqtmfc.h
, which seemed to fix that build issue.
Yes that must be a Qt version issue as it builds fine with the recommended version. wget is available in both Travis and AppVeyor environments so I used it.
I'm using MacOs 10.14.5. Qt 5.6.2
Cloned the repo, fixed some minor stuff and got stuck at this error:
What I've changed in the project so far:
I've updated the ./osx-build.sh to look for the files in the correct directory and added "NULL" at QAction constructor, although I know nothing about QT.
But, after all that, got stuck at this error.