Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qwt versions
Forum Updated to NodeBB v4.3 + New Features

Qwt versions

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
4 Posts 3 Posters 150 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.
  • B Offline
    B Offline
    Buller
    wrote last edited by
    #1

    Is there a way to fetch the libqwt compiletime and runtime versions in C++ code? I have not been able to find this information in the docs.

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

      Hi,

      You can get the library version with QWT_VERSION_STR or QWT_VERSION.

      I don't think there's anything more currently.

      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
      • B Offline
        B Offline
        Buller
        wrote last edited by
        #3

        QWT_VERSION_STR works. That seems to be the compile/link-time version. Thanks.

        JonBJ 1 Reply Last reply
        0
        • B Buller

          QWT_VERSION_STR works. That seems to be the compile/link-time version. Thanks.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote last edited by
          #4

          @Buller
          You are aware that both of these are compile-time macros (e.g. https://qwt.sourceforge.io/qwt__global_8h_source.html) so, assuming you put these in your source code, they do not necessarily tell you anything about the "runtime versions" that the libraries might have been compiled with in the past? Or the runtime version of either Qt or QWT which might happen to be found?

          1 Reply Last reply
          2

          • Login

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