Thread: Preview failure
View Single Post
Old 01-28-2025, 01:01 PM   #26
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,915
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by guhangsong View Post
Thanks for your advice, I use https://github.com/yuezk/macenv to set the env for GUI app, and now the preview works normally, though there is no margin in the view.
Thanks for reporting back. That it worked would imply that there's something wrong with the default "Metal" implementation on your Mac.

The default for that backend is metal on macOS, d3d11 on Windows, and opengl elsewhere. I'd love to hear if the same issue on the earlier Windows report could be fixed this same way.

There's more environment variables (many for debugging purposes) that can be found here: https://doc.qt.io/qt-6/qtquick-visua...ware-interface

Last edited by DiapDealer; 01-28-2025 at 01:04 PM.
DiapDealer is offline   Reply With Quote