Thread: Possible bug?
View Single Post
Old 09-10-2021, 12:14 PM   #69
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
I looked at:

qtbase/src/plugins/platforms/windows/qwindowsintegration.cpp

And that is in the QPA platform plugin code and it is where that command line option is processed:

QWindowIntegration::DetectAltGrModifier but unless we use the QCommandLine processor and somehow in main.cpp before opening the QApplication we try and append "-platform windows:altgr" to the actual command line arguments, it might work but ... I am not sure even then it would be early enough.

Perhaps there is no easy way other than what the Sigil User's guide approach recommends.

Last edited by KevinH; 09-10-2021 at 12:17 PM.
KevinH is offline   Reply With Quote