Results 1 to 16 of 16

Thread: how to run Qt programs on non qt machine ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to run Qt programs on non qt machine ?

    I am attaching a similar example from Image view of Qt Demo....
    I have added
    #include <QtPlugin>
    Q_IMPORT_PLUGIN(qjpeg)
    Q_IMPORT_PLUGIN(qgif)
    Q_IMPORT_PLUGIN(qkrcodecs)
    to the .cpp file
    and
    QTPLUGIN += qjpeg \
    qgif \
    qkrcodecs
    to the header file...

    I get the error as..
    Linking...
    LINK : fatal error LNK1181: cannot open input file "qgif.lib"
    Error executing link.exe.

    Image Test.exe - 1 error(s), 0 warning(s)
    what wrong am I doing ??
    Attached Files Attached Files

Similar Threads

  1. Replies: 5
    Last Post: 28th August 2006, 14:36
  2. Can't compile programs in Visual Studio.net 2005
    By xgoan in forum Qt Programming
    Replies: 3
    Last Post: 7th July 2006, 14:10
  3. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

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.