Right. That was a stupid typo on my part. I meant I had edited my project file to include "CONFIG += qwt", not the makefile. And the project file didn't already have a CONFIG line, so I added the first CONFIG statement there.
Okay, I checked with the query command and it shows the features folder. So that part worked.
That line is uncommented. However, inside my "C:\Qwt-6.0.1\" folder there are only the sub-folders "doc", "features", "include", "lib" and "plugins", none of which contains the source code or project files of the examples. Those are still in the source folder on my desktop. Hence my question if that source folder should have been placed somewhere more permanently and stick around as a source for the Qwt example projects. Up until now I had thought the examples would be copied into the installation target along with the rest.
Some of the other folders and files from the original source location are also missing.
What would I do ? Copy the examples manually to somewhere else or reinstall from another source location ?
The thing is that Qt Creator's source code editor doesn't seem to recognize anything starting with "Qwt" and the design area doesn't offer Qwt widgets.
I suppose I have to execute the last paragraph from the Qwt INSTALL file first:
The given link says QT_PLUGIN_PATH is an environment variable. In my project's environment variables there wasn't a QT_PLUGIN_PATH variable, so I set it.For using the designer plugin you have to configure the Qt designer/creator
where to look for plugins. This can be done by setting the QT_PLUGIN_PATH or
using a qt.conf file ( see http://doc.qt.nokia.com/4.7/deployment-plugins.html ).
Beside the plugin the Qwt library itsself also needs to be known to the Designer/Creator
( see LD_LIBRARY_PATH, PATH ... above ).
The Projects menu in Creator then specifically said:
Using System Environment and
Set QT_PLUGIN_PATH to C:\Qwt-6.0.1\plugins\designer\
I tried it with and without the \designer sub-folder, but it is still not recognized.
Now in the Qt Plugin section it says that the Qt version number must not be lower than the plugin version number. My Qt version is 4.7.3. But where do I find the plugin version ?
Also, it says:
I don't think I have "built" the plugin yet.When building plugins to extend an application, it is important to ensure that the plugin is configured in the same way as the application. This means that if the application was built in release mode, plugins should be built in release mode, too.
Maybe the problem is still with why the examples are not installed and the rest will fall in line ?![]()
Bookmarks