Skip to content

Issue with 'SerialTool.pro' #43

Description

@gvanem

Hi all.

I tried to build this tool using Qt-5.15.2 (a pity that Qt-6 is not supported).
During link I had some link errors due to missing MOC symbols etc.

Not sure how we're supposed to build, but I ended up with this patch:

--- a/SerialTool.pro 2026-07-04 14:10:53
+++ b/SerialTool.pro 2026-07-04 14:33:31
@@ -47,6 +47,8 @@
     src/views/scriptextension/scriptextensionview.cpp \
     src/views/texttr/textedit.cpp \
     src/views/texttr/texttrview.cpp \
+    src/views/terminal/highlighter.cpp \
+    src/views/terminal/termview.cpp \
     src/views/terminal/terminalview.cpp \
     src/views/terminal/qvterminal/qvtchar.cpp \
     src/views/terminal/qvterminal/qvtcharformat.cpp \
@@ -88,11 +90,7 @@
     src/views/texttr/textedit.h \
     src/views/texttr/texttrview.h \
     src/views/terminal/terminalview.h \
-    src/views/terminal/qvterminal/qvtchar.h \
-    src/views/terminal/qvterminal/qvtcharformat.h \
     src/views/terminal/qvterminal/qvterminal.h \
-    src/views/terminal/qvterminal/qvtlayout.h \
-    src/views/terminal/qvterminal/qvtline.h \
     src/views/oscilloscope/oscilloscopeview.h \
     src/views/oscilloscope/channelitem.h \
     src/views/oscilloscope/oscopetimestamp.h \
@@ -103,6 +101,8 @@
     src/views/filetransmit/filethread.h \
     src/views/filetransmit/xmodem.h \
     src/views/filetransmit/xmodem_crc16.h \
+    src/views/terminal/highlighter.h \
+    src/views/terminal/termview.h \
     src/toolbox/toolboxmanager.h \
     src/toolbox/abstracttoolbox.h \
     src/toolbox/vediobox/vediobox.h \

It now builds and runs= fine.

And BTW, I had the need to use a baud-rate of 921600. So I did this:

--- a/ui/serialport.ui 2026-07-04 14:10:53
+++ b/ui/serialport.ui 2026-07-04 14:37:23
@@ -172,6 +172,11 @@
        <string notr="true">460800</string>
       </property>
      </item>
+     <item>
+      <property name="text">
+       <string notr="true">921600</string>
+      </property>
+     </item>
     </widget>
    </item>
   </layout>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions