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. How can I use a DLL, in VS, without needing to load the moc files from the DLL?
Forum Updated to NodeBB v4.3 + New Features

How can I use a DLL, in VS, without needing to load the moc files from the DLL?

Scheduled Pinned Locked Moved Solved General and Desktop
22 Posts 4 Posters 6.4k Views 3 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.
  • AEROLASER_THAA Offline
    AEROLASER_THAA Offline
    AEROLASER_THA
    wrote on last edited by
    #21

    In this example, I am not using ui files

    AEROLASER_THAA 1 Reply Last reply
    0
    • AEROLASER_THAA AEROLASER_THA

      In this example, I am not using ui files

      AEROLASER_THAA Offline
      AEROLASER_THAA Offline
      AEROLASER_THA
      wrote on last edited by AEROLASER_THA
      #22

      @AEROLASER_THA

      Dear All;
      I finally found the problem.
      I was creating a DLL project, and within this project I created the EXE project.
      When declaring the path of the inclusion directories of the EXE project, it was not correctly including the address of the path where the lib

      And indeed my initial confusion was due to the fact of trying to export a template as a class T that is not known.

      Excuse me

      .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtWidgets;..\test;..\test\GeneratedFiles$(ConfigurationName);C:\Users\therrera\Documents\Visual Studio 2015\Projects\test\x64\Debug;C:\Users\therrera\Documents\Visual Studio 2015\Projects\test\test\x64\Debug;C:\Users\therrera\Documents\Visual Studio 2015\Projects\test\test\GeneratedFiles\Debug;C:\Users\therrera\Documents\Visual Studio 2015\Projects\test\test;%(AdditionalIncludeDirectories)

      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