Results 1 to 2 of 2

Thread: Windows build fails when linking against custom designer plugin

  1. #1
    Join Date
    Aug 2011
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Windows build fails when linking against custom designer plugin

    I have an application that uses my custom qdesigner plugin collection (it includes a custom spinbox and a custom table view). When building it in ubuntu 11.10 32bit & ubuntu 11.10 64 bit, the application builds normally.
    Now I am trying to build it in a windows environment. When my shared library which uses the designer plugin collection is being built,, I get undefined references to all the functions of the custom spinbox.
    I cant quite figure out why the designer widget plugins link to the plugin without any problems in ubuntu and not in windows.
    How do i fix this?

    On another note - I noticed there is an "object_script" argument only when I am compiling the plugin collection in windows. What is this object_script and what does it do?

    I use Qt 4.7.4 in all of the mentioned operating systems.

    Thank you for your help.

  2. #2
    Join Date
    Aug 2011
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Windows build fails when linking against custom designer plugin

    The issue was solved. A QDESIGNER_WIDGET_EXPORT was missing from one of the widgets' headers and the problem had only manifested itself when linking the plugin collection in windows. Another lesson learned

    I am still interested in "object_script" though.

Similar Threads

  1. QT4 custom designer plugin properties ignored
    By Intangir in forum Qt Programming
    Replies: 7
    Last Post: 23rd May 2015, 11:56
  2. Replies: 1
    Last Post: 19th January 2011, 23:01
  3. Custom Plugin problem to build
    By brevleq in forum Qt Programming
    Replies: 10
    Last Post: 21st December 2008, 17:41
  4. custom plugin load fails...
    By raman_31181 in forum Qt Tools
    Replies: 3
    Last Post: 3rd July 2008, 09:37
  5. designer plugin fails to load
    By ModeZt in forum Qwt
    Replies: 6
    Last Post: 4th February 2008, 21:08

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.