Results 1 to 5 of 5

Thread: Need help with compiling on Windows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Need help with compiling on Windows

    Quote Originally Posted by Cruz View Post
    Hm, yes. That approach is probably a lot easier. A problem that still remains though is that the library has to be installed on every machine where the project is being developed.
    Not really. You can compile it in statically into your application.

    In any case, I would still like to understand what this compiler error is that I'm seeing. What does it mean by dllimported class?
    That's because of one of those stupid Windows macros. It'll be best if you google for "dllimport" and "dllexport" but before you do, try removing the QGLVIEWER_EXPORT macro from every class declaration or make sure the macro is empty (you'll have to find where it is defind and rem it out). This should be enough to make it build.

  2. The following user says thank you to wysota for this useful post:

    Cruz (29th January 2009)

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Error when compiling for static version in windows
    By que in forum Installation and Deployment
    Replies: 4
    Last Post: 28th October 2008, 20:41
  4. Compiling qshortcutdialog on Windows with mingw
    By dvmorris in forum Qt Programming
    Replies: 2
    Last Post: 23rd April 2007, 19:16
  5. Replies: 10
    Last Post: 28th April 2006, 15:48

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.