-
Notifications
You must be signed in to change notification settings - Fork 176
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
Use Qt 5.12.3 to work around macOS issues. #1558
Draft
JulianGro
wants to merge
48
commits into
vircadia:master
Choose a base branch
from
JulianGro:macOS_old_Qt
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
125841a
Remove the HiFiAC codec
daleglass 61ba1f3
Reinstate partial backwards compatibility with Qt 5.12.3
JulianGro 2275c61
Use Qt 5.12.3 for macOS to work around issue https://github.com/virca…
JulianGro 058b903
Fix Qt 5.12.3 type errors
ctrlaltdavid 28c736e
Add old Qt packages for manual selection.
JulianGro 5a09064
Add metaverse server field on the login screen
b5258ea
Fix height, tabbing, and other stuff
3d0c5e2
Fix some anchors and add logging
d2f8780
Tell the AccountManager that the auth URL changed
d2f0583
Remove duplicate setAuthURL declaration
4e399ed
Merge remote-tracking branch 'origin/master' into remove-hifiac
ksuprynowicz bf48bf0
Merge branch 'vircadia:master' into tell-accountmanager-url-changed
ksuprynowicz ee77811
Fixed build error due to lack of hifiac
ksuprynowicz 30806ce
Inform AccountManager about metaverse server change
ksuprynowicz 000166b
Update Metaverse server URL on focus change
ksuprynowicz 7db3017
Adding "Places" application
AleziaKurdis 53d1824
Replace "Explore" by "Places" application.
AleziaKurdis df68f5c
Merge branch 'master' into remove-hifiac
ksuprynowicz e2d7e55
Merge branch 'master' into tell-accountmanager-url-changed
ksuprynowicz a91e026
Copyright Adjustment
AleziaKurdis f8083ee
Copyright adjustment
AleziaKurdis 7af288c
Update domain-server/resources/describe-settings.json
daleglass 3bda3af
typo on function name filterSearchField
AleziaKurdis b262546
Merge pull request #1 from overte-org/remove-hifiac
ksuprynowicz 8ff6e9a
Merge pull request #3 from AleziaKurdis/feature/Places-app
ksuprynowicz dc29dc4
Clear password on metaverse server change
ksuprynowicz 6a81255
Merge branch 'tell-accountmanager-url-changed' of https://github.com/…
ksuprynowicz e6b78fd
Merge pull request #2 from overte-org/tell-accountmanager-url-changed
ksuprynowicz 0e69da9
update teh MS for Overte
AleziaKurdis 79ecad6
Merge pull request #5 from AleziaKurdis/fix/OverteInFederation
ksuprynowicz f97b1df
Ressources rebranding for Overte
AleziaKurdis 990b4f2
Replace by brand-banner.svg
AleziaKurdis 9b1958e
Replaced by brand-logo.svg
AleziaKurdis ae3f241
Delete VircadiaLogo.fbx
AleziaKurdis b10d7af
Delete vircadia.png
AleziaKurdis 43b5e83
Delete vircadia-logo-1880.png
AleziaKurdis c6f1e64
Updated some URLs, rebranded documentation and changed default metave…
ksuprynowicz 1ab6f17
Replaced the rest of metaverse addresses
ksuprynowicz 55dac33
Merge remote-tracking branch 'origin/master' into overte_rebranding
ksuprynowicz c214d56
Rebranded Resources for the installer
AleziaKurdis 026cc62
New Overte logo in a better size and spacing
AleziaKurdis 1191168
Fix server-console and ICE server address
ksuprynowicz 2400bc9
Adjustment for Logo ratio
AleziaKurdis bd457cc
Revert "Adjustment for Logo ratio"
ksuprynowicz ceb5456
Logo ratio adjustment
AleziaKurdis 7e6fcda
Merge pull request #13 from AleziaKurdis/overte_rebranding
ksuprynowicz 92907bd
Clean up Qt compatibility code
JulianGro 0e8e691
Merge branch 'master' into macOS_old_Qt
JulianGro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -738,7 +738,11 @@ Mapping::Pointer UserInputMapper::newMapping(const QString& mappingName) { | |
// if (request->getResult() == ResourceRequest::Success) { | ||
// result = parseMapping(QString(request->getData())); | ||
// } else { | ||
// #if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) | ||
// qCWarning(controllers) << "Failed to load mapping url <" << jsonUrl << ">" << endl; | ||
// #else | ||
// qCWarning(controllers) << "Failed to load mapping url <" << jsonUrl << ">" << Qt::endl; | ||
// #endif | ||
// } | ||
// request->deleteLater(); | ||
// } | ||
|
@@ -1177,13 +1181,22 @@ Mapping::Pointer UserInputMapper::parseMapping(const QString& json) { | |
if (doc.isNull()) { | ||
qCDebug(controllers) << "Invalid JSON...\n"; | ||
qCDebug(controllers) << error.errorString(); | ||
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) | ||
qCDebug(controllers) << "JSON was:\n" << json << endl; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could do something like:
|
||
#else | ||
qCDebug(controllers) << "JSON was:\n" << json << Qt::endl; | ||
#endif | ||
return Mapping::Pointer(); | ||
} | ||
|
||
if (!doc.isObject()) { | ||
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) | ||
qWarning() << "Mapping json Document is not an object" << endl; | ||
qCDebug(controllers) << "JSON was:\n" << json << endl; | ||
#else | ||
qWarning() << "Mapping json Document is not an object" << Qt::endl; | ||
qCDebug(controllers) << "JSON was:\n" << json << Qt::endl; | ||
#endif | ||
return Mapping::Pointer(); | ||
} | ||
return parseMapping(doc.object()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding a new header/source file, something like QtCompatibility.h, and implementing some of the functionality there. That'll result in a smaller and cleaner patch. For instance, something like this:
And with just that, things get smaller and nicer.