[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Experimental packages (experience with building on Fre
From: |
Kostas Oikonomou |
Subject: |
Re: [Texmacs-dev] Experimental packages (experience with building on FreeBSD) |
Date: |
Tue, 07 Dec 2021 17:23:06 -0500 |
User-agent: |
Evolution 3.42.0 FreeBSD GNOME Team |
Hi Philippe,
Thanks, this is very helpful!
The Qt5 package I am using is indeed 5.15.2, this is the latest for FreeBSD. No Qt6 is available yet.
With respect to the discussion im savannah, here is one more data point: the following simple program works fine with
Qt 5.15.2.
// clang++ -O2 -Wall -Wextra -pthread -fPIC -std=c++11 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtCore -L/usr/local/lib/qt5 -lQt5Core QTMPipeLink.cpp
#include <iostream>
#include <QProcess>
#include <QStringList>
int main() {
QString cmd = "ls";
QStringList args = {"-l"};
QProcess *myp = new QProcess();
myp->start(cmd, args);
if (myp->waitForFinished()) {
QString result = myp->readAll();
std::cout << result.toStdString() << std::endl;
};
};
Now this is not nearly as complex as the pipe scheme in TeXmacs, but it's a data point.
Kostas
On Tue, 2021-12-07 at 19:01 +0100, Philippe Joyez wrote:
Hi Kostas,
For some reason I can't manage to post on the mailing list, so I email
you directly.
Given the issue you reported yesterday with TeXmacs plugins in FreeBSD,
I believe you made a Qt5 build which is then having the issue described
Regards,
Philippe