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 IFW定制安装程序?
Qt 6.11 is out! See what's new in the release blog

请教怎样使用Qt IFW定制安装程序?

Scheduled Pinned Locked Moved Unsolved Chinese
6 Posts 2 Posters 1.7k 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
    loserlovey
    wrote on last edited by
    #1

    比如使用定制的UI,移除一些步骤。

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by Bonnie
      #2

      主要使用脚本,有控制脚本和组件脚本
      多看文档吧,虽然我也觉得文档很多地方写的不太清楚
      文档里最有用的还是例子: https://doc.qt.io/qtinstallerframework/qtifwexamples.html
      最好是例子里有类似你的需求的,就参考起来比较容易了
      你要定制UI的话我想应该多参考Dynamic Page Installer这个Example吧

      1 Reply Last reply
      0
      • L Offline
        L Offline
        loserlovey
        wrote on last edited by
        #3

        例子好像不能完全满足我们的需求,比如整个页面的定制。这个框架只能在内容部分定制一个widget,而不是定制整个页面,上边的标题和下面的按钮部分,都不能自定义。

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bonnie
          wrote on last edited by
          #4

          下面的按钮的文字可以通过脚本调整,参考一下Controller Scripting的文档。
          上边的标题你指的是哪个?窗口标题吗?这个通过Configuration File的<Title>应该可以设置

          L 1 Reply Last reply
          0
          • B Bonnie

            下面的按钮的文字可以通过脚本调整,参考一下Controller Scripting的文档。
            上边的标题你指的是哪个?窗口标题吗?这个通过Configuration File的<Title>应该可以设置

            L Offline
            L Offline
            loserlovey
            wrote on last edited by
            #5

            @Bonnie 我是想把上面的标题都去掉,下面的按钮位置都挪到别的位置

            B 1 Reply Last reply
            0
            • L loserlovey

              @Bonnie 我是想把上面的标题都去掉,下面的按钮位置都挪到别的位置

              B Offline
              B Offline
              Bonnie
              wrote on last edited by Bonnie
              #6

              @loserlovey
              这个应该是不行滴,外面是包了一个QWizard,你应该是改不了的

              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