8
« on: October 25, 2010, 09:47:27 pm »
I have been told that there was a missing DLL file in the archive so here a new one with the required DLL.
Also, here is the process I did to build the application:
Run "setenv.bat" that basically does this:
SET QTDIR=N:\Qt\qt-win-free-mingw-3.3.4
SET PATH=%QTDIR%\bin;%PATH%
SET QMAKESPEC=win32-g++
After that, I edit the iqnotes.pro file and change these 4 lines:
desktop:DEFINES = IQNOTES_PICDIR="\"pics\""
desktop:INTERFACES = p:\fred\iqnotes-2.1.0rc1\iqnotes\desktop\ui\*.ui
desktop:HEADERS += p:\fred\iqnotes-2.1.0rc1\iqnotes\desktop\qpe\*.h
desktop:SOURCES += p:\fred\iqnotes-2.1.0rc1\iqnotes\desktop\qpe\*.cpp
Then, I do:
cd iqnotes
qmake
Then, I edit the Makefile and replace "-lqt" by "lqt-mt".
I build the application typing "make".
For some mysterious reasons, the linking step may give some errors. If I do "make clean;make", it usually works on the second time. Go figure...
At this point, I should have a iqnotes.exe in the parent directory.
I package the application manually in a directory that contains:
- iqnotes.exe
- qt-mt3.dll (taken from qt-win-free-mingw-3.3.4 directory)
- mingwm10.dll (also taken from qt-win-free-mingw-3.3.4 directory)
- pics folder (taken from iqnotes)
That's it! I hope I have not forgotten anything.