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. QTWebEngine 'unresolved external symbol "_declspec... referenced in function
Forum Updated to NodeBB v4.3 + New Features

QTWebEngine 'unresolved external symbol "_declspec... referenced in function

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 4 Posters 587 Views 1 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.
  • P Offline
    P Offline
    part-time roadman
    wrote on last edited by part-time roadman
    #1

    I keep getting these errors whenever I try to put a webengineview in my UI. Taking the webengineview out makes everything else work again. Anyone have any idea why this is happening?
    alt text

    jsulmJ 1 Reply Last reply
    0
    • P part-time roadman

      I keep getting these errors whenever I try to put a webengineview in my UI. Taking the webengineview out makes everything else work again. Anyone have any idea why this is happening?
      alt text

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

      @part-time-roadman Please show your pro file. It looks like you do not link against web engine.

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

      1 Reply Last reply
      0
      • P Offline
        P Offline
        part-time roadman
        wrote on last edited by
        #3

        This is my pro file
        alt text

        jsulmJ 1 Reply Last reply
        0
        • P part-time roadman

          This is my pro file
          alt text

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

          @part-time-roadman How did you install Qt and web engine? Which Qt version do you use?

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

          1 Reply Last reply
          0
          • P Offline
            P Offline
            part-time roadman
            wrote on last edited by
            #5

            I'm on the latest one so 5.15 I think. When I installed Qt I installed everything including the web engine view.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Bonnie
              wrote on last edited by Bonnie
              #6

              Hey, I think you need to use webenginewidgets.
              webengine is for QML.

              1 Reply Last reply
              2
              • P Offline
                P Offline
                part-time roadman
                wrote on last edited by
                #7

                I give up webengine just does not work at all no matter what I try.

                JonBJ jsulmJ 2 Replies Last reply
                0
                • P part-time roadman

                  I give up webengine just does not work at all no matter what I try.

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @part-time-roadman

                  I give up webengine just does not work at all no matter what I try.

                  As @Bonnie has written that is because webengine is simply not for a Qt widgets application.

                  1 Reply Last reply
                  0
                  • P part-time roadman

                    I give up webengine just does not work at all no matter what I try.

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

                    @part-time-roadman You should not give up so fast, else you will not have much success, doesn't matter what you use. Especially if the problem is not the framework but the fact that you're doing something wrong.
                    A tip: to know what to add to the pro file simply check documentation. For example: https://doc.qt.io/qt-5/qwebengineview.html
                    Just there at the top: "qmake: QT += webenginewidgets"

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

                    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