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 to use libqxt in my project
Forum Updated to NodeBB v4.3 + New Features

How to use libqxt in my project

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

    I am planning to use libqxt to use its emailing service. I downloaded the zip package from "here":https://github.com/mnutt/libqxt. As per the README instruction, I first ran qmake, followed by make. Both worked fine. Now I see the lib folder being generated with a number of dynamic libraries and frameworks inside. Which one do I need to use for the emailing bit, as explained "here?":http://www.qtcentre.org/threads/32359-how-do-i-send-message-by-َ-QxtSmtp

    And which header files do I need to include?

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

      Hi,

      @#include <QxtSmtp>@

      which is in the QxtNetwork module

      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
      • C Offline
        C Offline
        Cupidvogel
        wrote on last edited by
        #3

        It's a binary, right? How do I #include it?

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

          No it's a header file

          Then you need to link to the QxtNetwork library

          Based on the "user guide":http://dev.libqxt.org/libqxt/wiki/user_guide :
          @
          QT += qxt
          QXT += network
          @
          in your pro file

          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
          • C Offline
            C Offline
            Cupidvogel
            wrote on last edited by
            #5

            Ok, so to be clear, I will have to keep the < QxtSmtp> header file in my include path. What of the others? Are they dependencies? Do I have to keep the folder structure, that is, the entire QxtNetwork folder in my include path and explicitly include only <QxtSmtp>, while it includes the others from that folder on its own?

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

              The others are just part of Qxt which proposes several things. The INCLUDEPATH and linker parameter should be setup for you through the use of the two lines in my las post

              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