Hello,
I am trying to bind QtCore library. I'm using tolua++ to generate the cpp from the headers. I found the pkg at this adress :
http://svn.berlios.de/svnroot/repos/lua ... 4/lua_qt4/
When trying to compile QtCore.pkg, i got the following error:
"
***curr code for error is
Q_OBJECT
signals:
public:
QMetaEnum (); const _cstring name () const; bool isFlag () const; int keyCount () const; const _cstring key (int index) const; int value (int index) const; const _cstring scope () const; int keyToValue (const _cstring key) const; const _cstring valueToKey (int value) const; int keysToValue (const _cstring keys) const; QByteArray valueToKeys (int value) const; bool isValid () const;
stack traceback: [string "tolua embedded: src/bin/lua/basic.lua"]:91: in function 'tolua_error' [string "tolua: embedded Lua code 22"]:5: in main chunk
** tolua internal error: [string "tolua embedded: src/bin/lua/container.lua"]:737: #parse error.
stack traceback: [string "tolua: embedded Lua code 22"]:6: in main chunk
"
It appears the call to the macro Q_OBJECT is the problem.
I guess its not only a lua issue but also a Qt one. I just hope someone here has once tried to bind Qt like me and therefore may help me.
Thank you
Madeline
Binding the Qt librairy
Binding the Qt librairy
Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.
Moderator: Moderators
Jump to
- Community
- ↳ General Discussion
- ↳ Help & Bugs
- ↳ Ingame Community
- ↳ Spring Clans
- ↳ Tournaments
- ↳ Linux
- ↳ Mac OS X
- ↳ Off Topic Discussion
- Content Development
- ↳ Game Development
- ↳ Game Development Tutorials & Resources
- ↳ Game Releases
- ↳ Map Creation
- ↳ Map Tutorials & Resources
- ↳ Map Releases
- ↳ Lua Scripts
- ↳ Art & Modelling
- ↳ Modelling & Texturing Tutorials & Resources
- ↳ Sound Effects & Music
- ↳ Project Subforums
- ↳ Balanced Annihilation
- ↳ Balanced Annihilation Reloaded
- ↳ Conflict Terra
- ↳ The Cursed
- ↳ Evolution RTS
- ↳ Jauria RTS
- ↳ Kernel Panic
- ↳ Journeywar
- ↳ Ludum Dare
- ↳ MechCommander: Legacy
- ↳ Metal Factions
- ↳ MOSAIC
- ↳ NOTA
- ↳ Phoenix Annihilation
- ↳ SpringBoard
- ↳ Spring: 1944
- ↳ Star Wars: Imperial Winter
- ↳ TA Prime
- ↳ Tech Annihilation
- ↳ XTA
- ↳ Zero-K
- ↳ Project Archive
- ↳ Argh's Projects
- ↳ Caydr's Projects
- ↳ Damned
- ↳ Dune: Evolution
- ↳ Engines Of War
- ↳ Evolution RTS
- ↳ Progressive Annihilation
- ↳ Supreme Annihilation
- ↳ Spring Tanks
- ↳ PanzerStahl
- Development
- ↳ News
- ↳ Engine
- ↳ Dedicated Developer Discussion
- ↳ New Developer Discussion
- ↳ Meeting Minutes
- ↳ AI
- ↳ Lobby Clients & Server
- ↳ Infrastructure Development
- ↳ Lobby Meeting Minutes
- ↳ SPADS AutoHost
- ↳ SpringLobby Client
- ↳ Feature Requests
- ↳ Bounty Offers
- ↳ The Werewolf Game
- ↳ News Submissions
- Site content
- ↳ Community Blog
- ↳ Site content
- ↳ Banners
- ↳ Welcome images
- ↳ Videos
- ↳ Videos - contributions
- ↳ Screenshots
- ↳ Screenshots - contributions