October 5, 2011

frankiefrank frankiefrank
Hobby Entomologist
220 posts

Can’t setup Qt Components 1.1 on my desktop environment

 

I’ve been trying to setup Qt Components on my system but I can’t make it work.

I have Qt 4.7.4 and I downloaded the Qt Components tar from
https://qt.gitorious.org/qt-components/qt-components/trees/master

I tried to follow these instructions:
http://stackoverflow.com/questions/6298584/installing-qt-quick-components-for-desktop-for-use-with-qt-creator

After running configure.bat got this result:

  1. Qt Components build configuration:
  2. Configuration .................... demos examples extras tests
  3. MeeGo Style ...................... no
  4. Symbian Style .................... no
  5.   Extras ......................... yes
  6. Demos ............................ yes
  7. Examples ......................... yes
  8. Tests ............................ yes
  9.  
  10. Qt Components is now configured for building. Just run '(n)make'.

Ran nmake and wanted to copy the components directory into C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\imports\Qt\labs
but there is already a components directory there (presumably 1.0).

What do I do to update to 1.1?

 Signature 

“Roads? Where we’re going, we don’t need roads.”

2 replies

October 6, 2011

Lukas Geyer Lukas Geyer
Lab Rat
2074 posts

There is generally no need to copy files by hand – just use nmake install. If there is a previous installation of Qt Components use nmake uninstall first.

October 6, 2011

frankiefrank frankiefrank
Hobby Entomologist
220 posts

Thanks fot the tip. Still not resolved though. My imports folder (imports/Qt/labs) now has both components and components.1.1 in it.
From my QML I manage to run with:

  1. import Qt.labs.components.native 1.0

Now the question is how can I reference 1.1? And also, do I need to? Is this a newer version of the existing components?

I can’t compile

  1. import Qt.labs.components.1.1 1.1

or other variations I tried.

 Signature 

“Roads? Where we’re going, we don’t need roads.”

 
  ‹‹ Compiling Qt for ARM ,Error 127      I cannot run program compile in MS Visual studio 2010 with QT 4.7.4 (W7) ››

You must log in to post a reply. Not a member yet? Register here!