Results 1 to 7 of 7

Thread: How to integrate Lua as Qt application extension

  1. #1
    Join Date
    Aug 2012
    Posts
    6
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How to integrate Lua as Qt application extension

    I need to actually make an entry of scripts, so you can manipulate the application, I've tried with the binary project with sources, usually by. LIBS and the pro INCLUDEPATCH ...
    I've tried also the project but QtLua of errors, LQT also, if anyone knew the best and how to install it properly I would greatly appreciate it ..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to integrate Lua as Qt application extension

    Is using Lua a requirement? Qt can be easily integrated with java script or python.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    mizim (4th October 2012)

  4. #3
    Join Date
    Aug 2012
    Posts
    6
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to integrate Lua as Qt application extension

    But for you which is faster and easier to write scripts User? Lua, Python or Java?
    Thank you for helpme

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to integrate Lua as Qt application extension

    Quote Originally Posted by mizim View Post
    But for you which is faster and easier to write scripts User? Lua, Python or Java?
    Thank you for helpme
    I don't know Lua so for me it's probably fastest to use JavaScript and then Python. If you insist on using Lua then google for "embedding Lua", from what I see this is a pretty straightforward task.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. The following user says thank you to wysota for this useful post:

    mizim (4th October 2012)

  7. #5
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to integrate Lua as Qt application extension

    Quote Originally Posted by mizim View Post
    I need to actually make an entry of scripts, so you can manipulate the application, I've tried with the binary project with sources, usually by. LIBS and the pro INCLUDEPATCH ...
    I've tried also the project but QtLua of errors, LQT also, if anyone knew the best and how to install it properly I would greatly appreciate it ..
    http://code.google.com/p/lqt/wiki/BuildInstructions

    qtlua mailing list
    http://lists.nongnu.org/mailman/listinfo/libqtlua-list


    Have you been to either? Since your issue is with the binding, not Qt, you would be better of asking there. And in any event, this is not a Qt programming question so you are in the wrong place. again.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  8. #6
    Join Date
    Aug 2012
    Posts
    6
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to integrate Lua as Qt application extension

    Yes wysota, is pretty simple until I managed to solve the problem now, thanks for your help and for your opinion.

  9. #7
    Join Date
    Jun 2015
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to integrate Lua as Qt application extension

    Mizim, could you please tell me how you managed to integrate Lua as Qt application extension on windows platform?

Similar Threads

  1. integrate qwt tvplot in QT Application
    By vinithr in forum Qwt
    Replies: 1
    Last Post: 16th August 2012, 08:21
  2. Replies: 6
    Last Post: 4th May 2011, 07:30
  3. mobile extension application install problem
    By QtBros61 in forum Newbie
    Replies: 0
    Last Post: 26th April 2010, 20:19
  4. Replies: 4
    Last Post: 16th February 2010, 17:42
  5. How to Integrate Qt with 'C'
    By deepakn in forum Newbie
    Replies: 3
    Last Post: 8th August 2007, 15:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.