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. Can lupdate skip projects when processing sub-projects?
Forum Updated to NodeBB v4.3 + New Features

Can lupdate skip projects when processing sub-projects?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.2k Views 1 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.
  • C Offline
    C Offline
    Chestnut
    wrote on last edited by
    #1

    I am setting up a large project (with a number of sub-projects) for localization. I'm pointing lupdate at the parent project and letting it recurse through the others. lupdate seems to be choking on some of the sub-projects that I don't care about (don't have localization requirements). I've hacked the lupdate source code to skip over these projects, but I'd prefer it if there was an option (either command line, specified in the .pro file, or otherwise) to tell the stock lupdate to skip over certain projects in the tree. Does such a thing exist?

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

      Hi and welcome to devnet,

      Did you try with -no-recursive and -I for the folder you want to be scanned (I am not sure whether It only search for include files) ?

      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
      0
      • C Offline
        C Offline
        Chestnut
        wrote on last edited by
        #3

        Thanks for the welcome. I didn't try that. I kind of wanted the solution to be inclusive with exceptions. But instead, I decided to put all of our strings into a single common project and run the localization tools on that.

        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