Results 1 to 2 of 2

Thread: A custom plugin gives me an error 'No such file or directory'

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default A custom plugin gives me an error 'No such file or directory'

    I have a custom plugin. It is well built and works fine (if fact is a widget I copy from analogwidgets)
    I choose it from the plugins and put it onto my form.
    When build my project I have :
    'No such file or directory' For #include "analogwidgets/wallclock.h"

    And I dont understand this, plugins need the .h files ?
    What have I forgotten ?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: A custom plugin gives me an error 'No such file or directory'

    You have forgotten that the plugin is only for making the widget available in Designer and you still need to link with the widget code in your application.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 11
    Last Post: 1st February 2018, 04:27
  2. Replies: 3
    Last Post: 12th March 2015, 20:06
  3. Replies: 4
    Last Post: 9th May 2010, 16:18
  4. Custom widget plugin linker error
    By Annihilator in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2010, 18:34
  5. Replies: 5
    Last Post: 21st February 2007, 22:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.