Results 1 to 2 of 2

Thread: Qt quick components installation fails

  1. #1

    Default Qt quick components installation fails

    Hi everybody,

    I'm trying to install qt quick components for qt 4.7.4, but after having done qmake, make install fails at the following line giving me a lot of linking errors.
    Qt Code:
    1. g++ -Wl,-s -mthreads -shared -Wl,--out-implib,..\imports\QtDesktop\plugin\libstyleplugin.a -o ..\imports\QtDesktop\plugin\styleplugin.dll object_script.styleplugin.Release -L"c:\Qt\4.7.4\lib" -L"c:\Qt\4.7.4\lib" -lQtDeclarative4 -lQtScript4 -lQtGui4 -lQtCore4
    To copy to clipboard, switch view to plain text mode 
    heres some part of a long output

    Qt Code:
    1. ./obj\qtmenu.o:qtmenu.cpp:(.text+0xe): undefined reference to `_imp___ZN5QMenu8setTitleERK7QString'
    2. ./obj\qtmenu.o:qtmenu.cpp:(.text+0x39): undefined reference to `_imp___ZNK5QMenu5titleEv'
    3. ./obj\qtmenu.o:qtmenu.cpp:(.text+0x9e): undefined reference to `_imp___ZN7QWidget5closeEv'
    4. ./obj\qtmenu.o:qtmenu.cpp:(.text+0xbe): undefined reference to `_imp___ZNK5QMenu10menuActionEv'
    5. ./obj\qtmenu.o:qtmenu.cpp:(.text+0x13a): undefined reference to `_imp___ZN8QVariantD1Ev'
    6. ....
    To copy to clipboard, switch view to plain text mode 
    what am I missing?
    The libraries are in the c:\Qt\4.7.4\lib folder

    Best,
    Selim

  2. #2

    Default Re: Qt quick components installation fails

    All right, figured it out, I had to adapt the QMAKESPEC variable to take visualstudio and use nmake.

Similar Threads

  1. Qt 4.6.2 Mac Installation fails .
    By nikhil in forum Installation and Deployment
    Replies: 1
    Last Post: 6th October 2012, 12:45
  2. Replies: 0
    Last Post: 9th February 2012, 04:05
  3. Qt Quick Components - layout of Dialog
    By finngruwier in forum Qt Quick
    Replies: 3
    Last Post: 13th September 2011, 16:28
  4. Layering components with QT
    By David Krutsko in forum Newbie
    Replies: 0
    Last Post: 27th October 2010, 00:33
  5. ui components
    By addu in forum Qt Programming
    Replies: 0
    Last Post: 17th September 2009, 15: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.