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. integrating library classes to qt 6
Forum Update on Monday, May 27th 2025

integrating library classes to qt 6

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 157 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.
  • C Offline
    C Offline
    CharlesHuff
    wrote on last edited by
    #1

    I am learning Qt 6, C++, and Classes all at once. Is there a beginners group that fits me? If a class from external library should exist once per application does it go in main or mainwindow? I am not clear on the difference between these two. Is there a way to use the classes in an external library so that they are 'visible' and not out of 'scope' to the rest of Qt 6 code? I have managed to link in the library classes and have a few "hello world" type functions working from main.cpp ,but the same code generates out of scope when i try to work with the class members via signals and slots.
    How should the library classes be used in Qt 6.... Thanks, Charles

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

      Hi,

      Rather than trying to learn all at once, you should start with C++ alone, the class concept, member variables and accessor, how to design an API and then start with Qt.

      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

      • Login

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