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
Can't build vsedit on QtCreator on Ubuntu 20.04 #17
Comments
In certain distros there's a standalone debug version for Qt. I never tested with debug build though. To build following the instructions on Ubuntu 20.04: install libqt5websockets5-dev, and run qmake in the pro folder |
I installed libqt5websockets5-dev ( okay, just noticed this does happen with other projects too -> seems like there's some thing wrong with the qt or compiler setup. |
I setup a new 20.04 install and I got a lot further.
any idea how get libp2p to compile? |
Looks weird to me, because I did successfully build it in a x64 Ubuntu 20.04. You may first try building libp2p with its GNU Makefile |
that works fine,..
since I accidentially reverted all ma adjustements I have to do them again to be Qt5.12.8 compatible (which is the default Qt that comes with Ubuntu 20.04) |
It seems the building failed because |
that might be the case, not totally sure |
for the code to compile on Ubuntu 20.04 with standard qt one needs to do the following changes:
did those quick&dirty, but you should include them with:
and
for qt5.9.5 (latest on Ubuntu 18.04) some additional changes are needed. |
Thanks. Some of these changes have been made because they are deprecated in a recent version of Qt5 (or even since Qt4), and will probably be broken in Qt6, see #6. I will check building in 20.04 again. But if you have As for 18.04, I will probably not install it to take a test. But I guess reverting 86cb204 (the last commit in the ref list of #6) should be enough. |
that is why one usually uses pre-compiler compiler statements. Personally I can to the changes myself, but for others it would be better to use pre-compiler statements to stay compatible with current linux distributions. |
Now have building in 18.04 fixed as well (in WSL, shamelessly...) |
When opening 'apoursynth-editor-2/pro/vsedit/vsedit.pro' in QtCreator and running qmake it uses
qmake vsedit.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
and I get
Project ERROR: failed to parse default search paths from compiler output
also tried to build it using the build instructions without qtcreator, but that failed to.
The text was updated successfully, but these errors were encountered: