Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt quick desktop components installation fails
Qt 6.11 is out! See what's new in the release blog

Qt quick desktop components installation fails

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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.
    @
    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@

    heres some part of a long output

    @./obj\qtmenu.o:qtmenu.cpp:(.text+0xe): undefined reference to _imp___ZN5QMenu8setTitleERK7QString' ./obj\qtmenu.o:qtmenu.cpp:(.text+0x39): undefined reference to _imp___ZNK5QMenu5titleEv'
    ./obj\qtmenu.o:qtmenu.cpp:(.text+0x9e): undefined reference to _imp___ZN7QWidget5closeEv' ./obj\qtmenu.o:qtmenu.cpp:(.text+0xbe): undefined reference to _imp___ZNK5QMenu10menuActionEv'
    ./obj\qtmenu.o:qtmenu.cpp:(.text+0x13a): undefined reference to `_imp___ZN8QVariantD1Ev'
    ....@
    what am I missing?
    The libraries are in the c:\Qt\4.7.4\lib folder

    Best,
    Selim

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved