Results 1 to 3 of 3

Thread: Error: QFileDialog has not been declared? Help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Location
    India
    Posts
    143
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Error: QFileDialog has not been declared? Help

    I have come up with a problem .Please help

    I have compiled an example for ARM target from QT-Embedded examples
    /examples/MainWindows/application

    It got compiled for target without any errors. But once i execute my exe in my target it gives this error

    For openfile() , Savefile()

    Error: QFileDialog has not been declared. I hope there is some problems with libraries.

    Now how do i solve this problem. Please help me.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error: QFileDialog has not been declared? Help

    Have you played with the qfeatures file? That way you could have removed the dialog. Otherwise, this sounds like a qmake issue. Try a make distclean, then re-run qmake and make.

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error: QFileDialog has not been declared? Help

    by default QFileDialog, QSplitter etc are disabled in QtE ... to enable them just comment the appropiate macro in qconfig-qpe.h(this file is in QtExtended)

Similar Threads

  1. qssl
    By jsmith in forum Qt Programming
    Replies: 29
    Last Post: 7th April 2009, 22:21
  2. Installation on Fedora Core 4
    By jcr in forum Installation and Deployment
    Replies: 3
    Last Post: 29th January 2009, 01:34
  3. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  4. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 21:52
  5. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49

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.