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 894 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 15 Jul 2019, 08:37 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Jul 2019, 18:19 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 16 Jul 2019, 01:59
      1
      • S SGaist
        15 Jul 2019, 18:19

        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 16 Jul 2019, 01:59 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.

        J 1 Reply Last reply 16 Jul 2019, 04:23
        1
        • H haikalsyed
          16 Jul 2019, 01:59

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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 16 Jul 2019, 04:23 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 16 Jul 2019, 06:54
          2
          • J jsulm
            16 Jul 2019, 04:23

            @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 16 Jul 2019, 06:54 last edited by
            #5

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

            1 Reply Last reply
            0
            • H Offline
              H Offline
              haikalsyed
              wrote on 22 Jul 2019, 08:19 last edited by
              #6

              Fixed. Use QQuickView instead of QQuickWidget

              1 Reply Last reply
              0

              6/6

              22 Jul 2019, 08:19

              • Login

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