2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: cross
cross compile QT4 program for windows on ubuntu dapper
1、首先安装基础程序: sudo wine mingw32 mingw32-binutils mingw32-runtime 2、安装QT4支持(LINUX下的支持): sudo apt-get install libqt4-core libqt4-gui libqt4-qt3support libqt4-sql libqt4-debug-dev libqt4-dev 3、下载QT4 for win程序: wget http://wftp.tu-chemnitz.de/pub/Qt/qt/source/qt-win-opensource-4.1.2-mingw.exe 4、安装: wine qt-win-opensource-4.1.2-mingw.exe 中间会提示找不到MINGW32的位置,没关系,可以直接跳过。 5、修改specs文件 sudo cp -Rf /usr/share/qt4/mkspecs/win32-g++ /usr/share/qt4/mkspecs/win32-x-g++ sudo nano /usr/share/qt4/mkspecs/win32-x-g++/qmake.conf 把和下面相关的内容都进行修改: QMAKE_CXX = i586-mingw32msvc-g++ QMAKE_INCDIR = … Continue reading
编译sqlite for windows on ubuntu dapper
参考其中的SQLITE部分: http://mpa.itc.it/radim/wingrass/INSTALL 下载源码,解压缩: cd sqlite-3.3.5 nano Makefile.linux-gcc #modify: #TOP = ../sqlite-3.3.5 #这个修改不知道有没有意义 # Note: SQLite is using for example its own parser (lemon) which must be compiled first for Linux make -f Makefile.linux-gcc lemon keywordhash.h cp Makefile.linux-gcc Makefile.mingw-gcc nano Makefile.mingw-gcc … Continue reading