qhelpgenerator could not open .qch file
I am a beginner in qt. I am working in Linux.
I have a folder containing html files that I want to view using Qt Assistant. I am therefore following the instructions on this page: http://doc.qt.io/qt-4.8/qthelp-framework.html
In order to do this, I understand that I need to transform the files into a qch and a qhc file.
So, I have created a qhp file in the same folder as the one containing the html folder (let's call it "htmlfolder"), as follows:
<?xml version="1.0" encoding="UTF-8"?>
Then I run the following:
qhelpgenerator doc.qhp -o doc.qch
I see the following message:
"Could not open doc.qch".
What's going on ? Where have I gone wrong ?