Important: Please read the Qt Code of Conduct -

[SOLVED] Custom Raw plugin, missing entry point

  • 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?

    @TARGET = rawLib
    TEMPLATE = lib
    CONFIG = qt plugin
    VERSION = 1.0.0

    HEADERS = rawhandler.h
    SOURCES = rawhandler.cpp

    target.path += $$[QT_INSTALL_PLUGINS]/imageformats
    INSTALLS += target@

  • Lifetime Qt Champion


    A plugin is a library so there is no main.

    Have a look "here": to see how to do it

  • I already looked here, but why it what entry point then? Wrong project?

    SOLVED: I created empty project, not Plugin project my bad, thanks

Log in to reply