2,826 2020-07-24 07:10:05
Re: SW freezing (16 replies, posted in EN : Help, suggestions, discussions, ...)
2,827 2020-07-24 06:54:13
Re: SW freezing (16 replies, posted in EN : Help, suggestions, discussions, ...)
Under Windows QET is very slow and sometimes freeze, if you are lucky to try under Linux you will find that the program is very fast and smooth.
Joshua try to improve this.
https://qelectrotech.org/forum/viewtopi … 498#p12498
For my part I'm trying to see what I can improve with the Windows packaging MXE cross compiler.
2,828 2020-07-24 06:24:17
Re: Resizing of border line of software (60 replies, posted in Code)
A cron job (360 mins) syncs the remote GIT master (Tuxfamily) to the Github mirror, I just changed the timer to 60 mins now.
If you want the last Commit on master :
git clone git://git.tuxfamily.org/gitroot/qet/qet.git qet_git
2,829 2020-07-24 06:08:54
Re: SW freezing (16 replies, posted in EN : Help, suggestions, discussions, ...)
What your version?
Like :
2,830 2020-07-24 06:05:18
Re: Mod version name (3 replies, posted in Code)
I already do it in the packaging scripts.
https://qelectrotech.org/forum/viewtopi … 045#p10045
https://qelectrotech.org/wiki_new/doc/packaging_debian
GITCOMMIT=$(git rev-parse --short HEAD)
#Find Subversion revision number in trunk branch
if [ -z "$HEAD" ] ; then
#HEAD=$(svn --xml info svn://svn.tuxfamily.org/svnroot/qet/qet/trunk | grep revision=\" | tail -1 | cut -d\" -f2)
A=$(git rev-list HEAD --count)
HEAD=$(($A+473))
fi
VERSION=$(cat sources/qet.h | grep "const QString version" | cut -d\" -f2 | cut -d\" -f1) #Find version tag in Subversion sources/qet.h
tagName=$(cat sources/qet.h | grep displayedVersion | cut -d\" -f2 | cut -d\" -f1) #Find displayedVersion tag in Subversion sources/qet.h
cd $DEFAULT_DIR/qelectrotech-$VERSION.r$HEAD/debian/patches/
sed -i 's/'"$tagName+[0-9]*"'/'"$tagName+$GITCOMMIT"'/' 03_qet.diff
2,831 2020-07-23 13:45:04
Re: Gamme de prise en main (3 replies, posted in Le petit monde de la scolarité)
Bonjour,
Actuellement en école d'ingénieur en génie industriel par alternance,
j'ai peu à peu aussi bien contaminé les formateurs de mon école,
et mes collègues de travail à l'utilisation de Qelectrotech.Ce logiciel est extrêmement pratique pour l'apprentissage,
il réponds à toutes les premières nécessités.
Merci beaucoup, tu as tout notre soutien pour contaminer dans ce sens d'autres collègues sur le logiciel QET. ;-)
ce fil devrait te renseigner :
https://qelectrotech.org/forum/viewtopi … 516#p12516
La chaîne Youtube :
https://www.youtube.com/user/scorpio8101/videos
Des videos dans plusieurs langues :
https://qelectrotech.org/forum/viewtopic.php?id=1075
Manuel :
https://download.qelectrotech.org/qet/m … index.html
https://download.qelectrotech.org/qet/j … l/QET.html
Par contre, beaucoup me retournent que la prise en main est extrêmement difficile...
Comparé à d'autres logiciels pro et tres cher comme SEE Electrical expert ou Eplan la prise en main est extrêmement facile intuitive et rapide..
Le code source est ouvert et libre, comme les formats des projets, éléments, (XML), base de données Sqlite de quoi aiguiser la curiosité et découverte de nouvelles fonctions passerelles, outils, etc par des ingénieurs.
https://qelectrotech.org/forum/viewforum.php?id=14
https://qelectrotech.org/forum/viewtopic.php?id=1682
https://qelectrotech.org/forum/viewtopic.php?id=1725
Bonne journée
2,832 2020-07-23 06:51:03
Re: Resizing of border line of software (60 replies, posted in Code)
Yes off course you can merge it, thanks Simon.
2,833 2020-07-22 20:13:12
Re: Resizing of border line of software (60 replies, posted in Code)
Same, see translators tab.
2,834 2020-07-22 13:19:54
Re: Resizing of border line of software (60 replies, posted in Code)
I 'll try to add https://github.com/jrfonseca/drmingw like Digikam for Windows build :
https://www.digikam.org/news/2018-10-31 … ouncement/
No compile in static mode I try to rebuild all MXE in shared mode..
2,835 2020-07-21 20:20:38
Re: Resizing of border line of software (60 replies, posted in Code)
I check tomorow, time to go to my work..
2,836 2020-07-21 19:50:52
Re: Resizing of border line of software (60 replies, posted in Code)
URL transformed to HTTPS due to an HSTS policy
--2020-07-21 19:47:32-- https://download.kde.org/stable/framewo … 0.0.tar.xz
Résolution de download.kde.org (download.kde.org)… 2a01:4f8:171:1f24::3, 136.243.156.189
Connexion à download.kde.org (download.kde.org)|2a01:4f8:171:1f24::3|:443… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
Emplacement : http://ftp.kaist.ac.kr/kde/stable/frame … 0.0.tar.xz [suivant]
--2020-07-21 19:47:33-- http://ftp.kaist.ac.kr/kde/stable/frame … 0.0.tar.xz
Résolution de ftp.kaist.ac.kr (ftp.kaist.ac.kr)… 103.22.220.133
Connexion à ftp.kaist.ac.kr (ftp.kaist.ac.kr)|103.22.220.133|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 22320 (22K) [application/x-xz, application/x-xz]
Sauvegarde en : « /media/backup2/digikam/project/bundles/mxe/temp.dwnld/kcrash-5.70.0.tar.xz »0K .......... .......... . 100% 70,9K=0,3s
2020-07-21 19:47:34 (70,9 KB/s) — « /media/backup2/digikam/project/bundles/mxe/temp.dwnld/kcrash-5.70.0.tar.xz » sauvegardé [22320/22320]
[ 0%] Performing download step (verify and extract) for 'ext_kcrash'
-- verifying file...
file='/media/backup2/digikam/project/bundles/mxe/temp.dwnld/kcrash-5.70.0.tar.xz'
-- verifying file... done
-- extracting...
src='/media/backup2/digikam/project/bundles/mxe/temp.dwnld/kcrash-5.70.0.tar.xz'
dst='/media/backup2/digikam/project/bundles/mxe/temp.build/ext_kf5_frameworks/ext_kcrash-prefix/src/ext_kcrash'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[100%] No patch step for 'ext_kcrash'
[100%] No update step for 'ext_kcrash'
[100%] Performing configure step for 'ext_kcrash'
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /media/backup2/digikam/project/bundles/mxe/build.win32/usr/x86_64-pc-linux-gnu/bin/i686-w64-mingw32.static-gcc
-- Check for working C compiler: /media/backup2/digikam/project/bundles/mxe/build.win32/usr/x86_64-pc-linux-gnu/bin/i686-w64-mingw32.static-gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /media/backup2/digikam/project/bundles/mxe/build.win32/usr/x86_64-pc-linux-gnu/bin/i686-w64-mingw32.static-g++
-- Check for working CXX compiler: /media/backup2/digikam/project/bundles/mxe/build.win32/usr/x86_64-pc-linux-gnu/bin/i686-w64-mingw32.static-g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--Installing in /media/backup2/digikam/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static. Run /media/backup2/digikam/project/bundles/mxe/temp.build/ext_kf5_frameworks/ext_kcrash-prefix/src/ext_kcrash-build/prefix.sh to set the environment for KCrash.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following features have been enabled:* Core Pattern Raising, Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.70.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
* Qt5 (required version >= 5.12.0)
* Qt5Core (required version >= 5.12.0)
* KF5CoreAddons (required version >= 5.70.0)
* Qt5EventDispatcherSupport
* Qt5FontDatabaseSupport
* Threads
* Qt5Svg
* Qt5Network
* Qt5ThemeSupport
* Qt5AccessibilitySupport
* Qt5WindowsUIAutomationSupport
* Qt5Gui (required version >= 5.15.0)
* KF5WindowSystem (required version >= 5.70.0)-- The following features have been disabled:
* QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
-- The following OPTIONAL packages have not been found:
* X11
-- Configuring done
CMake Error at src/CMakeLists.txt:20 (add_library):
Target "KF5Crash" links to target "Qt5::WinExtras" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?CMake Error at src/CMakeLists.txt:20 (add_library):
Target "KF5Crash" links to target "Qt5::WinExtras" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:CMAKE_FIND_PREFIX_PATH
CMAKE_INCLUDE_PATH
CMAKE_SYSTEM_INCLUDE_PATH
INSTALL_ROOT
MXE_TOOLCHAIN
ZLIB_ROOTCMake Generate step failed. Build files cannot be regenerated correctly.
gmake[3]: *** [ext_kf5_frameworks/CMakeFiles/ext_kcrash.dir/build.make:130 : ext_kf5_frameworks/ext_kcrash-prefix/src/ext_kcrash-stamp/ext_kcrash-configure] Erreur 1
gmake[2]: *** [CMakeFiles/Makefile2:1393 : ext_kf5_frameworks/CMakeFiles/ext_kcrash.dir/all] Erreur 2
gmake[1]: *** [CMakeFiles/Makefile2:1400 : ext_kf5_frameworks/CMakeFiles/ext_kcrash.dir/rule] Erreur 2
gmake: *** [Makefile:450 : ext_kcrash] Erreur 2
FAILED COMMAND: ${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kcrash -- -j$CPU_CORES
# Switch to a more recent gcc version
echo 'override MXE_PLUGIN_DIRS += plugins/gcc9' >> settings.mkmake -j48 MXE_TARGETS=$MXE_BUILD_TARGETS \
cmake \
gettext \
freeglut \
libxml2 \
libxslt \
libjpeg-turbo \
libpng \
tiff \
boost \
expat \
lcms \
liblqr-1 \
eigen \
jasper \
zlib \
mman-win32 \
pthreads \
qtbase \
qttranslations \
qtimageformats \
qtwebkit \
qttools \
qtwinextras \
sqlite \
qtscript \
x265 \
ffmpeg \
openal \
libical \
imagemagickecho -e "\n"
2,837 2020-07-21 19:33:35
Re: Resizing of border line of software (60 replies, posted in Code)
Maybe add other KF5 lib like https://github.com/KDE/kcrash
But I disable KCrash in my cross-compile env for windows. not compile..
# core KF5 frameworks dependencies
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_extra-cmake-modules -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kconfig -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_breeze-icons -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kcoreaddons -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kwindowsystem -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_solid -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_threadweaver -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_karchive -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kdbusaddons -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_ki18n -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kcrash -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kcodecs -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kauth -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kguiaddons -- -j$CPU_CORES
${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kwidgetsaddons -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kitemviews -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kcompletion -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kconfigwidgets -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kiconthemes -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kservice -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kglobalaccel -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kxmlgui -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kbookmarks -- -j$CPU_CORES
#${MXE_BUILD_TARGETS}-cmake --build . --config RelWithDebInfo --target ext_kimageformats -- -j$CPU_CORES
2,838 2020-07-21 16:12:37
Re: Resizing of border line of software (60 replies, posted in Code)
@Simon,
if you could try this patch on Windows?
2,839 2020-07-21 13:43:34
Re: Resizing of border line of software (60 replies, posted in Code)
Add Linux gpu info 'model name'
QString OSName = QSysInfo::kernelType();
if (OSName == "linux")
{
QProcess linuxcpuinfo;
linuxcpuinfo.start("bash", QStringList() << "-c" << "cat /proc/cpuinfo |grep 'model name' | uniq");
linuxcpuinfo.waitForFinished();
QString linuxOutput = linuxcpuinfo.readAllStandardOutput();
compilation_info += "<br>"" CPU : " + QString(linuxOutput.toLocal8Bit().constData());
QProcess linuxgpuinfo;
linuxgpuinfo.start("bash", QStringList() << "-c" << "lspci | grep VGA | cut -d : -f 3");
linuxgpuinfo.waitForFinished();
QString linuxGPUOutput = linuxgpuinfo.readAllStandardOutput();
compilation_info += "<br>"" GPU : " + QString(linuxGPUOutput.toLocal8Bit().constData());
}
2,841 2020-07-21 12:19:44
Re: Resizing of border line of software (60 replies, posted in Code)
Add Linux cpu info 'model name'
#else
compilation_info += " GCC " + QString(__VERSION__);
compilation_info += "<br>Built with Qt " + QString(QT_VERSION_STR);
compilation_info += " - Date : " + QString(__DATE__);
compilation_info += " : " + QString(__TIME__);
compilation_info += " <br>Run with Qt "+ QString(qVersion());
compilation_info += " using" + QString(" %1 thread(s)").arg(QThread::idealThreadCount());
QProcess linuxcpuinfo;
linuxcpuinfo.start("bash", QStringList() << "-c" << "cat /proc/cpuinfo | grep 'model name' | uniq");
linuxcpuinfo.waitForFinished();
QString linuxOutput = linuxcpuinfo.readAllStandardOutput();
compilation_info += "<br>" + QString(linuxOutput.toLocal8Bit().constData());
compilation_info += QString(QSysInfo::currentCpuArchitecture().toUpper());
compilation_info += "<br>" " OS : " + QString(QSysInfo::kernelType());
compilation_info += " - " + QString(QSysInfo::currentCpuArchitecture());
compilation_info += " - Version : " + QString(QSysInfo::prettyProductName());
compilation_info += "</br>" " - Kernel : " + QString(QSysInfo::kernelVersion());
compilation_info += "<br> *** Qt screens *** </br>";
const auto screens = qApp->screens();
for (int ii = 0; ii < screens.count(); ++ii) {
compilation_info += "<br> ( "
+ QString::number(ii + 1)
+ " : "
+ QString::number(screens[ii]->geometry().width() * screens[ii]->devicePixelRatio())
+ " x "
+ QString::number(screens[ii]->geometry().height() * screens[ii]->devicePixelRatio())
+ " ) </br>";
}
#endif
#endif
2,842 2020-07-21 11:44:15
Re: Parts list (1 replies, posted in EN : Help, suggestions, discussions, ...)
Hi,
on 0.8-dev you have nomenclature table and also new summary tables.
See example here :
https://qelectrotech.org/forum/viewtopi … 304#p12304
2,843 2020-07-21 11:37:33
Re: REstore screen (1 replies, posted in EN : Help, suggestions, discussions, ...)
Hi,
your previous projects crashed, the program will try to reopen them.
if you click the OK button, it tries to reopen your projects or click to cancel to not restore those files. Hope you have a backup of these files elsewhere.
Or manual delete files on C:\Users\jponsa\AppData\Local\stalefiles\QElectroTech\
2,844 2020-07-20 21:55:21
Re: Resizing of border line of software (60 replies, posted in Code)
btw, interest thing to get CPU and GPU informations in about QET for debug.
https://forum.qt.io/topic/102337/how-to … cpu-name/4
https://thecodeprogram.com/reading-deta … ith-qt-c--
https://github.com/thecodeprogram/Syste … e/main.cpp
https://doc.qt.io/QtApplicationManager/ … tatus.html
2,845 2020-07-20 21:32:01
Re: Resizing of border line of software (60 replies, posted in Code)
#include <QScreen>
QElectroTech V 0.80-DEV
Compilation : GCC 9.3.0
Built with Qt 5.12.5 - Date : Jul 20 2020 : 21:31:12
Run with Qt 5.12.5 using 48 thread(s)
OS : linux - x86_64 - Version : Debian GNU/Linux bullseye/sid - Kernel : 5.7.9-vanilla
*** Qt screens ***
( 1 : 3840.2 x 2160.6 )
( 2 : 1920.1 x 1080.3 )
Great! if you can push it?
2,846 2020-07-20 21:27:23
Re: Financement nouvelle machine de build (23 replies, posted in News)
Merci Arnaud.
2,847 2020-07-20 12:24:44
Re: Resizing of border line of software (60 replies, posted in Code)
https://cpp.hotexamples.com/fr/examples … mples.html
/*!
Returns the width of the display in pixels.
\sa screenHeight(), screenDepth()
*/
int QDirectPainter::screenWidth()
{
QScreen *screen = getPrimaryScreen();
if (!screen)
return 0;
return screen->deviceWidth();
}
2,848 2020-07-20 12:13:04
Re: continuous blocks (35 replies, posted in EN : Help, suggestions, discussions, ...)
In General settings -> project try disable autosave.
2,849 2020-07-20 10:52:41
Re: Resizing of border line of software (60 replies, posted in Code)
Wrong values..
QElectroTech V 0.80-DEV
Compilation : GCC 9.3.0
Built with Qt 5.12.5 - Date : Jul 20 2020 : 10:50:43
Run with Qt 5.12.5 using 48 thread(s)
OS : linux - x86_64 - Version : Debian GNU/Linux bullseye/sid - Kernel : 5.7.9-vanilla - height :1662 - width :2954
xrandr
Screen 0: minimum 320 x 200, current 5759 x 2160, maximum 16384 x 16384
DisplayPort-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1200 60.00
1920x1080 60.00 59.94
1600x1200 60.00
1680x1050 60.00
1600x900 60.00
1280x1024 60.02
1440x900 60.00
1280x800 59.81
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
720x480 60.00 59.94
640x480 60.00 59.94
HDMI-A-0 connected 1920x1080+3839+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.88
1280x1024 60.02
1440x900 59.90
1280x800 60.00
1280x720 60.00 50.00 59.94
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 66.67 60.00 59.94
720x400 70.08
DVI-D-0 disconnected (normal left inverted right x axis y axis)
2,850 2020-07-19 23:16:09
Re: Resizing of border line of software (60 replies, posted in Code)
Maybe better with a resize icon if not simply add: pages_list-> setMaximumHeight(500) to use scrollarea;