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. Running projects created on other machines

Running projects created on other machines

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 974 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #1

    Hi guys,

    I copied some projects from another computer and tried to open and run on my own Windows computer.
    The projects opens but they seem to have their previous paths making Qt Creator IDE unable to run them showing these messages:

    Could not create directory "..."
    Error while building/deploying project X (kit: Desktop Qt 5.8.0 MinGW 32bit)
    When executing step "qmake"
    

    I can create new projects and copy the codes there, but it's a very amateur work! There should be someway to be able to run them using a handy way I think.

    1 Reply Last reply
    0
    • Chris HennesC Offline
      Chris HennesC Offline
      Chris Hennes
      wrote on last edited by
      #2

      When you first opened the .pro file, Qt Creator should have warned you about this, and offered a confusingly-worded choice about whether you really wanted to load the old .settings file. The correct answer there is "no" -- you want to make a new one for this computer.

      Chris Hennes, Pioneer Library System

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

        Hi,

        Or the short version: delete the .pro.user file in your project sources before opening it with Qt Creator on another machine.

        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
        1
        • tomyT Offline
          tomyT Offline
          tomy
          wrote on last edited by
          #4

          @SGaist said in Running projects created on other machines:

          Hi,

          Hi

          Or the short version: delete the .pro.user file in your project sources before opening it with Qt Creator on another machine.

          Thank you SGaist. It solved the issue.

          1 Reply Last reply
          0
          • Chris HennesC Chris Hennes

            When you first opened the .pro file, Qt Creator should have warned you about this, and offered a confusingly-worded choice about whether you really wanted to load the old .settings file. The correct answer there is "no" -- you want to make a new one for this computer.

            tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #5

            @Chris-Hennes
            Thanks.

            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