Results 1 to 2 of 2

Thread: QFileDialog::getOpenFileName in DLL

  1. #1
    Join Date
    Sep 2009
    Location
    phoenix, AZ
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default QFileDialog::getOpenFileName in DLL

    Hi,

    I have a program l compiled as a DLL . It is working very well except when it call QFileDialog::getOpenFileName ... it doesn't makes any sense to me as it is working very well if l compile my code as .exe..

    I read in the code this QFileDialog::getOpenFileName is actually callingWindows system filedialog ....so should l include other library in addition to QGui/ Qobject .. ?

    thanks,

    Michael

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog::getOpenFileName in DLL

    Two questions:

    1) What do you mean for "compiled as DLL"?;

    2) What happens when you use QFileDialog?

    Can you post the code?

    PS. post the .pro file
    Last edited by mcosta; 22nd February 2011 at 09:32. Reason: updated contents
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. Why QFileDialog::getOpenFileName is not centered?
    By ricardo in forum Qt Programming
    Replies: 20
    Last Post: 30th August 2009, 23:08
  2. Replies: 2
    Last Post: 10th January 2008, 12:52
  3. Problem with QFileDialog::getOpenFileName()
    By spud in forum Qt Programming
    Replies: 4
    Last Post: 1st November 2007, 22:31
  4. Replies: 1
    Last Post: 14th October 2007, 23:10
  5. QFileDialog::getOpenFileName() gets stucked
    By elcuco in forum Qt Programming
    Replies: 5
    Last Post: 28th March 2006, 23:09

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.