Skip to content
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

Compilation error on QVersionNumber... #744

Closed
vanasten opened this issue Nov 25, 2020 · 2 comments
Closed

Compilation error on QVersionNumber... #744

vanasten opened this issue Nov 25, 2020 · 2 comments

Comments

@vanasten
Copy link

At an Ubuntu-20.04 system, I got this compilation error while compiling Jamulus-3.6.1;
(qmake "CONFIG+=nosound headless" Jamulus.pro; make clean; make)
(former compilations worked; all dependencies are satisfied)

src/serverlist.cpp: In member function ‘void CServerListManager::CentralServerRegisterServer(const CHostAddress&, const CHostAddress&, const CServerCoreInfo&, QString)’:
src/serverlist.cpp:315:18: error: ‘QVersionNumber’ has not been declared
315 | QVersionNumber::compare ( QVersionNumber::fromString ( strMinServerVersion ), QVersionNumber::fromString ( strVersion ) ) > 0 )
| ^~~~~~~~~~~~~~
src/serverlist.cpp:315:44: error: ‘QVersionNumber’ has not been declared
315 | QVersionNumber::compare ( QVersionNumber::fromString ( strMinServerVersion ), QVersionNumber::fromString ( strVersion ) ) > 0 )
| ^~~~~~~~~~~~~~
src/serverlist.cpp:315:96: error: ‘QVersionNumber’ has not been declared
315 | QVersionNumber::compare ( QVersionNumber::fromString ( strMinServerVersion ), QVersionNumber::fromString ( strVersion ) ) > 0 )
| ^~~~~~~~~~~~~~
make: *** [Makefile:10990: serverlist.o] Error 1

@pljones
Copy link
Collaborator

pljones commented Nov 25, 2020

See #686 and #736 - please use the latest git source or update your Qt to 5.13 or later.

@corrados
Copy link
Contributor

Referring to #736 (comment), I'll close this one.

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

No branches or pull requests

3 participants