我先将qt-embedded-linux-opensource-src-4.5.2编译成静态:
./configure \
-prefix /usr/local/StaticQtE \
-opensource \
-release \
-static \
-fast \
-embedded arm
make
make install
安装好之后,写了个hello.cpp,然后在工程目录下:
/usr/local/StaticQtE/bin/qmake -project
/usr/local/StaticQtE/bin/qmake
make
之后将得到的hello(11.3M)程序在板子上运行为什么还是提示:
error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
为什么还会去加载动态库?
[ 此帖被wato在2009-11-09 15:04重新编辑 ]