That is now a different path than you had earlier.INCLUDEPATH+= "D:\Qt1\bin\Filewalker\Filewalker\Filewalker1"
Anyway, just put the header into the same directory as the cpp file.
Cheers,
_
That is now a different path than you had earlier.INCLUDEPATH+= "D:\Qt1\bin\Filewalker\Filewalker\Filewalker1"
Anyway, just put the header into the same directory as the cpp file.
Cheers,
_
The header is in the same directory as cpp file.
why it is different path?
Added after 1 14 minutes:
So are there alternatives to make custom include to works?
Last edited by artt; 13th December 2015 at 17:14.
Then you don't need an include path, the same directory is always searched.The header is in the same directory as cpp file.
Oh, I don't know, lets see, the first path you postedwhy it is different path?
and then the one you posted laterQt Code:
D:\Qt1\bin\Filewalker\Filewalker\File walker1To copy to clipboard, switch view to plain text mode
Look different to me.Qt Code:
D:\Qt1\bin\Filewalker\Filewalker\Filewalker1To copy to clipboard, switch view to plain text mode
Cheers,
_
It was in the same directory since the very beginning, but I got such warning that I noted at start of my discussion in this topic. Maybe I wrongly created the .h file? How to save it corecctly in notepad?
Notepad? Seriously?
Have you checked that the file is actually named what you think it is named?
Not something like Class.h.txt?
I can only recommend to use any form of code editor, or at least a real text editor.
Cheers,
_
Really after browsing in 7-zip I saw that Filewalker.h.txt is really such one - so after renaming to
Filewalker.h it also showed the h-pictogram. Anyway when saving in notepad-I did not saved as textfile but as "allfiles", but I probably should also define encoding not unicode, but UTF-8.
So I should guess so -- but in working folder it is seen as Filewalker.h and as I said it was not saved as text file.
Bookmarks