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. Qwt plugin uses incompatible Qt Library 5.9.0
Forum Updated to NodeBB v4.3 + New Features

Qwt plugin uses incompatible Qt Library 5.9.0

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 4 Posters 5.9k Views 2 Watching
  • 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.
  • G Gokhan

    @jsulm Although I didn't select the MSVC 2015, it shows that it based on Qt 5.9.1 (MSVC 2015, 32 bit). Can I change it or must change?

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

    @Gokhan Plug-in for QtCreator must be built with same compiler and Qt version as QtCreator.

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

    G 1 Reply Last reply
    0
    • jsulmJ jsulm

      @Gokhan Plug-in for QtCreator must be built with same compiler and Qt version as QtCreator.

      G Offline
      G Offline
      Gokhan
      wrote on last edited by
      #5

      @jsulm I'm confused this, although there is no msvc folder in Qt, it's based on it. How can this be?

      alt text

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

        Hi,

        Because Qt Creator is independent of the Qt versions you may use with it thus it doesn't need to be built with the same version of Qt you are currently creating your application with.

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

        G 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          Because Qt Creator is independent of the Qt versions you may use with it thus it doesn't need to be built with the same version of Qt you are currently creating your application with.

          G Offline
          G Offline
          Gokhan
          wrote on last edited by
          #7

          @SGaist well why is the incompatible the qwt with it? I installed the qwt library with the same mingw version.

          mrjjM 1 Reply Last reply
          0
          • G Gokhan

            @SGaist well why is the incompatible the qwt with it? I installed the qwt library with the same mingw version.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #8

            @Gokhan
            Hi
            To use a plugin in Designer/Creator, the plugin must be compiled with the same compiler used to
            compile Creator/Designer. Else it cannot load it.

            So to use the QWT visually (Design mode), you must compile the QWT plugin with the
            same compiler. In your case visual studio 2015, 32 bit.

            I found this slightly confusing as I was using mingw. :)

            Alternatively, you can also compile Creator with mingw and use that version.
            (You cannot change it in Creator. the exe was made with that compiler)

            If you go the visual studio route, then know this
            https://blogs.msdn.microsoft.com/vcblog/2016/04/01/lightweight-cpp-installation-in-vs-15/
            Then you can have a visual studio toolchain in a few GBs and not 20 :)
            Note, that you can still use Creator.

            G 1 Reply Last reply
            2
            • mrjjM mrjj

              @Gokhan
              Hi
              To use a plugin in Designer/Creator, the plugin must be compiled with the same compiler used to
              compile Creator/Designer. Else it cannot load it.

              So to use the QWT visually (Design mode), you must compile the QWT plugin with the
              same compiler. In your case visual studio 2015, 32 bit.

              I found this slightly confusing as I was using mingw. :)

              Alternatively, you can also compile Creator with mingw and use that version.
              (You cannot change it in Creator. the exe was made with that compiler)

              If you go the visual studio route, then know this
              https://blogs.msdn.microsoft.com/vcblog/2016/04/01/lightweight-cpp-installation-in-vs-15/
              Then you can have a visual studio toolchain in a few GBs and not 20 :)
              Note, that you can still use Creator.

              G Offline
              G Offline
              Gokhan
              wrote on last edited by
              #9

              @mrjj thanks a lot. I will try this.

              mrjjM 1 Reply Last reply
              1
              • G Gokhan

                @mrjj thanks a lot. I will try this.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #10

                @Gokhan
                Just to be 100% sure u know.
                You do not need the visual QWT plugin to use QWT.
                Only if you want to add it visually in designer and set properties.
                You can use promotion feature of Creator to use it without having the plugin
                and set the properties from code.

                G 1 Reply Last reply
                2
                • mrjjM mrjj

                  @Gokhan
                  Just to be 100% sure u know.
                  You do not need the visual QWT plugin to use QWT.
                  Only if you want to add it visually in designer and set properties.
                  You can use promotion feature of Creator to use it without having the plugin
                  and set the properties from code.

                  G Offline
                  G Offline
                  Gokhan
                  wrote on last edited by
                  #11

                  @mrjj I did it :) thank you :)

                  alt text

                  mrjjM 1 Reply Last reply
                  1
                  • G Gokhan

                    @mrjj I did it :) thank you :)

                    alt text

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by mrjj
                    #12

                    @Gokhan
                    Good work.
                    It just worked in Qt5.9 with visual studio 2015 compiled plugin ?

                    G 1 Reply Last reply
                    1
                    • mrjjM mrjj

                      @Gokhan
                      Good work.
                      It just worked in Qt5.9 with visual studio 2015 compiled plugin ?

                      G Offline
                      G Offline
                      Gokhan
                      wrote on last edited by
                      #13

                      @mrjj It's working on Qt5.9.1 and compiled msvc2015. First, I download the msvc2015 from the maintenance tool. Then I compiled with Qt 5.9.1 for Desktop(msvc2015) and installed it. After compiled, copied designer dll file to qtcreator designer plugin folder. Finally, I deleted msvc and returned the mingw :) Now it's working with mingw.

                      1 Reply Last reply
                      1

                      • Login

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