Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Inconsistent behavior of QSerialPort on Debian

Inconsistent behavior of QSerialPort on Debian

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtserialportlinuxescpos
23 Posts 3 Posters 7.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 12 May 2016, 20:04 last edited by
    #21

    And if you build it with Problematic(this) ?

    When you don't pass it a parent, do you delete it in the destructor of your MainWindow ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    H 1 Reply Last reply 13 May 2016, 06:34
    0
    • S SGaist
      12 May 2016, 20:04

      And if you build it with Problematic(this) ?

      When you don't pass it a parent, do you delete it in the destructor of your MainWindow ?

      H Offline
      H Offline
      Hjunior
      wrote on 13 May 2016, 06:34 last edited by
      #22

      @SGaist Hi.

      I am tried with Problematic(this) no change. In case of no parent arg i tried with delete, but nothing changed.

      I tried making it static as
      MainWindow.h

      static Problematic* notWorksSo;
      

      MainWindow.cpp

      Problematic* MainWindow::notWorksSo = 0;
      

      then in constructor

      notWorksSo = new Problematic(this); 
      

      NOTHING CHANGED.

      Any ideas?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 13 May 2016, 20:04 last edited by
        #23

        Without seeing the implementation of these classes I can't tell.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        21/23

        12 May 2016, 20:04

        • Login

        • Login or register to search.
        21 out of 23
        • First post
          21/23
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved