[Qt-embedded-interest] Packaging Qt Embedded (no DESTDIR support?)

Daniel Jabbour daniel at laptouchinc.com
Tue Mar 31 23:05:36 CEST 2009


Hi,

I am trying to package Qt Embedded 4.5.0 for use on our embedded  
device. Most autoconf/GNU packages use a DESTDIR flag on their install  
target to enable a package maintainer to install to a directory which  
is different from the prefix directory. For instance, on the completed  
device I might want Qt to reside in prefix /usr/local/qte while on the  
machine I cross-compile on I might want to install it to /home/me/ 
deviceroot/usr/local/qte. In most cases, I would be able to do this by:

./configure -prefix /usr/local/qte
make
make DESTDIR=/home/me/deviceroot install

But Qt doesn't seem to support the DESTDIR flag. See http://www.gnu.org/prep/standards/html_node/DESTDIR.html

What is the solution for building and packaging Qte? Is there a viable  
alternative that other people have used? I'd like to know before I go  
modifying the Make scripts... Thanks,

Daniel

--
Daniel Jabbour
Software Engineer
Laptouch, Inc.






More information about the Qt-embedded-interest mailing list