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. how to automate pri file generation?
Forum Updated to NodeBB v4.3 + New Features

how to automate pri file generation?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 1.7k 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.
  • K Offline
    K Offline
    Koen de Gruijter
    wrote on last edited by
    #1

    Hi,

    How can i automate the generation of a pri file?
    Would be nice the use the vcxproj file as input if possible.

    I tried to use "qmake -project -o output.pri". It generates a pro file that i rename as pri. And only works with qmake version 2.0.1 (not with version 3.0). So thats probably also not the way to go...

    The export pri in the qt plugin for visual studio works fine, but that cant be automated...

    Thanks.

    K 1 Reply Last reply
    0
    • K Koen de Gruijter

      Hi,

      How can i automate the generation of a pri file?
      Would be nice the use the vcxproj file as input if possible.

      I tried to use "qmake -project -o output.pri". It generates a pro file that i rename as pri. And only works with qmake version 2.0.1 (not with version 3.0). So thats probably also not the way to go...

      The export pri in the qt plugin for visual studio works fine, but that cant be automated...

      Thanks.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Koen-de-Gruijter

      The question is from what?

      When you are using Qt creator and include a .pri in your .pro, you can update the files listed in .pri easily in creator.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Koen de Gruijter
        wrote on last edited by
        #3

        @koahnig

        I am developing in visual studio. Because i also want to deploy my aplication for linux i need to export the vcxproj file to somthing qmake understands. i know its possible to export it from the plugin(might also be possible in qt creator, i havent checked). but how can i automate the process?

        K 1 Reply Last reply
        0
        • K Koen de Gruijter

          @koahnig

          I am developing in visual studio. Because i also want to deploy my aplication for linux i need to export the vcxproj file to somthing qmake understands. i know its possible to export it from the plugin(might also be possible in qt creator, i havent checked). but how can i automate the process?

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @Koen-de-Gruijter

          I was using VS in the past as well. You are just reminding me why I switched to creator.

          Sorry, I cannot help you with this.

          Good luck

          Vote the answer(s) that helped you to solve your issue(s)

          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