Fix win11 arm64#4776
Conversation
|
Great PR! Please pay attention to the following items before merging: Files matching
Files matching
This is an automatically generated QA checklist based on modified files. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
With some help from the ASCOM developers we found that we need a sidecar file Where should this go in the repo (inside ASCOM sources?), and how do I ensure it is being copied to the install folder? In addition, apparently this use of ASCOM based on .NET requires a signed program to run without interference of 'Smart App Control'. I am in the process of upgrading qDebug() etc into qCDebug(Telescopes) and decide what's debug and what's a warning, but this should go into all parts of the plugin, will take a few days longer. We can then finetune also this plugin, with qCWarning as default. |
|
@gzotti it’s an easy - please see similar files in |
|
Now I am back at the coding style issue. Using the .clang-format, indentation works with tabs. When I store the file, tabs are replaced by 8 spaces. Where is the switch to fix that nonsense? EDIT: Bah, found it. Preferences/Text Editor/Cleanups Upon Saving. Disable "Clean indentation". |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Yes, we can do it, but I'm not sure that we need overengineering here... |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
|
OK, could you prepare the branch to merge? |
|
Yes, will do tonight. |
The ARM64 is the first system where I need scaling !=1. On startup the main window is shrinking (Arm64 and amd64). This fix prevents the shrinking. It seems another Windows/Linux difference.
- logging categories - separate debug from warnings - More diagnostics.
|
I squashed a few commits where mostly typos and early build failures were involved. Should I squash the numerous appveyor-and-cmakefile-only commits into just one? |
At next step you want to use squash or rebase? |
|
I think we should rebase-merge the branch to keep the few interesting "content" commits (changes for Arm integration, ASCOM stuff, windows screen scaling change) separate. Of course, some more of the 18 last commits (appveyor and CMakeFiles only) commits can still be squashed before merge when the result of an experimental change in the CI settings was just a failed CI run. In the end I would keep most comments in the appveyor file for reference when continuing raising Qt version for the arm build after the 26.1 release. When Arm builds on Qt6.10 I will be more than happy to remove the now-commented out "poke the CI for info what's happening" parts. What about the two windeployqt runs in src/CMakeLists.txt? Should they have the same arguments? |
this is two different cases for windeployqt ;) |
|
I can see that. GENERATE_STELMAINLIB=false for MSVC, so the second call is almost never executed (only when doing private builds on MSYS? But never on appveyor/MSVC configs), and therefore maybe some arguments have not been added/updated in the last few years. Still, is it useful to add qt_paths, or set verbosity level? |
Yes, of course it’s useful - in any way (MSVC or MinGW/MSYS) windeployqt is called for packaging (MinGW/arm64 is working too) |
- revert to Qt6.5 because 6.9 has issues running windeployqt - 6.10 would be preferred to have QtWebEngine and QtTextToSpeech After much experimentation, most changes have been removed or commented away for experiments post-26.1. In between, we had: - enable some verbosity for deployment on Windows - updates $PATH - Create qtstuff directory even if empty - try triggering windeployqt manually - Exclude all plugins to speed up building while trying to understand the build process - where is the program? - try to call windeployqt manually and see what happens
|
What's the problem in the Mac/Qt5 build now? |
Troubles in qt5 package, please ignore it at the moment |
|
OK. Should we do one final test before merge? Else it's ready IMO. |
|
It's ready to merge IMHO |
|
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
|
Hello @gzotti! Please check the latest stable version of Stellarium: |
Description
This shall include fixes identified during testing work on Arm64 hardware donated by Microsoft.
Apart from the tests listed in #4772, getting ASCOM to play nice seems the largest issue. :-(
Fixes #4772 (issue)
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: