2,776

(16 replies, posted in EN : Help, suggestions, discussions, ...)

Re-searcher wrote:

@De-Backer

It's still the same problem.
The problem is that CD CPUs go to 100%, wait there for a while, and then go down to a lower %.
They search for something that is not there.

After analysis I found the following:
Have also examined the exe file and the problem is that many dll's are missing.

Erik

No, I compile MXE Qt cross-env in static mode for Windows packages, libs, etc, are include on the .exe binary.
But if you try to compile it in shared mode and see better performances, I would be very interested.

martin wrote:

My ideas:
1) Add to each terminal in the element an unique identifier (id)

Maybe instead of using newly created id's to connect using
uiid/<terminal_id> or something similar? To have it unique
2) Make somehow a database where all cables are defined
- dialog to add/delete/edit cables (color, diamerter, manufacturer, voltage
...)

3) Property dialog for wires to select the wire from the database
- automatically changing color of the cable
4) export wiring BOM
...) extra: Creating tables like in (rapidharness.com) to show the
connectivity
...) extra: Maybe adding to each terminal minimum and maximum wire diameter
to automatically check

Rather this I think:
https://youtu.be/x5daIL7qtmM

I sent you a few emails, then you will better understand Martin's desired goal.
It is a continuation of a very old work to add numbers or text properties on terminals primitives:
https://listengine.tuxfamily.org/lists. … 00034.html

Re-searcher wrote:

xcb erreur

ordinateur portable de 2009

Xubuntu 20.04 LTS (Focal Fossa)

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1450, resource id: 12659548, major code: 40 (TranslateCoords), minor code: 0
test@test-HP:~/Downloads/QET/UBUNTU$


Erik

laurent@laurent-HP-EliteBook-850-G5:~$ dpkg --get-selections | grep xcb
libx11-xcb1:amd64                               install
libxcb-composite0:amd64                         install
libxcb-cursor0:amd64                            install
libxcb-damage0:amd64                            install
libxcb-dpms0:amd64                              install
libxcb-dri2-0:amd64                             install
libxcb-dri3-0:amd64                             install
libxcb-glx0:amd64                               install
libxcb-icccm4:amd64                             install
libxcb-image0:amd64                             install
libxcb-keysyms1:amd64                           install
libxcb-present0:amd64                           install
libxcb-randr0:amd64                             install
libxcb-record0:amd64                            install
libxcb-render-util0:amd64                       install
libxcb-render0:amd64                            install
libxcb-res0:amd64                               install
libxcb-shape0:amd64                             install
libxcb-shm0:amd64                               install
libxcb-sync1:amd64                              install
libxcb-util1:amd64                              install
libxcb-xfixes0:amd64                            install
libxcb-xinerama0:amd64                          install
libxcb-xinput0:amd64                            install
libxcb-xkb1:amd64                               install
libxcb-xv0:amd64                                install
libxcb1:amd64                                   install
libxcb1-dev:amd64                               install
laurent@laurent-HP-EliteBook-850-G5:~$ 

https://www.reddit.com/r/archlinux/comm … s_driving/

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
qelectrotech -v
0.80-DEV+dd257c48dd79751d3
laurent@laurent-HP-EliteBook-850-G5:~/Téléchargements$ qelectrotech problem.qet 
QETProject::toXml() : exporting diagram "Tableau electrique entrée" [ Diagram(0x55a20338e1d0) ]
QETProject::toXml() : exporting diagram "Pompes piscine" [ Diagram(0x55a2043c0ef0) ]
QETProject::toXml() : exporting diagram "Tubes en provenance de la piscine" [ Diagram(0x55a2045d5e10) ]
QETProject::toXml() : exporting diagram "Douve et pompe arrosage" [ Diagram(0x55a202f768d0) ]
QETProject::toXml() : exporting diagram "Cablages Douve et Pompe Salmson" [ Diagram(0x55a202cd6b40) ]
QETProject::toXml() : exporting diagram "Tubes eau + chauffage, bas escalier cave et Ballon d'eau chaude dans cave-1" [ Diagram(0x55a202c7ff50) ]
laurent@laurent-HP-EliteBook-850-G5:~/Téléchargements$ 

qtdiag 
Qt 5.12.8 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0) on "xcb" 
OS: Ubuntu 20.04 LTS [linux version 5.4.0-29-generic]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

Environment:
  QT_ACCESSIBILITY="1"
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_SCREEN_SCALE_FACTORS="eDP-1=2;DP-1=2;HDMI-1=2;DP-2=2;HDMI-2=2;"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /usr
  DocumentationPath: /usr/share/qt5/doc
  HeadersPath: /usr/include/x86_64-linux-gnu/qt5
  LibrariesPath: /usr/lib/x86_64-linux-gnu
  LibraryExecutablesPath: /usr/lib/x86_64-linux-gnu/qt5/libexec
  BinariesPath: /usr/lib/qt5/bin
  PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins
  ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/imports
  Qml2ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/qml
  ArchDataPath: /usr/lib/x86_64-linux-gnu/qt5
  DataPath: /usr/share/qt5
  TranslationsPath: /usr/share/qt5/translations
  ExamplesPath: /usr/lib/x86_64-linux-gnu/qt5/examples
  TestsPath: /usr/tests
  SettingsPath: /etc/xdg

File selectors (increasing order of precedence):
  fr_FR unix linux ubuntu

Network:
  Using "OpenSSL 1.1.1f  31 Mar 2020", version: 0x1010106f

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 1

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : kde,gtk3
  Styles requested    : Breeze,breeze,oxygen,fusion,windows
         available    : Breeze,Oxygen,Windows,Fusion
  Icon theme          : breeze, hicolor from /home/laurent/.local/share/icons,/var/lib/flatpak/exports/share/icons,/usr/share/icons,/var/lib/snapd/desktop/icons
  System font         : "Noto Sans" 10

Fonts:
  General font : "Noto Sans" 10
  Fixed font   : "Hack" 9
  Title font   : "Noto Sans" 10
  Smallest font: "Noto Sans" 8

Palette:
  QPalette::WindowText: #ff232627
  QPalette::Button: #ffeff0f1
  QPalette::Light: #ffffffff
  QPalette::Midlight: #fff7f7f8
  QPalette::Dark: #ff888e93
  QPalette::Mid: #ffc4c9cd
  QPalette::Text: #ff232627
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff232627
  QPalette::Base: #fffcfcfc
  QPalette::Window: #ffeff0f1
  QPalette::Shadow: #ff474a4c
  QPalette::Highlight: #ff3daee9
  QPalette::HighlightedText: #fffcfcfc
  QPalette::Link: #ff2980b9
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffeff0f1
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff232627
  QPalette::ToolTipText: #fffcfcfc
  QPalette::PlaceholderText: #80232627

Screens: 1, High DPI scaling: active
# 0 "eDP-1" Depth: 24 Primary: yes
  Manufacturer: AU Optronics
  Model: 
  Serial number: 
  Geometry: 1920x1080+0+0 (native: 3840x2160+0+0) Available: 1920x1047+0+0
  Physical size: 344x193 mm  Refresh: 60 Hz Power state: 0
  Physical DPI: 141.767,142.135 Logical DPI: 96,96 (native: 192,192) Subpixel_None
  High DPI scaling factor: 2 DevicePixelRatio: 2 Pixel density: 2
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: Intel
Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
Version: 4.6 (Compatibility Profile) Mesa 20.0.4
Shading language: 4.60
Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
Profile: None (QOpenGLFunctions_4_6)


Vulkan instance available
Supported instance extensions:
  VK_KHR_device_group_creation, version 1
  VK_KHR_external_fence_capabilities, version 1
  VK_KHR_external_memory_capabilities, version 1
  VK_KHR_external_semaphore_capabilities, version 1
  VK_KHR_get_display_properties2, version 1
  VK_KHR_get_physical_device_properties2, version 1
  VK_KHR_get_surface_capabilities2, version 1
  VK_KHR_surface, version 25
  VK_KHR_surface_protected_capabilities, version 1
  VK_KHR_wayland_surface, version 6
  VK_KHR_xcb_surface, version 6
  VK_KHR_xlib_surface, version 6
  VK_KHR_display, version 23
  VK_EXT_direct_mode_display, version 1
  VK_EXT_acquire_xlib_display, version 1
  VK_EXT_display_surface_counter, version 1
  VK_EXT_debug_report, version 9
  VK_EXT_debug_utils, version 1
Supported layers:
  VK_LAYER_MESA_overlay, version 1, spec version 1.1.73, Mesa Overlay layer
  VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.131, LunarG Standard Validation Layer
Available physical devices:
  API version 1.2.131, vendor 0x8086, device 0x5917, Intel(R) UHD Graphics 620 (KBL GT2), type 1, driver version 20.0.4

Strange!
Quick fix by manually modifying some wires text and remove %seqh_1.
I don't want to rewrite the text of your functions every time if I am using the formula.

Hi,

you could share your project?

 qelectrotech -v
0.80-DEV+dd257c48dd79751d3
[23:40:59] laurent@debian:/media/backup6/download$ qelectrotech problem.qet 
[23:41:29] laurent@debian:/media/backup6/download$ 

Pas d'erreur ici ..

[23:41:29] laurent@debian:/media/backup6/download$ qtdiag 
Qt 5.12.5 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0) on "xcb" 
OS: Debian GNU/Linux bullseye/sid [linux version 5.7.12-vanilla]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

Environment:
  QT_ACCESSIBILITY="1"
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_SCREEN_SCALE_FACTORS="DisplayPort-0=1.3;HDMI-A-0=1.3;DVI-D-0=1.3;"
  QUILT_PATCHES="debian/patches"
  QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /usr
  DocumentationPath: /usr/share/qt5/doc
  HeadersPath: /usr/include/x86_64-linux-gnu/qt5
  LibrariesPath: /usr/lib/x86_64-linux-gnu
  LibraryExecutablesPath: /usr/lib/x86_64-linux-gnu/qt5/libexec
  BinariesPath: /usr/lib/qt5/bin
  PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins
  ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/imports
  Qml2ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/qml
  ArchDataPath: /usr/lib/x86_64-linux-gnu/qt5
  DataPath: /usr/share/qt5
  TranslationsPath: /usr/share/qt5/translations
  ExamplesPath: /usr/lib/x86_64-linux-gnu/qt5/examples
  TestsPath: /usr/tests
  SettingsPath: /etc/xdg


File selectors (increasing order of precedence):
  fr_FR unix linux debian

Network:
  Using "OpenSSL 1.1.1g  21 Apr 2020", version: 0x1010107f

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition



Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : kde,gtk2,gtk3
  Styles requested    : Breeze,breeze,oxygen,fusion,windows
         available    : Breeze,cleanlooks,gtk2,cde,motif,plastique,Oxygen,Windows,Fusion
  Icon theme          : breeze, hicolor from /home/laurent/.local/share/icons,/usr/share/icons,/usr/local/share/icons
  System font         : "Noto Sans" 10

Fonts:
  General font : "Noto Sans" 10
  Fixed font   : "Hack" 9
  Title font   : "Noto Sans" 10
  Smallest font: "Noto Sans" 9

Palette:
  QPalette::WindowText: #ff232627
  QPalette::Button: #ffeff0f1
  QPalette::Light: #ffffffff
  QPalette::Midlight: #fff5f5f6
  QPalette::Dark: #ff959ba1
  QPalette::Mid: #ffc9cdd1
  QPalette::Text: #ff232627
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff232627
  QPalette::Base: #fffcfcfc
  QPalette::Window: #ffeff0f1
  QPalette::Shadow: #ff4e5154
  QPalette::Highlight: #ff3daee9
  QPalette::HighlightedText: #fffcfcfc
  QPalette::Link: #ff2980b9
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffeff0f1
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff232627
  QPalette::ToolTipText: #fffcfcfc
  QPalette::PlaceholderText: #80232627

Screens: 2, High DPI scaling: active
# 0 "DisplayPort-0" Depth: 24 Primary: yes
  Manufacturer: LG Electronics
  Model: LG Ultra HD-
  
  Geometry: 2954x1662+0+0 (native: 3840x2160+0+0) Available: 2954x1662+0+0
  Virtual geometry: 5316x1662+0+0 Available: 5316x1662+0+0
  2 virtual siblings
  Physical size: 600x340 mm  Refresh: 59 Hz Power state: 0
  Physical DPI: 125.053,124.161 Logical DPI: 96.1538,96.1538 (native: 125,125) Subpixel_None
  High DPI scaling factor: 1.3 DevicePixelRatio: 1.3 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

# 1 "HDMI-A-0" Depth: 24 Primary: no
  Manufacturer: Philips Consumer Electronics Company
  Model: PHL 273V5-
 
  Geometry: 1477x831+3839+0 (native: 1920x1080+3839+0) Available: 1477x831+3839+0
  Virtual geometry: 5316x1662+0+0 Available: 5316x1662+0+0
  2 virtual siblings
  Physical size: 598x336 mm  Refresh: 60 Hz Power state: 0
  Physical DPI: 62.7355,62.8196 Logical DPI: 96.1538,96.1538 (native: 125,125) Subpixel_None
  High DPI scaling factor: 1.3 DevicePixelRatio: 1.3 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: X.Org
Renderer: Radeon RX550/550 Series (POLARIS12, DRM 3.37.0, 5.7.12-vanilla, LLVM 10.0.1)
Version: 4.6 (Compatibility Profile) Mesa 20.1.4
Shading language: 4.60
Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
Profile: None (QOpenGLFunctions_4_6)


Vulkan instance available
Supported instance extensions:
  VK_KHR_device_group_creation, version 1
  VK_KHR_external_fence_capabilities, version 1
  VK_KHR_external_memory_capabilities, version 1
  VK_KHR_external_semaphore_capabilities, version 1
  VK_KHR_get_display_properties2, version 1
  VK_KHR_get_physical_device_properties2, version 1
  VK_KHR_get_surface_capabilities2, version 1
  VK_KHR_surface, version 25
  VK_KHR_surface_protected_capabilities, version 1
  VK_KHR_wayland_surface, version 6
  VK_KHR_xcb_surface, version 6
  VK_KHR_xlib_surface, version 6
  VK_KHR_display, version 23
  VK_EXT_direct_mode_display, version 1
  VK_EXT_acquire_xlib_display, version 1
  VK_EXT_display_surface_counter, version 1
  VK_EXT_debug_report, version 9
  VK_EXT_debug_utils, version 2
Supported layers:
  VK_LAYER_MESA_device_select, version 1, spec version 1.1.73, Linux device selection layer
  VK_LAYER_MESA_overlay, version 1, spec version 1.1.73, Mesa Overlay layer
Available physical devices:
  API version 1.2.131, vendor 0x1002, device 0x699F, AMD RADV POLARIS12 (LLVM 10.0.1), type 2, driver version 20.1.4

Aleksandr wrote:

I also faced this problem. It turned out that when creating elements, you cannot copy outputs. Each output gets its own ID. And when copying, all pins have the same ID. I found out about this when I opened the element in a text editor.

Thanks for feedback Aleksandr.

UUID for terminals output was added recently by Martin for new feature and yes is a bug, thanks.
https://qelectrotech.org/forum/viewtopi … 055#p12055
When pasting terminals on editor, editor need to create a new random UUID and not copy the parent UUID property.

Maybe a workaround is to remove UUID on XML <terminal orientation=               > attributes chain.

Editing an element linked to wires is risky if you move the terminals a little too much in editor.

sale1970 wrote:

second picture

Hi,

your contact on capture is not a slave Coil, but a slave of organ protection.

De-Backer wrote:

Where is the multi thread in QElectroTech?

Is it QtConcurrent?
https://doc.qt.io/qt-5/qtconcurrent-index.html

Or are there others?

https://doc.qt.io/qt-5/qfuture.html
https://git.tuxfamily.org/qet/qet.git/t … l.cpp#n216

2,788

(317 replies, posted in News)

- Log -----------------------------------------------------------------
commit 1fc893157df3141a99d888f64d068251d0948a8e
Author: Claveau Joshua <Joshua@>
Date:   Sun Aug 2 18:20:30 2020 +0200

    Minor fix
   
    Fix : During the opening of a project, if the project contain a
    nomenclature, the dialog used to inform user that the table is too small
    is displayed


- Log -----------------------------------------------------------------
commit 78992ee762feb62fa822afa335825c9ef9d56933
Author: Claveau Joshua <Joshua@>
Date:   Sun Aug 2 22:24:46 2020 +0200

    Fix backup file on windows
   
    For unknown reason KautoSaveFile don't write the file on Windows if file
    is open in another part of the code.
    No error is returned and use the method :
    qint64 QIODevice::write(const QByteArray &byteArray) return the good
    number of bytes written but the real file stay empty.
    Probably the problem don't come from KautoSaveFile but QFileDevice or
    QIODevice on windows.
   
    The fix consist to open the file just before write on it and close it
    just after.




- Log -----------------------------------------------------------------
commit dd257c48d93144672ea792a7ad3c2ee640b9e398
Author: damianCaceres <damiancaceresmoreno@>
Date:   Mon Aug 3 11:52:56 2020 +0100

    ElementEditor: always clear m_cep_list in StyleEditor::setPart bugfix 0197

De-Backer wrote:

I made a start for the wiki:
https://github.com/De-Backer/qelectrote … irror/wiki

I copied your pages, tomorrow I will add you if you want to write on the Github Wiki.
https://github.com/qelectrotech/qelectr … irror/wiki

2,790

(317 replies, posted in News)

FYI, I upgraded, PunBB forum, Dokuwiki and Mantis BT bugtracker, enjoy!

Hi Unalcalde,

'folioSheetQuantity' value was removed recently in project XML, and break qet_tb_generator:
https://git.tuxfamily.org/qet/qet.git/c … 196277a5d5


Traceback (most recent call last):
  File "/usr/bin/qet_tb_generator", line 11, in <module>
    load_entry_point('qet-tb-generator==1.1.5', 'console_scripts', 'qet_tb_generator')()
  File "/usr/lib/python3/dist-packages/src/main.py", line 840, in main
    qet_project = QETProject(qet_file)  # allows working with a QET XML file.
  File "/usr/lib/python3/dist-packages/src/qetproject.py", line 80, in __init__
    self.pageOffset = int (self.qet_project.attrib
KeyError: 'folioSheetQuantity'
Traceback (most recent call last):
  File "qet_tb_generator.py", line 9, in <module>
  File "src/main.py", line 840, in main
  File "src/qetproject.py", line 80, in __init__
KeyError: 'folioSheetQuantity'
[5263] Failed to execute script qet_tb_generator

Workaround add folioSheetQuantity="0" like this:
<project title="Example project" folioSheetQuantity="0" version="0.80">
before opening project to launch with qet_tb_generator.


https://github.com/qelectrotech/qet_tb_ … ect.py#L79

Martin is working on this feature https://github.com/Murmele/qelectrotech-source-mirror
https://framaestro.org/p/#MTM1NDk1/qele … lang%3Den;

2,793

(5 replies, posted in Code)

Added, thanks Aleksander. ;-)
https://git.tuxfamily.org/qet/qet.git/c … 80c637398b

https://packages.debian.org/de/jessie/qelectrotech

2010 QElectroTech version.. and there was no German translation on this very very old version.
https://metadata.ftp-master.debian.org/ … _changelog

https://tracker.debian.org/pkg/qelectrotech

Not much time for the next few days, but I'll try to find some. ;-)

2,796

(15 replies, posted in Code)

Wonderful, I'm can't way to try it. ;-)
https://user-images.githubusercontent.com/48631375/88574189-d5fc0c80-d039-11ea-839f-0a12764f2f34.png

https://qelectrotech.org/forum/viewtopi … 5541#p5541

De-Backer wrote:

scorpio810
what is the oldest QT version you still compile?

Qt 5.9 for Ubuntu Bionic LTS.
https://packages.ubuntu.com/fr/bionic/qt5-qmake
https://wiki.ubuntu.com/Releases

End of Standard Support .... April 2023 ... we will be obliged to drop it before

Interesting book:
https://www.amazon.com/dp/1789531241

The search engine filter also on the country language of application selected by user to matche elements name in the query, example :  "bobine" if french language is actived, switch country to english in setting, reload collection and retry your querry with "coil"and see.

The multi-language wiki was broken during an update. The translated pages no longer appear in the switch.

https://qelectrotech.org/wiki_new/start?do=index