[SOLVED] Custom Raw plugin, missing entry point
Installation and Deployment
3
Posts
2
Posters
1.1k
Views
1
Watching
-
Hello,
QImage don't support .raw file, so I have here one plugin which should fix this problem, but I didn't found what should be in main() (entry point).
I have RawHandler class and RawPlugin(in main.cpp) class, but how should be main function? empty? I don't think so.
Do you need source code?
Config:
@TARGET = rawLib
TEMPLATE = lib
CONFIG = qt plugin
VERSION = 1.0.0HEADERS = rawhandler.h
SOURCES = rawhandler.cpp
main.cpptarget.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target@ -
Hi,
A plugin is a library so there is no main.
Have a look "here":http://qt-project.org/doc/qt-4.8/plugins-howto.html to see how to do it