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的资源文件中如何包含可执行文件?
Forum Updated to NodeBB v4.3 + New Features

Qt的资源文件中如何包含可执行文件?

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 1.4k Views 2 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.
  • S Offline
    S Offline
    sunylat
    wrote on last edited by sunylat
    #1

    我想在Qt程序里的资源文件中包含可执行文件,是否可以?如果可以怎么做?哪里有例子程序?谢谢

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MemphisWang
      wrote on last edited by
      #2

      可执行文件随便找个目录放就可以了. 直接 QProcess 执行. qrc 里包含我没试过, 理论上应该是可以的. 当做普通资源来获取.

      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