c++ - Qt does not find header file -


i have such structure of files:

├── myproject/ │ ├── include │ │ ├── mainwindow.h │ ├── source │ │ ├── main.cpp │ │ ├── myqtprojectfiles │ │ │ ├── myqtproject.pro myqtproject.pro contains strings:

includepath += $$pwd\..\..\include sources +=  $$pwd\..\..\source\main.cpp headers  += $$pwd\..\..\include\mainwindow.h  

but qt produces error : cannot open include file: "mainwindow.h"; no such file or directory

problem solved, deleted old cache files of previous build process. recommended variable usage in case _pro_file_pwd_


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -