Results 1 to 5 of 5

Thread: Need your help with designer plugin built with Creator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Location
    Caccamo (PA), Italy
    Posts
    13
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android
    Thanks
    1

    Default Re: Need your help with designer plugin built with Creator

    Hi, high-flyer.

    I have a trouble like yours, a bit different.

    I made one custom widget with the DESIGNER_WIDGET_EXPORT class declarator. The widget work fine, but when I design an application using that widget the linker shows that error:


    debug/mainwindow.o:C:\Documents and Settings\glafauci\Documenti\Programmi-QT\ProvaK-build-desktop/./ui_mainwindow.h:51: undefined reference to `KLineEditEx::KLineEditEx(QWidget*)'

    collect2: ld returned 1 exit status
    I'm crazing about that problem. It seems that I wrong something about the .pro file or the linker can't find the widget DLL file.

    Have you any suggestion?

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

    Default Re: Need your help with designer plugin built with Creator

    I have a trouble like yours, a bit different.
    Please don't hijack threads. This is a completely different problem.
    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.


  3. #3
    Join Date
    Nov 2010
    Location
    Caccamo (PA), Italy
    Posts
    13
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android
    Thanks
    1

    Default Re: Need your help with designer plugin built with Creator

    Ok, I apologize with you all.

    For the record, I resolved the problem: I missed to insert in the .pro file the path and the name of DLL, using:

    LIB += -L[dirpath]
    LIB += -l[nameOfDLL]

    Now I have another problem, but I arrange to open a new thread... :-)

    Hi to all.

Similar Threads

  1. Build two programs in one project in creator
    By Gunnar in forum Qt Tools
    Replies: 1
    Last Post: 13th October 2010, 08:52
  2. Cannot build anytin'...Qt Creator 1.2.1
    By Peppy in forum Installation and Deployment
    Replies: 7
    Last Post: 16th June 2010, 14:34
  3. Replies: 1
    Last Post: 13th January 2010, 23:35
  4. build static Qt Creator
    By rubenvb in forum Qt Tools
    Replies: 3
    Last Post: 18th November 2009, 20:16
  5. A build problem in Qt creator 1
    By Dante in forum Qt Programming
    Replies: 6
    Last Post: 13th March 2009, 17:37

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.