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. Qt and Shared Libraries design
QtWS25 Last Chance

Qt and Shared Libraries design

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 511 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.
  • D Offline
    D Offline
    drbroly
    wrote on last edited by
    #1

    Hello,

    Im a student trying to grasp Qt and C++ development. I am attempting to develop an application that has the UI of Qt with the backend in more native C++. I would like this backend to be as independent of the UI as possible. But I am having issues in arranging my projects to be compatible with one another.

    I have installed Qt in Visual Studio 2015, which is my IDE of choice. Within it, there are a multitude of C++ library project options - especially "CLR" and "MFC DLL". But both are giving issues as soon as I import them in my Qt UI project. I would prefer not migrating between IDE's frequently.

    I'd appreciate any advice on what to do. Any alternatives would be welcomed.

    Thanks!

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

      Hi and welcome to devnet,

      Qt is native C++ with some sugar but still C++. Separating UI and backend is just a question of structuring your code properly.

      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
      1
      • D drbroly

        Hello,

        Im a student trying to grasp Qt and C++ development. I am attempting to develop an application that has the UI of Qt with the backend in more native C++. I would like this backend to be as independent of the UI as possible. But I am having issues in arranging my projects to be compatible with one another.

        I have installed Qt in Visual Studio 2015, which is my IDE of choice. Within it, there are a multitude of C++ library project options - especially "CLR" and "MFC DLL". But both are giving issues as soon as I import them in my Qt UI project. I would prefer not migrating between IDE's frequently.

        I'd appreciate any advice on what to do. Any alternatives would be welcomed.

        Thanks!

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @drbroly What exactly are the problems that are occurring?

        Also, how did you install your Qt? Are you using the VS compatible one or did you take the default mingw? Those will not be compatible with VS.

        Like @SGaist said Qt is native C++, so it should work quite well with anything else C++ you wanted to use. If you give some details we can help you figure out your conflicts.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        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