Running projects created on other machines



  • 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.



  • 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.


  • Lifetime Qt Champion

    Hi,

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



  • @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.



  • @Chris-Hennes
    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.