Re: [Time-table-devl] Trouble with CVS
Status: Pre-Alpha
Brought to you by:
graeme_f
|
From: graeme @ g. <fos...@gm...> - 2006-03-24 16:09:39
|
Okay I've managed to get it to compile under Windows just using the
command line.
Here is what I did.
1. Download the Qt.exe the file name was qt-win-opensource-4.1.1-mingw
2. Install the above
1. When it asks if I want to download and install mingw I accept
3. From the Start > Qt by TrollTech v4.1.1 (OpenSource) > Qt 4.1.1
(Build Debug Libraries)
4. From the Start > Qt by TrollTech v4.1.1 (OpenSource) > Qt 4.1.1
Command Prompt
5. From within the command prompt navigate to the directory with the
downloaded time-table source code
1. At the prompt I did >cd C:/time-table
6. At the prompt run >qmake
7. Followed by >make
The downloaded version is a debug hence you will need the debug
libraries. If you want release then you will want to edit the makefile
however a quick way to do it is by editing the Makefile.debug and
editing the LIBS (line 23?) by removing the last d in the four qt
libraries, -lqtmain -lQtSql4 -lQtGui4 -lQtCore4
The binary will then run but give you an error message because the
driver hasn't been loaded. This is because it requires the pgSQL driver.
(That's my next task!)
Hope that helps you.
graeme.
Christopher Menke wrote:
> Since I've never done anything like this before, I'm having a large
> amount of problems.
>
> I have absolutely no clue how to install Qt and get the time-table
> into MSVS 2005. I downloaded qt-win-opensource-src-4.1.1.zip from the
> trolltech website. Is this the correct file? How would I incorporate
> this into Visual Studio?
>
> If using MSVS is a problem, I would gladly download a different
> compiler. (It's just the compiler I use for school)
>
> Thanks in advance for your help,
> Kit
|