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-components-desktop installation problem
QtWS25 Last Chance

Qt-components-desktop installation problem

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.1k Views
  • 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.
  • K Offline
    K Offline
    ksiedzulek
    wrote on last edited by
    #1

    Hi,

    I have downloaded qt-components-desktop and i have no idea how to install it:/ In README file from extracted "qt-components-desktop" there is instruction:

    bq. "To install the
    components into your Qt directory, simply enter the root directory and do: 'qmake && make install' This will compile and copy the plugins and components into your QTDIR/imports folder. "

    I have set QTDIR to /home/../../../QtSDk

    and how to run qmake? there is no makefile in "qt-components-desktop" folder?

    what I did: I build desktop.pro in qtcreator and makefile appears in builded directory, but what next? Or my way to find solution is bad? Could somebody tell step by step how to install these components? I run Ubuntu 11.10 and use qt 4.8

    1 Reply Last reply
    0
    • C Offline
      C Offline
      charango
      wrote on last edited by
      #2

      Hi ksiedzulek,

      First of all you should set up environment variables, then run qmake, and your make tool.
      In my case, I ran batch file:

      @SET QTDIR=C:\Qt\4.8.0
      SET MINGWDIR=C:\Qt\qtcreator-2.4.82\mingw
      SET QMAKESPEC=win32-g++
      SET PATH=%QTDIR%\bin;%MINGWDIR%\bin;%SystemRoot%\System32
      qmake.exe desktop.pro -r -spec win32-g++ "CONFIG+=release"
      mingw32-make.exe install@

      It will create QtDesktop folder in %QTDIR%\imports.

      Then I can import this module in my qml file: "import QtDesktop 0.1". Actually, it worked after restarting Qt Creator.

      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