Difference between revisions of "ECE497 Notes on Qt"

From eLinux.org
Jump to: navigation, search
(Useful Links: Added configure instructions for X11.)
(Installs)
Line 37: Line 37:
 
opkg install qt4-demos
 
opkg install qt4-demos
 
opkg install linuxtag-ics
 
opkg install linuxtag-ics
opkg install  
+
opkg install qt4-examples
 +
opkr install qt4-x11-free qt4-x11-free-doc qt4-x11-free-dev
 
</pre>
 
</pre>

Revision as of 15:05, 27 June 2011


Here are some notes on using Qt on the Beagle.

Useful Links

  • The Qt site
  • Setting Up Qt Development Environment for BeagleBoard-xM has some nice instructions on getting QT going on the Beagle. It's set up for using Qt embedded. This writes directly to the framebuffer and doesn't need (and interferes with) X windows. I'm trying the following configure to make it work with the X11 version.
./configure -opensource -confirm-license -prefix /opt/qt-arm -no-qt3support -x11 -little-endian -xplatform qws/linux-DM3730-g++ -qtlibinfix E

I'm working through this example. I can't change mousearea1 to MouseArea to match the figure. I think something is missing in the instructions.

The Transitions section has some details missing:


   transitions: [
        Transition {
            from: "*"; to: "State1"
            NumberAnimation {
                properties: "x,y";
                duration: 1000
            }
        }
    ]

Installs

Here's what I've installed on the Beagle

opkg install qt4-demos
opkg install linuxtag-ics
opkg install qt4-examples
opkr install qt4-x11-free qt4-x11-free-doc qt4-x11-free-dev