Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "ECE497 Notes on Qt"

From eLinux.org
Jump to: navigation, search
m (Installs: Added some hacks I did)
m (Installs: Added uic ln)
Line 64: Line 64:
 
$ cd /usr/bin
 
$ cd /usr/bin
 
$ ln -s moc moc-qt4
 
$ ln -s moc moc-qt4
 +
$ ln -s uic uic-qt4
 
$ ln -s qmake-qt4 qmake
 
$ ln -s qmake-qt4 qmake
  
 
$ source /usr/share/qt4/environment-setup
 
$ source /usr/share/qt4/environment-setup
 
</pre>
 
</pre>

Revision as of 17:59, 9 August 2011


Here are some notes on using Qt on the Beagle.

Useful Links

  • The Qt site
  • It looks like the best way to get going is use bitbake. I'm trying
$ source ~/.oe/environment-2008
$ bitbake qt4-x11-free-gles
./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
            }
        }
    ]

QWT

QWT is short for Qt Widgets for Technical Applications. It is a collection of widgets and support classes for creating technical applications such as those created using, for example, LabView or Test Point.

Here is some info on QWT. I think it might be able to plot data as it comes in.

I'm trying to fix the include path with:

export CPLUS_INCLUDE_PATH=/usr/include/qt4/Qt

Installs

Here's what I've installed on the Beagle

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

I think you need to do this before running qmake.

$ cd /usr/bin
$ ln -s moc moc-qt4
$ ln -s uic uic-qt4
$ ln -s qmake-qt4 qmake

$ source /usr/share/qt4/environment-setup