[Solved] The neatest way to import an example?



  • Is there some quick way to import examples in Qt without having to modify the build folders etc manually?

    For instance I just tried to import the serial port example by copying the example folder to another location.
    After a while it became obvious that the build folder was the same as the location from where I copied the example.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    If you copied the example after having opened it with Qt Creator there's a file called yourproject.pro.user. This file contains the project setup. So you have two choices:

    close the project, delete the file, re-open the project and reconfigure it

    go in the project panel and modify the setup



  • Seems like that does the trick, thank you!


  • Lifetime Qt Champion

    You're welcome !

    Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

    Happy coding !


Log in to reply
 

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