Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGraphicsDropShadowEffect prevents OSM to display properly
I am using a QDockWidget and a custom class.
The class has a QQuickWidget with an OpenStreetMap(OSM), frame, button and shadow.
The frame consists of the OSM and button.
The frame is set to the QDockWidget.
I use setGraphicsEffect og the qdockwidget with the shadow.
I am unable to use the OSM properly if i set the shadow to enabled. If disabled, it works properly.
If the shadow is eabled and I tried moving the map, it will not show that the map is moved. But if i were to disable it, the map will show the new location while i was previously moving.
Thanks in advance!
Hi and welcome to devnet,
You should add which version of Qt you are using as well as OS and compiler.
@SGaist Hi, I'm using Qt Creator 4.9.2 Community on Windows 10. I simply use Qt itself as my compiler.
Qt itself as my compiler
Qt is not a compiler, it is a C++ framework. So, do you use MinGW or Microsoft C++ compiler? "Qt Creator 4.9.2" - this is version of the QtCreator IDE which is not Qt. Which Qt version did you install?
@jsulm my bad. QT 5.13 Microsoft C++.
Fixed. Use QQuickView instead of QQuickWidget