DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1 Week Ago
gustaf gustaf is offline
Port Guard
 
Join Date: Dec 2016
Posts: 45
Default Where is Qt uiTools module?

I am attempting to build SQLiteStudio from source on OpenBSD using the instructions for Linux and the sqlitestudio-3.1.1.tar.gz source file.

I'm pretty sure I have all the correct dependencies (except for UiTools, which I can't find):
  • gcc - 4.8 or later (SQLiteStudio project uses C++11 standard)
    Code:
    $ egcc --version
    egcc (GCC) 4.9.4
    
    $ eg++ --version
    eg++ (GCC) 4.9.4
  • Qt 5.3 or later (required Qt modules: core, gui, network, printsupport, script, svg, uitools, widgets, xml)
    Code:
    $ qmake-qt5 --version
    QMake version 3.1
    Using Qt version 5.9.6 in /usr/local/lib/qt5
    
    $ cd /usr/local/include/X11/qt5
    QtCore/
    QtGui/
    QtNetwork/
    QtPrintSupport/
    QtScript/
    QtSvg/
    <QtUiTools> (missing)
    QtWidgets/
    QtXml/
  • SQLite3
    Code:
    $ pkg_info sqlite3
    ...sqlite3-3.24.0p0
  • readline - for Command Line Interface only
  • tcl - dependency for ScriptingTcl plugin (optional)
    Code:
    $ pkg_info tcl
    ...tcl-8.5.19p1

Running $ export CC=egcc; export CXX=eg++; qmake-qt5 ../../SQLiteStudio3 succeeds, and the program starts to compile when I run $ make. Predictably, it stops with this error:

Unknown module(s) in QT: uitools

How can I obtain the 'uitools' module? I've poked around my system, looked in the ports tree, and made several passes around the Web.

SQLiteStudio looks like a promising program. I'd really like to try it out. Many thanks to anyone who can offer assistance.

Last edited by gustaf; 1 Week Ago at 09:27 AM. Reason: Typo
Reply With Quote
  #2   (View Single Post)  
Old 1 Week Ago
ibara's Avatar
ibara ibara is offline
GNU gold linker
 
Join Date: Jan 2014
Posts: 561
Default

Qt UI Tools are in x11/qt5/qttools.

Additionally, use clang to build Qt5 things, not gcc.
Change:
Code:
$ export CC=egcc; export CXX=eg++; qmake-qt5 ../../SQLiteStudio3
to:
Code:
$ export CC=cc; export CXX=c++; qmake-qt5 ../../SQLiteStudio3
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
gustaf gustaf is offline
Port Guard
 
Join Date: Dec 2016
Posts: 45
Default

Hi, ibara

Thanks for your help.

I added the QtUiToools module and tried building sqlitestudio with clang. It failed with an "incomplete return type 'QVariant'" error.

Since this is morphing into a different topic, I've started a new thread: Can't build sqlitestudio with clang.

Last edited by gustaf; 1 Week Ago at 11:29 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to load module "qxl" (module requirement mismatch) KenJackson NetBSD Installation and Upgrading 3 10th January 2017 09:18 AM
xkcd the fortune-way .. a cpan module daemonfowl General software and network 0 18th October 2013 11:35 PM
The MAC portacl Module sniper007 FreeBSD General 6 17th February 2010 05:57 PM
Installing a kernel module afterwards bram85 FreeBSD Installation and Upgrading 1 20th April 2009 11:38 PM
pam_chauthtok(): error in service module KenJackson FreeBSD Installation and Upgrading 1 26th October 2008 11:24 PM


All times are GMT. The time now is 04:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick