I was reading here that Qt Desktop Components are now part of QtQuick.
There is no reason I am using QtQuick 1 and not QtQuick 2. The article did not mention I have to use 2.
I have never ported anything with QML so this is all new to me.
The original code before my 'port' looked like this:
Qt Code:
  1. import QtQuick 1.1
  2. import QtDesktop 0.1 as Desktop
  3.  
  4. BaseSlider{
  5. id: slider
  6.  
  7. groove: Desktop.StyleItem {
  8. anchors.fill:parent
  9. elementType: "slider"
  10. ...
To copy to clipboard, switch view to plain text mode