Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Custom Raw plugin, missing entry point
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Custom Raw plugin, missing entry point

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    glararan
    wrote on last edited by
    #1

    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.0

    HEADERS = rawhandler.h
    SOURCES = rawhandler.cpp
    main.cpp

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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        glararan
        wrote on last edited by
        #3

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

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved