Results 1 to 2 of 2

Thread: subclassing QDialog error

  1. #1
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default subclassing QDialog error

    hi everyone i am relaty new to Qt, i am gettings error in the building process when i subclass a QDialog class.
    The problem is that i having something missing in my creation process but i cannot find what it is
    the building output error is
    unresolved external symbol cannot find qmaind.lib
    well also i didnt setting the pro file for the subclassing, is a pure C++ class and the pro files doesnt do any reference to the Class QDialog
    Well can anybody can help, thx in advance!

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: subclassing QDialog error

    1) Post original error as it was displayed, do not retype or change anything as you may omitt important part.

    2) Post example (better yet compilable) code, vague descriptions will take you nowhere.

    3) State OS and Qt version as there may be different solutions.

    4) The error has nothing to do with subclassing. You're linking against library that can't be found.

Similar Threads

  1. Replies: 9
    Last Post: 25th March 2011, 21:22
  2. QDialog.exec() exiting without calling QDialog::accept()
    By doggrant in forum Qt Programming
    Replies: 3
    Last Post: 2nd February 2011, 11:35
  3. QFrame error when subclassing QwtPlot
    By claudiacrb in forum Qwt
    Replies: 1
    Last Post: 30th April 2010, 08:04
  4. QFileDialog in modeless QDialog and mutex error
    By enno in forum Qt Programming
    Replies: 2
    Last Post: 7th April 2010, 20:49
  5. closing a Qdialog called from a Qdialog
    By OverTheOCean in forum Qt Programming
    Replies: 3
    Last Post: 28th September 2009, 08:02

Tags for this Thread

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.