[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libqtlua-list] Compiling QtLua on Windows
From: |
Alexandre Becoulet |
Subject: |
Re: [Libqtlua-list] Compiling QtLua on Windows |
Date: |
Tue, 9 Aug 2011 23:47:07 +0200 |
User-agent: |
KMail/1.13.7 (Linux/2.6.38-ARCH; KDE/4.6.3; x86_64; ; ) |
On Monday, August 08, 2011 04:51:36 PM Hildebrando Trannin wrote:
Hello,
> I tried to compile QtLua on Windows, but I had a few problems.
> 1. I tried to compile QtLua 1.2.1 with MSYS + MinGW. But it didn't find the
> Lua and Qt instalations. I set CFLAGS, CPPFLAGS, CXXFLAGS and LDFLAGS but
> none of these worked. How can I change the include and lib directories?
Won't work.
> 2. So I tried to compile using CMAKE. It finds Qt and Lua instalations and
> generates the makefile correctly, but when I execute it I receive an error
> that it can't find QString class. I think that it can't find the Qt include
> directory again.
I added CMake files to help users running non GNU/Linux platforms but I do not
use windows and thus can not test build on this platform.
Problems have been reported due to "QtLua/String" header conflicting with
<string> on case-insensitive fs. Please try the change below and let us know.
Best.
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 97)
+++ CMakeLists.txt (working copy)
@@ -72,7 +72,7 @@
ADD_DEFINITIONS(-DQTLUAREF_DEBUG)
INCLUDE_DIRECTORIES (${CMAKE_CURRENT_BINARY_DIR})
- INCLUDE_DIRECTORIES( src src/internal src/QtLua)
+ INCLUDE_DIRECTORIES( src )
SET(QTLUA_LIB_SRCS src/qtluaconsole.cc src/qtluaenum.cc
src/qtluaenumiterator.cc src/qtluafunction.cc
--
Alexandre