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
[port] Port to QtQuick2/Qt5 #6
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| [Desktop Entry] | ||
| Encoding=UTF-8 | ||
| Version=1.0 | ||
| Type=Application | ||
| Terminal=false | ||
| Name=Calendar | ||
| Exec=/usr/bin/single-instance /opt/qmlcalendar/bin/qmlcalendar | ||
| Categories=Applications; | ||
| Exec=invoker --type=qtcomponents-qt5 -s /opt/qmlcalendar/bin/qmlcalendar | ||
| Icon=/usr/share/icons/hicolor/80x80/apps/qmlcalendar.png | ||
| X-Window-Icon= | ||
| X-HildonDesk-ShowInToolbar=true | ||
| X-Osso-Type=application/x-executable | ||
|
|
||
| X-Desktop-File-Install-Version=0.20 | ||
|
|
||
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 |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| Name: qmlcalendar | ||
| Summary: Calendar application made with QML | ||
| Version: 0.2.0 | ||
| Version: 0.3 | ||
| Release: 1 | ||
| Group: Applications/System | ||
| License: BSD | ||
|
|
@@ -10,14 +10,18 @@ Sources: | |
| Description: Calendar application written using QML. | ||
|
|
||
| PkgConfigBR: | ||
| - QtDeclarative | ||
| - QtOrganizer | ||
| - Qt5Core | ||
| - Qt5Quick | ||
| - Qt5Qml | ||
| - Qt5Organizer | ||
| - qdeclarative5-boostable | ||
| Requires: | ||
| - libdeclarative-organizer | ||
| - mkcal >= 0.3.11 | ||
| - qt-components | ||
| - qt5-qtdeclarative-pim-organizer | ||
|
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. libdeclarative-organizer is a Qt4 package. It's replaced by qt5-qtdeclarative-pim-organizer, so it should be removed. |
||
| - mkcal-qt5 | ||
| - qt-components-qt5 | ||
| - mapplauncherd-booster-qtcomponents-qt5 | ||
| Configure: none | ||
| Builder: qmake | ||
| Builder: qmake5 | ||
| Files: | ||
| - "/lib/systemd/system/calenderr.service" | ||
| - "/opt/%{name}" | ||
|
|
||
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.
This is wrong. If you'd like to use the qtcomponents-qt5 booster, you must add PKGCONFIG += qdeclarative5-boostable and the MDeclarativeCache usage in main.cpp. Other projects like qmlcalc should have examples of what to do.
Or, that can be a separate change later and this line can be left unchanged.
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.
Ok I shall add boostable soon after (even though now the app launches without problems). Would you like me to add boostable commit to this PR?
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.
If it's ready quickly, sure. Otherwise, a separate PR would be fine.
It will still launch without problems, but it's much slower: first the qtcomponents-qt5 booster is failing to launch, then it falls back to a direct unboosted launch.
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.
Ok, boosted in the same PR. All tested, works
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.
Thanks!