Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • How to add log4j library in qt ?

    Solved
    3
    0 Votes
    3 Posts
    266 Views
    Q
    @jsulm Is there any logger system is there like log4j in qt whose log i can on and off in file as per my need ?
  • get the return value of the emitted signal

    Solved
    11
    0 Votes
    11 Posts
    882 Views
    KroMignonK
    @ekato993 said in get the return value of the emitted signal: I know about lambdas but how to pass the string? Perhaps you are aware about lambdas but that is not the question here. You have to learn signals/slots usage, because it is a very important concept in Qt world. So if you want to build applications with Qt, take time to learn: what QObject are => https://doc.qt.io/qt-5/object.html what QObject parent <=> child relation chip => https://doc.qt.io/qt-5/objecttrees.html how signals/slots works => https://doc.qt.io/qt-5/signalsandslots.html Those are the minimum to be comfortable with Qt development. This will save you many hours of frustration and headaches! It is up to you to learn, the documentation is freely available.
  • Windows 10 QDir::separator

    Unsolved
    5
    0 Votes
    5 Posts
    380 Views
    O
    Not question related, but this line: @SPlatten said in Windows 10 QDir::separator: if ( strPath.endsWith(chSeparator) != true ) will be better in this way: if ( !strPath.endsWith(chSeparator) )
  • How to overlay a button over QAxWidget?

    Unsolved
    1
    0 Votes
    1 Posts
    97 Views
    No one has replied
  • 0 Votes
    2 Posts
    143 Views
    jsulmJ
    @kenchan What library are you trying to load?
  • Connect signals and slots of a class from another class

    Unsolved
    16
    0 Votes
    16 Posts
    962 Views
    CP71C
    @thewiggin said in Connect signals and slots of a class from another class: Here's my workaround, it seems needlessly complex and has me begging the question of if its possible to connect to the slot of another class outside that class. All the declarations I can find use "this" as the third augment. Yes of course! you see "this" because normally the sender or/and the receiver is the class itself, but you can connect one or two classes that arent the classe itself! But this you already see in your last post!
  • qtcreator.exe - Bad Image .dll problems

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    mrjjM
    @borhanreo Hi and welcome to the forums The Image didnt show up and is generally broken here. use something like postimage.org and the Direct link.
  • how to convert text into speech or vice versa

    Unsolved
    12
    0 Votes
    12 Posts
    782 Views
    jsulmJ
    @UG-SEP Google says: https://download.qt.io/new_archive/qt/5.8/5.8.0/
  • QDocument has not expected behavior when creating elements

    Solved
    7
    0 Votes
    7 Posts
    300 Views
    A.v.OA
    @JonB said in QDocument has not expected behavior when creating elements: And in this case the setAttributeNode() docs show it returns the attribute node it is replacing, or a dummy node, and that's what you setValue() `on. Qt's stuff does work and as documented so not unexpected, just not to the chaining expectations you have have from, say, jQuery or whichever XML DOMs. You are right the QDomElement::setAttributeNode() does indeed not return a copy but a null attribute. Manual on QDomNode::insertAfter(...) states: Returns a new reference to newChild on success or a null node on failure. The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless. My first interaction was the PHP XML Dom setAttribute(...) where the manual says: The new DOMAttr or false if an error occurred. Where I'm used to chain functions. Looking to the Java implementation, which I never worked with, does the same as Qt's implementation. Chaining makes it easy because local variables are superfluous in that case and for me it is more readable. Conclusion: My assumption was apparently incorrect.
  • Qt 15.5 "menu separators" are gone

    Solved
    4
    0 Votes
    4 Posts
    166 Views
    ademmlerA
    @raven-worx The Bugreprot has been closed because it was a double entry. It will be fixed in version 15.6 - as QT told me.
  • How to set kvssing aws Gstreamer credential path?

    Unsolved
    4
    0 Votes
    4 Posts
    269 Views
    SGaistS
    That's what I am asking you to do. @Mc6bullet said in How to set kvssing aws Gstreamer credential path?: Actually I'm new to QT i want to connect kinesis to gstremer using QT What is kinesis ? Where do you get it ? How are you using it ?
  • Avoiding circular dependency with signals/slots

    Unsolved
    13
    0 Votes
    13 Posts
    915 Views
    SGaistS
    If you queue the request, it should not. As already suggested, you should take a look at the implementation of QNAM. You make a request, get a reply object and there's no "speed" issue with it.
  • QTableView model that allows appending and sorting?

    Solved
    3
    0 Votes
    3 Posts
    219 Views
    SGaistS
    Hi, A proxy model is put between a view and another model. It does not provide any API to modify the source model as it is not its role. You still interact with your original model for everything that is related to adding removing rows, columns, etc.
  • QtFuture::result() deadlocks

    Solved
    6
    0 Votes
    6 Posts
    297 Views
    Ahmed Yarub Hani Al NuaimiA
    I had very good help from the Qt staff, although I found the solution to be verbose but that would serve for the time being https://bugreports.qt.io/browse/QTBUG-95321?focusedCommentId=576678&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-576678
  • Sending data to queue of servers

    Unsolved
    7
    0 Votes
    7 Posts
    290 Views
    SGaistS
    Are these REST services ?
  • 0 Votes
    1 Posts
    207 Views
    No one has replied
  • Make a maskWidget to grandparent widget

    Solved
    4
    0 Votes
    4 Posts
    291 Views
    Joe JohnsonJ
    @Pl45m4 oops,It works well,thanks.Here is result [image: 03be47bc-ee3d-471f-b8a0-2fa5d1c72937.png]
  • Calendar Week and Day views, need advises

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    J
    Hi, I'm trying to do something similar: a month/week/day view widget to use instead of the calendar. If you had any wish to share your code it would be greatly appreciated :) Thanks, Jerome
  • How to display emoji with next to normal text

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    nooneN
    My bad I had set 077 umask (cause I'm paranoid) and had no read permission set on /etc/fonts/local.conf which had fallback configuration. I gave read permission to all and reran fc-cache and now everything is working fine.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied