Changes between Version 5 and Version 6 of qt4


Ignore:
Timestamp:
04/01/2012 09:20:49 PM (11 years ago)
Author:
ken@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qt4

    v5 v6  
    77sed -i.orig 's/COMMERCIAL_USER=ask/COMMERCIAL_USER=no/g' configure
    88and append -confirm-license to your configure line
     9
     10For 4.8, add '-opensource' to the configure, you can now use 'yes | ./configure'
     11
     12If you build in /usr, unlike the book, all sorts of "rubbish" gets scattered across $PREFIX.  That doesn't matter in /opt, but for tidiness in /usr you can fix this by passing
     13{{{
     14 -docdir /usr/share/qt4/doc -plugindir /usr/lib/qt4/plugins \
     15 -importdir /usr/lib/qt4 \
     16 -datadir /usr/share/qt4 \
     17 -translationdir /usr/share/locale \
     18 -sysconfdir /etc/qt4
     19}}}
     20
     21For some reason, the .pc files point to the build directory, If you have deleted that, packages such as vlc and at least one of the gst-plugins will fail to build until the pc files have been fixed. I happen to build in /usr/src - if you build elsewhere such as /home, the sed needs to match the path currently in these pc files and change it to /usr/bin (if your prefix is /usr).  You do this after the install, so you can review these files before backing them up and finding a sed that works for you.
     22{{{
     23sed -i 's%/src/qt-everywhere-opensource-.*/bin%/bin%' \
     24  /usr/lib/pkgconfig/Qt*.pc
     25}}}