I am of the opinion that we no longer send packages for Ubuntu Bionic (Qt 5.9), what do you think?
And support only Qt >=5.11.3
You are not logged in. Please login or register.
QElectroTech → Posts by De-Backer
I am of the opinion that we no longer send packages for Ubuntu Bionic (Qt 5.9), what do you think?
And support only Qt >=5.11.3
gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/richtexteditor.o sources/richtext/richtexteditor.cpp
sources/richtext/richtexteditor.cpp:90:41: error: ‘QStringView’ does not name a type; did you mean ‘QStringRef’?
static inline bool filterElement(const QStringView &name)
^~~~~~~~~~~
QStringRef
sources/richtext/richtexteditor.cpp:97:10: error: ‘QStringView’ does not name a type; did you mean ‘QStringRef’?
const QStringView &name,
^~~~~~~~~~~
QStringRef
sources/richtext/richtexteditor.cpp:127:40: error: ‘QStringView’ does not name a type; did you mean ‘QStringRef’?
static inline bool isWhiteSpace(const QStringView &in)
^~~~~~~~~~~
QStringRef
sources/richtext/richtexteditor.cpp: In function ‘bool qdesigner_internal::isWhiteSpace(const int&)’:
sources/richtext/richtexteditor.cpp:129:24: error: request for member ‘size’ in ‘in’, which is of non-class type ‘const int’
const int count = in.size();
^~~~
sources/richtext/richtexteditor.cpp:131:12: error: request for member ‘at’ in ‘in’, which is of non-class type ‘const int’
if (!in.at(i).isSpace())
^~
sources/richtext/richtexteditor.cpp: In function ‘QString qdesigner_internal::simplifyRichTextFilter(const QString&, bool*)’:
sources/richtext/richtexteditor.cpp:153:34: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘QStringRef’
if (filterElement(reader.name())) {
~~~~~~~~~~~^~
sources/richtext/richtexteditor.cpp:90:21: note: in passing argument 1 of ‘bool qdesigner_internal::filterElement(const int&)’
static inline bool filterElement(const QStringView &name)
^~~~~~~~~~~~~
sources/richtext/richtexteditor.cpp:154:12: error: ‘QStringView’ does not name a type; did you mean ‘QStringRef’?
const QStringView name = reader.name();
^~~~~~~~~~~
QStringRef
sources/richtext/richtexteditor.cpp:156:23: error: ‘name’ was not declared in this scope
filterAttributes(name, &attributes, ¶graphAlignmentFound);
^~~~
sources/richtext/richtexteditor.cpp:156:23: note: suggested alternative: ‘rename’
filterAttributes(name, &attributes, ¶graphAlignmentFound);
^~~~
rename
sources/richtext/richtexteditor.cpp:165:34: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘QStringRef’
if (!isWhiteSpace(reader.text()))
~~~~~~~~~~~^~
sources/richtext/richtexteditor.cpp:127:21: note: in passing argument 1 of ‘bool qdesigner_internal::isWhiteSpace(const int&)’
static inline bool isWhiteSpace(const QStringView &in)
^~~~~~~~~~~~
and i got the reverse message in qt6..
Can they take a position in qt? QStringView or QStringRef
Right, i forgot that the min QT was 5.9, my apologies.
Version : Ubuntu 18.04 LTS
Code name : Bionic Beaver
Release : April 26, 2018
End of Standard Support : April 2023
End of Life : April 2028
does it not support QT5.11.3?
if not, I'll look for some extra code.
And for git submodules is it allowed or not?
may i create any submodules in the project?
info submodules: https://qelectrotech.org/forum/viewtopic.php?id=1774
why:
TODO:
-remove KCoreAddons
-remove KWidgetsAddons
I would like to change this to
https://github.com/De-Backer/qt-color-p … ool-button
and QSaveFile
De-Backer wrote:scorpio810 wrote:For me is a pain and a lot of complications for QET packaging and for Qt Webassembly test but is great for Joshua, it keeps him from reinventing the wheel.
a wheel like "singleapplication" would be perfect
a wheel for kbuttoncolor:
https://github.com/De-Backer/qt-color-p … ool-buttonTodo:
KAutoSaveFile class
QSaveFile iso : KAutoSaveFile
scorpio810 wrote:With ~ 7000 elements in official collection?
6 ms?sharp eye, no, one of the Issues
no elements in /usr/share/
add in run works
--common-elements-dir="...../qet/elements/"
For suse TW
Compiling KDE frameworks :
mkdir -p ~/kde/src
cd ~/kde/src/
git clone https://invent.kde.org/sdk/kdesrc-build.git && cd kdesrc-build
./kdesrc-build --initial-setup
./kdesrc-build kwidgetsaddons karchive kcoreaddons --include-dependencies --ignore-modules Qt5
setup Qt5.51.1
cp ~/kde/usr/mkspecs/modules/*.pri ~/Qt/5.15.1/gcc_64/mkspecs/modules/
cp -r ~/kde/usr/include/* ~/Qt/5.15.1/gcc_64/include/
cp -r ~/kde/usr/lib64 ~/Qt/5.15.1/gcc_64/
cp -r ~/kde/usr/bin ~/Qt/5.15.1/gcc_64/
or for Qt6
cp ~/kde/usr/mkspecs/modules/*.pri ~/Qt/6.0.0/gcc_64/mkspecs/modules/
cp -r ~/kde/usr/include/* ~/Qt/6.0.0/gcc_64/include/
cp -r ~/kde/usr/lib64 ~/Qt/6.0.0/gcc_64/
cp -r ~/kde/usr/bin ~/Qt/6.0.0/gcc_64/
With ~ 7000 elements in official collection?
6 ms?
sharp eye, no, one of the Issues
71 Issues for built on qt6
21:56:36.292 Info: Start-up
21:56:36.305 Info: debugging enabled: false
21:56:36.305 Info: Qt library version: 6.0.0
21:56:36.305 Info: Qt library location default prefix: "/home/simon/Qt/6.0.0/gcc_64"
21:56:36.306 Info: Qt library location documentation: "/home/simon/Qt/6.0.0/gcc_64/doc"
21:56:36.306 Info: Qt library location headers: "/home/simon/Qt/6.0.0/gcc_64/include"
21:56:36.306 Info: Qt library location libraries: "/home/simon/Qt/6.0.0/gcc_64/lib"
21:56:36.306 Info: Qt library location executables: "/home/simon/Qt/6.0.0/gcc_64/libexec"
21:56:36.306 Info: Qt library location Qt binaries: "/home/simon/Qt/6.0.0/gcc_64/bin"
21:56:36.306 Info: Qt library location Qt plugins: "/home/simon/Qt/6.0.0/gcc_64/plugins"
21:56:36.306 Info: Qt library location installed QML extensions: "/home/simon/Qt/6.0.0/gcc_64/qml"
21:56:36.306 Info: Qt library location dependent Qt data: "/home/simon/Qt/6.0.0/gcc_64"
21:56:36.306 Info: Qt library location independent Qt data: "/home/simon/Qt/6.0.0/gcc_64"
21:56:36.306 Info: Qt library location translation: "/home/simon/Qt/6.0.0/gcc_64/translations"
21:56:36.307 Info: Qt library location examples: "/home/simon/Qt/6.0.0/gcc_64/examples"
21:56:36.307 Info: Qt library location Qt testcases: "/home/simon/Qt/6.0.0/gcc_64/tests"
21:56:36.307 Info: Qt library location Qt settings: "/home/simon/Qt/6.0.0/gcc_64/etc/xdg"
21:56:36.307 Info: "GitRevision 930bb70f99d5fd160804e43aa677e72745a5f30d"
21:56:36.307 Info: "QElectroTech V 0.80-DEV"
21:56:36.307 Info: "Compilation : GCC 10.2.1 20200825 [revision c0746a1beb1ba073c7981eb09f55b3d993b32e5c]"
21:56:36.307 Info: "Built with Qt 6.0.0 - Date : Sep 30 2020 : 21:54:31"
21:56:36.307 Info: "Run with Qt 6.0.0 using 16 thread(s)"
21:56:36.307 Info: "CPU : model name\t: AMD Ryzen 7 3700X 8-Core Processor\n"
21:56:36.307 Info: "RAM Total : 32027 MB"
21:56:36.307 Info: "RAM Available : 21694 MB"
21:56:36.307 Info: "GPU : "
21:56:36.307 Info: "GPU RAM : @ToDo"
21:56:36.307 Info: "OS : linux - x86_64 - Version : openSUSE Tumbleweed - Kernel : 5.8.10-1-default"
21:56:36.307 Info: *** Qt screens ***
21:56:36.307 Info: "( 1 : 3840 x 2160 )"
21:56:36.307 Info: "( 2 : 1920 x 1080 )"
21:56:36.624 Info: Elements collection reload
21:56:36.630 Info: Elements collection finished to be loaded
KiCAD is not even coded in QT. LibrePCB is.
KDE crash of my PC, I'll be off-line for a moment ,that's just my luck.
Thanks, it works now.
Thank you for providing the git ID (from the bug version), and testing the Dev version.
Feedback is important to us (developers).
cela a déjà été suggéré, j'ai reçu une réponse négative.
mais pour windows le temps de chargement est en effet trop long
scorpio810 wrote:For me is a pain and a lot of complications for QET packaging and for Qt Webassembly test but is great for Joshua, it keeps him from reinventing the wheel.
a wheel like "singleapplication" would be perfect
a wheel for kbuttoncolor:
https://github.com/De-Backer/qt-color-p … ool-button
Todo:
KAutoSaveFile class
yes,
this is already fixes 8 Commits afterwards.
https://git.tuxfamily.org/qet/qet.git/c … 6a510617d5
this is about implementing cable and buses
how should we do this best?
i will look for a solution
De-Backer
I think it's a little problem.
In all your comit change the code who look like this :QRegularExpression regexp("^.*([^/]+)\\.elmt$"); if (regexp==QRegularExpression(m_collection_path)) {
by
QRegularExpression regexp("^.*([^/]+)\\.elmt$"); if (regexp.match(m_collection_path).hasMatch()) {
I think they will fix the bug for the element, and probably all other class where the regular expression was modified is bugged.
Regard joshua.
ok i think i'm done
https://git.tuxfamily.org/qet/qet.git/c … 4c633d1701
edit
not
23:06:15.946 Debug: no Match "line-style:normal" (../qet/sources/factory/elementpicturefactory.cpp:584, void ElementPictureFactory::setPainterStyle(const QDomElement&, QPainter&) const)
23:06:15.946 Debug: no Match "line-weight:normal" (../qet/sources/factory/elementpicturefactory.cpp:584, void ElementPictureFactory::setPainterStyle(const QDomElement&, QPainter&) const)
23:06:15.946 Debug: no Match "filling:none" (../qet/sources/factory/elementpicturefactory.cpp:584, void ElementPictureFactory::setPainterStyle(const QDomElement&, QPainter&) const)
23:06:15.946 Debug: no Match "color:red" (../qet/sources/factory/elementpicturefactory.cpp:584, void ElementPictureFactory::setPainterStyle(const QDomElement&, QPainter&) const)
edit
ok
https://git.tuxfamily.org/qet/qet.git/c … 6a510617d5
night.
set # in pro file
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000
pattern is:
^project(?<project_id>[0-9])\+(?<collection_path>embed://*.*)$
I look for the other mistakes
For me is a pain and a lot of complications for QET packaging and for Qt Webassembly test but is great for Joshua, it keeps him from reinventing the wheel.
a wheel like "singleapplication" would be perfect
I think they will fix the bug for the element, and probably all other class where the regular expression was modified is bugged.
Regard joshua.
yes I will have to review everything.. of QRegExp
Revert for now.
ps test
rx.match(tmp_path).hasMatch()
fails
info QRegExp
https://doc.qt.io/qt-5/qregularexpressi … t-matching
QRegularExpression re("^project(?<project_id>[0-9]+)");
QRegularExpressionMatch match = re.match(tmp_path);
qDebug()<< match.hasMatch()<<match.hasPartialMatch();
if (match.hasMatch()) {
qDebug()<< match.captured("project_id");
}
Debug: true false
Debug: "0"
now this:
\\+(embed:\\/\\/.*)$
https://perldoc.perl.org/perlre.html
test code:
QRegularExpression re("^project(?<project_id>[0-9]+)");
if(re.isValid()){
QRegularExpressionMatch match = re.match(tmp_path);
qDebug()<< match.hasMatch()<<match.hasPartialMatch();
if (match.hasMatch()) {
qDebug()<< match.captured("project_id");
}
} else {
qDebug()<< re.errorString()<<re.patternErrorOffset();
}
QElectroTech → Posts by De-Backer
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.023 seconds (48% PHP - 52% DB) with 5 queries