Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Fixed] Linking Errors - Qt5.4, Visual Studio 2013
Forum Updated to NodeBB v4.3 + New Features

[Fixed] Linking Errors - Qt5.4, Visual Studio 2013

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.0k 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.
  • - Offline
    - Offline
    -MK-
    wrote on last edited by
    #1

    I am new to C++/Qt and I am migrating one of our Qt4 projects built using Eclipse/mingw on windows and linux to Visual Studio so that we get x64 bit support. In that we have 2 projects, first one generating dll and lib file, and the second referencing lib of the first and generating dll. Before adding the lib, there were around 100 linking issues, and after adding it the number goes down to 30. When I verified other issues, they are still related to the same lib.

    Can someone help me on this one? I've been stuck since past 6 hours on this.

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

      Hi and welcome to devnet,

      Without knowing that linking issues you are having it's pretty much Crystal Ball debugging. However the first thing to do with Qt 5 is to add the widgets module since the QWidget stuff has move to its own space.

      For the rest, please post the errors you are getting

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

      1 Reply Last reply
      0
      • - Offline
        - Offline
        -MK-
        wrote on last edited by
        #3

        Sorry for late reply. I've fixed the issue by changing the reference project type to build lib instead of dll. Even though its temporary fix, will look at it once I am done with my tasks. All the linking errors are internal to our project and that was the reason I couldn't post the code here.

        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