Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QBS Module for creating external binary rcc file.
Forum Updated to NodeBB v4.3 + New Features

QBS Module for creating external binary rcc file.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 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.
  • A Offline
    A Offline
    Arpegius
    wrote on last edited by
    #1

    QBS is great, but any time I try to use, it lacks of some component.
    Like right now, I cannot find any references on this topic.
    So I create one Module:
    https://gist.github.com/ArpegiusWhooves/9b9d95eb238b995e45fa
    I mostly work, except for Scanner. I am not sure about certain topics:

    • The print function wont print anything, but if I change it for throw, work as I expected. (qtcreator problem? is there another way to make warring that shows in qtcreator?)
    • What is the correct way of return dependencies from Scanner?
    • If scanner seams to return correct dependencies, the rule don't know about them, why?
    • What is the correct way to add dynamic dependencies to Rule? Is there a way to create auxiliaryInputs from input file?

    I want to rebuild RCC file any time its contents file changes. Right now I have no luck.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can ask it on dedicated QBS mailing list, that is where QBS developers are most active.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arpegius
        wrote on last edited by Arpegius
        #3

        @sierdzio Thx, but I don't like mailing list idea at all.

        Well I have to answer the question myself:

        • The print function comes from QtScript module. It print directly to stdout and cannot be redirected. Until some one get the great idea fo exporting qbs::Internal::Loggin to scripts, we can only wait, or throw Errors.
        • Just array of string.
        • Scanner only return dependencies, it don't add files known to Product. Such files Should be added manually (or maybe by Probe), but I have all files in one folder and simply add them (not perfect but works):
        Group {
           name: "Binnary Resources"
           files : "data/**"
           fileTags: [] // suppress all tags
        }
        
        • AFAIT Defining auxiliaryInputs for such rule is not needed.
        sierdzioS 1 Reply Last reply
        0
        • A Arpegius

          @sierdzio Thx, but I don't like mailing list idea at all.

          Well I have to answer the question myself:

          • The print function comes from QtScript module. It print directly to stdout and cannot be redirected. Until some one get the great idea fo exporting qbs::Internal::Loggin to scripts, we can only wait, or throw Errors.
          • Just array of string.
          • Scanner only return dependencies, it don't add files known to Product. Such files Should be added manually (or maybe by Probe), but I have all files in one folder and simply add them (not perfect but works):
          Group {
             name: "Binnary Resources"
             files : "data/**"
             fileTags: [] // suppress all tags
          }
          
          • AFAIT Defining auxiliaryInputs for such rule is not needed.
          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @Arpegius said:

          @sierdzio Thx, but I don't like mailing list idea at all.

          Well, that's your decision.

          Until some one get the great idea fo exporting qbs::Internal::Loggin to scripts, we can only wait, or throw Errors.

          Again, this is something you could propose on the emailing list, or, since you don't like that, you can go directly to Qt bugtracker and fill in a feature request/ bug report. Maybe somebody from QBS team will pick it up.

          (Z(:^

          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