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. Multiple Qt Versions in same project
Forum Updated to NodeBB v4.3 + New Features

Multiple Qt Versions in same project

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

    Hi everybody,
    I'm migrating a GPL licensed project from Qt 4.8 on MSVC2010 to Qt 5.3 on MSVC2013.
    The problem is that my project uses a library ( "KD Charts":https://www.kdab.com/kdab-products/kd-chart/ ) that is compatible just with version 4 and if I compile my project I get several unresolved externals as the linked Qt libraries are version 5.
    What I tried is compiling Qt 4.8.6 statically with MSVC2013 and then compile KD Charts as a static library linking to the static Qt4 build.
    The problem is that it didn't fix the problem. The unresolved externals are still there and, obviously, if I try to link both Qt4 and Qt5 libraries I get conflicts.
    Any suggestion on how to make it work?
    Thanks in advance!

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

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

      Hi,

      The simplest solution would be to request an updated version of KD Charts for Qt 5 (it might only need the CONFIG += widgets line)

      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

      • Login

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