Re: LuaQt on Qt 5.15LTS Debian9 gcc9.x x64

41 views
Skip to first unread message

Michal Kottman

unread,
May 29, 2020, 3:04:33 AM5/29/20
to dd...@inbox.ru, lqt-bi...@googlegroups.com, sani...@163.com
Hello, it's been a couple of years since I worked on "lqt" and the last version I worked on was Qt4. Where are you getting the source from? I assume you are using "github.com/lqt5/lqt", CCed Saniko who's been doing the recent work on that repo (sorry for the spam if I did not get that right).

That said, it seems the binding is a bit outdated. Looking at Qt changelog: https://code.qt.io/cgit/qt/qtdeclarative.git/tree/dist/changes-5.14.0/?h=v5.14.0:

   * The accidentally exported function qmlRegisterBaseTypes() was removed.

Try simply removing the entire definition of this function from generated lqt source. If you are not comfortable with that, reach out to the most recent author. I guess my email should be removed from the README as I'm no longer actively maintaining lqt.

On Fri, May 29, 2020, 3:00 AM <dd...@inbox.ru> wrote:
 
Hi,
Im trying to embed lqt into a Qt project but with no luck, (some advise, tips or something? updates?)
 
thanks in advance
 
this is my setup:
Debian 9 x64
gcc 9.x
Qt 5.15
 
### luaqt (git master branch)
### aptitude search lua (output):
% aptitude search lua |grep 5.1  
i A liblua5.1-0 - Shared library for the Lua interpreter version 5.1
i  liblua5.1-0-dev - Development files for the Lua language version 5.1
p  liblua5.1-bitop-dev - Transitional package for lua-bitop-dev
p  liblua5.1-bitop0 - Transitional package for lua-bitop
v  liblua5.1-dev -  
v  liblua5.1-json -  
i  liblua5.1-rrd-dev - Transitional package to lua-rrd-dev
p  liblua5.1-rrd0 - Transitional package to lua-rrd
i  libluajit-5.1-2 - Just in time compiler for Lua - library version
i A libluajit-5.1-common - Just in time compiler for Lua - common files
i  libluajit-5.1-dev - Just in time compiler for Lua - development files
i  libtolua++5.1-dev - extended tool to integrate C/C++ code with Lua (devel)
p  lua5.1 - Simple, extensible, embeddable programming language
v  lua5.1-bitop -  
v  lua5.1-bitop-dev -  
p  lua5.1-doc - Documentation for the Lua language version 5.1
v  lua5.1-expat -  
v  lua5.1-expat-dev -  
v  lua5.1-json -  
v  lua5.1-lpeg -  
v  lua5.1-lpeg-dev -  
v  lua5.1-rrd -  
v  lua5.1-rrd-dev -  
v  lua5.1-socket -  
v  lua5.1-socket-dev -  
i  luajit - Just in time compiler for Lua programming language version 5.1

 
 
### this is the console output (err) (i’m following the instruccions on the github page):
luaqt-git/build-qt515-rel/qtqml_src/qtqml_globals.cpp:3602:3: error: qmlRegisterBaseTypes’ was not declared in this scope; did you mean ‘qmlRegisterType’?
3602 |   qmlRegisterBaseTypes(arg1, arg2, arg3);


 
 
 
 
 
Reply all
Reply to author
Forward
0 new messages