Results 1 to 3 of 3

Thread: Problem loading custom library in Qt4.5

  1. #1
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Problem loading custom library in Qt4.5

    hello
    I have previously created custom widgets for use within Qt Designer 4.3.4, using the custom widget plugin example as a template.

    Now using the same template, but with Q_EXPORT_PLUGIN2, it compiles the codes and inserts the lib###.so file into the correct directory which QtDesigner 4.5 sees as a "Failed Plugin" and is unable to load. The error message is on 1 line and I cant see / copy the whole of it unfortunately.

    I'm stumped. I've read the "new" custom widget plugin example doc, but still do no know where the problem could be.

    Please help!

    I'm going to have to start over building the clock example again, and will let u know if I find the problem.

  2. #2
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Problem loading custom library in Qt4.5

    Apologies!
    Just panicked. And rushing.

    Just used the "new" customwidget plugin file and changed the class names.

    Now how do I remove a thread?

  3. #3
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: Problem loading custom library in Qt4.5

    you don't you leave it so other users might gain from it
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

Similar Threads

  1. Replies: 3
    Last Post: 12th April 2006, 08:20
  2. id3lib library problem
    By acix in forum General Programming
    Replies: 2
    Last Post: 11th April 2006, 12:46
  3. Problem reimplementing QSpinBox in a custom widget
    By hvengel in forum Qt Programming
    Replies: 1
    Last Post: 30th March 2006, 08:12
  4. Problem with custom widget
    By jnana in forum Qt Programming
    Replies: 3
    Last Post: 15th March 2006, 11:55
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.