Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't build after deleting the .pro.user file

Can't build after deleting the .pro.user file

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 517 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
    kitfox
    wrote on last edited by
    #1

    I'm trying to get a project ready for uploading to source control. As such, I want to avoid uploading files that are specific to my machine. I thought the .pro.user file would be one of these since it seems to be automatically generated and contains paths to my build directories that are local to my machine (actually, as far as I can tell, it looks like it contains the project settings). However, when I try to build after renaming it and restarting QtCreator, the build fails. I get different problems each time. Once it was unable to find the QDebug library, another time the build did seem to complete but then the debugger didn't start.

    I still have a copy of the .pro.user file on my machine, and when I restore it I can build again - however, I would like other people to be able to download and build the source and they won't have access to this. How would I allow them to build?

    kshegunovK 1 Reply Last reply
    0
    • K kitfox

      I'm trying to get a project ready for uploading to source control. As such, I want to avoid uploading files that are specific to my machine. I thought the .pro.user file would be one of these since it seems to be automatically generated and contains paths to my build directories that are local to my machine (actually, as far as I can tell, it looks like it contains the project settings). However, when I try to build after renaming it and restarting QtCreator, the build fails. I get different problems each time. Once it was unable to find the QDebug library, another time the build did seem to complete but then the debugger didn't start.

      I still have a copy of the .pro.user file on my machine, and when I restore it I can build again - however, I would like other people to be able to download and build the source and they won't have access to this. How would I allow them to build?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @kitfox said in Can't build after deleting the .pro.user file:

      How would I allow them to build?

      Upload the .pro and not the .pro.user is correct. They have to configure the project's toolchain (kit, build dirs, etc.) when it's opened in creator, but that's pretty much it.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved