How do I open source code in Qt creator?



  • I already clone the project and have Qt Creator installed. Can someone help me?



  • This post is deleted!


  • Even I have a query.....I've been trying to import an open-source project into Qt-Creator to read the code and to learn from it by debuging. Unfortunatly I cannot build imported projects. I found two interessting projects:

    https://sourceforge.net/projects/qpass/files/source/

    and

    https://github.com/keepassx/keepassx

    I imported them into Qt Creator by File-->New File or Project-->Import Project-->Import as qmake Project (Limited Functionality). Afterwards I tried to run the project and I got an error:

    G:\Qt Projekte\keepassx-2.0.3\src\autotype\test\AutoTypeTest.h:23: Fehler: autotype/AutoTypePlatformPlugin.h: No such file or directory

    The file is definitely existing and it's within the project. I googled it and found that there might be problem when importing Qt4 projects into Qt5. Some user recommended to insert 'Qt += widgets' into the pro-File. But it didn't solve my problem.

    Does anybody have an idea how to fix it? Is the way how I am importing projects into Qt Creator wrong?


Log in to reply