Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. begginer
    Log in to post

    • Introduction in Qwt
      General and Desktop • c++ qwt plot begginer • • WLOrion  

      4
      0
      Votes
      4
      Posts
      272
      Views

      Hi, @WLOrion said in Introduction in Qwt: I didn't know this behavior of the Qwt Classes. This is nothing Qwt specific, it's part of the C++ basics. As for tutorial, there's a nice online book that is in German but the author claims that online translator should give you a good enough result in your own language.
    • SOLVED MenuBar - why it doesn't work?
      General and Desktop • menu menubar begginer • • amy.cpp  

      5
      0
      Votes
      5
      Posts
      270
      Views

      Hi I think you action runs out of scope it seems to be local variable QAction actions[11]; and you take address of them so it does not copy but refernce inside the list listOfMenus[0].addAction(&actions[i]); but it looks to me like the actions[11]; lives in constructor and hence when Mainwindow is shown, they are all already deleted. Move the list to be a member of the class and see. Damn Pl45m4 beat me to it :)
    • SOLVED Troubles with multithreading
      General and Desktop • qml multithreading workerthread begginer c++ thread • • luisfilipels  

      12
      0
      Votes
      12
      Posts
      613
      Views

      Just replying to say I got it working 100% as I expected, while still registering my object as a singleton! I just added a Connections element to my QML code, with the singleton object as its target. Thank you for your help, @mrjj
    • UNSOLVED QT Error: No winrtrunner.exe found.
      Installation and Deployment • visual studio msvc2015 msvc2017 build and run begginer • • cc672012  

      3
      0
      Votes
      3
      Posts
      20694
      Views

      hi @cc672012 you may have several problems, but the first one is that you assigned a 32bit compiler to a 64bit Qt version. That will not work.
    • [SOLVED] How to have 1+ QGraphicsTextItem in a class
      General and Desktop • qgraphicstextit begginer • • nanoandrew4  

      8
      0
      Votes
      8
      Posts
      1685
      Views

      You can take a look at the "Chip" class in the 40000 chips example. Or the classes in the Drag Drop Robot example. They don't use text, but the principles are the same.