PDA

View Full Version : QFileDialog::getOpenFileName in DLL



OverTheOCean
22nd February 2011, 07:30
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

mcosta
22nd February 2011, 09:31
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