Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building minimal Qt5 - no GUI, just QtCore, QtNetwork, oh and QtScript [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Building minimal Qt5 - no GUI, just QtCore, QtNetwork, oh and QtScript [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dvb0222
    wrote on last edited by
    #1

    I am building Qt for an embedded target which has a very minimal distribution. My Qt application links only against the QtCore, QtNetwork and QtScript libraries. There is no GUI and no keyboard input.

    I think I can get everything I need except QtScript from building the qtbase module, and turning off things with the -no<fill-in-the-blank> options. But how do I integrate the qtscript module with this build?

    I remember when Qt5 was first released there was documentation on assembling modules together, but that seems to be gone.

    I do not want to start with the full source distro and take things out. I'd rather start with the qtbase and add the qtscript, but I cannot figure out how to do this. Any guidance is very appreciated


    David Van Beveren
    Oak Park Technology Corp.
    Malibu, California
    vbdavid@gmail.com

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dvb0222
      wrote on last edited by
      #2

      OK sorry for the post, the answer is super simple.

      Download and build qtbase, then install it.
      Point your QTDIR to where you installed the qtbase, and add $QTDIR/bin to the front of your path.
      Now just un-tar the qtscript source tarball, cd to it and qmake; make

      It builds the libs and learns where the Qt base installed to. You can make install to add the qtscript libs and .h to your Qt build.

      I presume the other modules are this easy also.

      Very cool stuff.


      David Van Beveren
      Oak Park Technology Corp.
      Malibu, California
      vbdavid@gmail.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved