Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 关于Qt生成的动态库,可以在其他编程语言调用嘛?
Qt 6.11 is out! See what's new in the release blog

关于Qt生成的动态库,可以在其他编程语言调用嘛?

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 708 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.
  • L Offline
    L Offline
    lee_h
    wrote on last edited by
    #1

    我在Qt生成的动态库,是否可以用Visual Studio 中C++直接调用?项目中包含了Qt类型的是否可以生效,比如QString,QTimer?
    是否可以用C#调用?

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • L Offline
      L Offline
      Liang Qi
      wrote last edited by
      #2

      QString之类的工具类,可以自己直接编译静态或者动态链接库使用。

      QTimer的使用依赖于event loop和QCoreApplication实例,应该是能使用的

      可以参考 https://github.com/qt/qtbase/blob/dev/src/tools/bootstrap/CMakeLists.txt

      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