Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGraphicsDropShadowEffect prevents OSM to display properly

QGraphicsDropShadowEffect prevents OSM to display properly

Scheduled Pinned Locked Moved Solved General and Desktop
qgraphicsdropshshadowqquickwidgetqdockwidget
6 Posts 3 Posters 900 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haikalsyed
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should add which version of Qt you are using as well as OS and compiler.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should add which version of Qt you are using as well as OS and compiler.

        H Offline
        H Offline
        haikalsyed
        wrote on last edited by
        #3

        @SGaist Hi, I'm using Qt Creator 4.9.2 Community on Windows 10. I simply use Qt itself as my compiler.

        jsulmJ 1 Reply Last reply
        1
        • H haikalsyed

          @SGaist Hi, I'm using Qt Creator 4.9.2 Community on Windows 10. I simply use Qt itself as my compiler.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @haikalsyed said in QGraphicsDropShadowEffect prevents OSM to display properly:

          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?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          H 1 Reply Last reply
          2
          • jsulmJ jsulm

            @haikalsyed said in QGraphicsDropShadowEffect prevents OSM to display properly:

            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?

            H Offline
            H Offline
            haikalsyed
            wrote on last edited by
            #5

            @jsulm my bad. QT 5.13 Microsoft C++.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              haikalsyed
              wrote on last edited by
              #6

              Fixed. Use QQuickView instead of QQuickWidget

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved