Ticket #147: qt-pro.patch
File qt-pro.patch, 1.2 KB (added by , 15 years ago) |
---|
-
qt.setup
2 2 (or (getenv "QTDIR") 3 3 (error "please set the QTDIR environment variable") ) ) 4 4 5 (with-output-to-file "qt.pro" 6 (lambda () 7 (print 8 "SOURCES=main.cpp qt-base.c\n 9 HEADERS=prototypes.h\n 10 CONFIG+=uitools qt debug\n 11 TEMPLATE=lib\n 12 TARGET=qtb\n 13 unix:QMAKE_LFLAGS_DEBUG+=`" (make-pathname (program-path) "csc") " -libs -ldflags`\n 14 unix:QMAKE_CFLAGS_DEBUG+=-w `" (make-pathname (program-path) "csc") " -cflags`\n 15 unix:QMAKE_CXXFLAGS_DEBUG+=-w `" (make-pathname (program-path) "csc") " -cflags`\n 16 QT+=opengl 17 "))) 18 5 19 (make (("Makefile" ("qt.pro") (run (,(make-pathname QTDIR "bin/qmake") qt.pro))) 6 20 ("qt.so" ("prototypes.h" "main.cpp" "qt-base.c" "Makefile") 7 21 (run (make)) -
qt.meta
6 6 (depends easyffi protobj matchable) 7 7 (doc-from-wiki) 8 8 (author "felix winkelmann") 9 (files "qt.setup" "qt-base.scm" "main.cpp" " qt.pro" "prototypes.h" "examples"))9 (files "qt.setup" "qt-base.scm" "main.cpp" "prototypes.h" "examples"))