[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] qt-egg on windows
From: |
Daniel Sadilek |
Subject: |
[Chicken-users] qt-egg on windows |
Date: |
Fri, 19 Jan 2007 20:24:32 +0100 |
Hello,
I tried to compile the qt-egg on windows. I use the MinGW that comes
with QT 4.2.2 and MSYS 1.0.10.
I had to change some things in qt.setup and qt.pro, see below. After
these changes it compiled fine. But when using it, it breaks with a
strange error:
--------------------------
#;1> (use qt)
; loading C:\Programme\Chicken\lib\chicken\1\qt.dll ...
Error: unbound variable: |MZÉ ♥ ♦ (c) @
Ç ♫▼║♫ ┤|
Call history:
<eval> (##sys#require (quote qt)) <--
--------------------------
Any ideas?
Best regards
Daniel Sadilek
--- qt.egg-dir.orig/qt.setup Wed Jan 3 13:24:39 2007
+++ qt.egg-dir/qt.setup Fri Jan 19 19:11:21 2007
@@ -4,9 +4,11 @@
(make (("Makefile" ("qt.pro") (run (,(make-pathname QTDIR
"bin/qmake") qt.pro)))
("qt.so" ("prototypes.h" "main.cpp" "qt-base.c" "Makefile")
- (run (make))
- #+(not macosx)
- (run (cp libqtb.so.1.0.0 qt.so)))
+ (run (make release))
+ #+(and (not macosx) (not windows))
+ (run (cp libqtb.so.1.0.0 qt.so))
+ #+windows
+ (run (cp release/qtb.dll qt.dll)))
("qt-base.c" ("qt-base.scm" "prototypes.h")
(run (csc -t qt-base.scm -O2 -d1 -X easyffi)) ) )
"qt.so")
--- qt.egg-dir.orig/qt.pro Fri Nov 3 08:06:28 2006
+++ qt.egg-dir/qt.pro Fri Jan 19 18:53:59 2007
@@ -9,6 +9,7 @@
TEMPLATE=lib
TARGET=qtb
}
-unix:QMAKE_LFLAGS_DEBUG+=`csc -libs`
-unix:QMAKE_CFLAGS_DEBUG+=-w `csc -cflags`
QT+=opengl
+
+INCLUDEPATH=/c/programme/chicken/include
+LIBS=-L/c/programme/chicken/lib -lchicken
- [Chicken-users] qt-egg on windows,
Daniel Sadilek <=