How can I work a QT project that does not have the file to recognize the project?

0

I'm working with a QT project, but this one although in its cpp and .h files it has the libraries that it requires to work with QT like #include. You do not have the file to be able to import the entire project in QTCreator.

I hope I have explained myself well and I hope that someone has the answer

    
asked by ShadowMyst 01.08.2017 в 02:46
source

1 answer

0

Qt creator (like any other IDE) can not import a project from only the includes of the files.

why? Several reasons:

  • The includes only indicate dependencies, but these dependencies may not be part of the project (external libraries)
  • The includes do not indicate the configuration of the project (defined names, compilation order, name of the resulting binary, optimizations, ...)

What you have to do is create a new project and then add all the files belonging to that project. Do not forget to indicate the external dependencies (third-party libraries).

    
answered by 04.08.2017 / 11:31
source