Skip to content

The Lounge

Chilling out? Want to discuss Abraham Lincoln? Well, in the Lounge you can discuss literally anything.
1.0k Topics 8.8k Posts
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • This topic is deleted!

    Solved
    3
    0 Votes
    3 Posts
    190 Views
  • To build bluteooth application in QT .....

    Unsolved
    5
    0 Votes
    5 Posts
    456 Views
    Christian EhrlicherC

    @AnneRanch said in To build bluteooth application in QT .....:

    sudo apt install qtconnectivity5-dev and reboot.

    qrt@qrt-desktop:~$ sudo apt install libbluetooth-dev

    now read again what you wrote in the first line and typed in the second

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    28 Views
    No one has replied
  • Looking for "windowing " expert.

    Unsolved
    13
    0 Votes
    13 Posts
    1k Views
    A

    @JonB OK, I have posted similar subject elsewhere. The discussions went nowhere, so I decided to try the "OS / window event" approach here. Perhaps I need to find how the new process result of bluetoothctl command physically highlights the text.
    If I can solve that , I am sure I can find a way to "hook into" whatever event highlights the text.

    PS My OS is Linux .

  • Why cling onto RegEx?

    Moved
    13
    0 Votes
    13 Posts
    1k Views
    B

    @candy76041820 said in Why cling onto RegEx?:

    1a. Well it's just a makeshift & demonstrative snippet to convey my idea of usting something instead of regex, so don't be so picky.

    Your point was to demonstrate that a simpler solution was available. However, if you can't demonstrate that the simpler solution does everything required then it isn't a solution and you haven't demonstrated anything. It's hardly being "picky" to point this out!

  • QML: layouts vs. anchors

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    sierdzioS

    Yup, that's right.

  • 0 Votes
    2 Posts
    624 Views
    Chris KawaC

    Hi, welcome to the forum.

    Qt's ownership model was created looong before C++ added move semantics and smart pointers. It has its own way of handling it via the parent child mechanism and it works fine. There's absolutely no need to mix those two models just because the standard added it.

    Apart from that QObjects are non-copyable and non-movable by design, so things like lineEdit_local = QLineEdit or std::move(QLabel... are out of the question. The library is just not designed around references, so changing it would pretty much mean rewriting entire Qt into something else.

    Besides, C++ Core Guidelines are just that, guidelines for designing code. Qt was designed waaaaay before they were and it follows quite a different philosophy. It's wort remembering that Qt's fundamental design and rules were created before even C++98. At that point in time there were different approaches emerging and Qt and std:: went different ways. It doesn't automatically mean one or the other is better or worse. They both accomplish roughly the same idea, just in different ways. Trying to combine them is not a good idea though.

    And just to clarify - even if you'd make QObject movable the method you want to write would be QWidget& addWidget(QWidget&& w) and invocation would be addWidget(QLabel(tr("Message:")));. Objects created as in-line parametrs are already r-values, so move is not necessary in that case. The way you wrote it wouldn't compile. You can't use move to turn r-value into a pointer.

  • anyone want to play lawyer (LGPL)?

    Solved
    7
    0 Votes
    7 Posts
    596 Views
    J.HilkJ

    @mzimmers said in anyone want to play lawyer (LGPL)?:

    users are allowed to modify the Qt libraries (or at least, to overlay them with their own)

    yes of course users have to be allowed to modify that, but you only have to give warranty to the product shipped(and tested) as is. If the user decided to modify anything he/she is on their own.

    Thats at least the way I have seen most companies, that use GPL, do it.

  • Qt Pronunciation

    Solved
    6
    0 Votes
    6 Posts
    4k Views
    M

    There is no need to follow Wikipedia. For me it will always be "Kyew Tee"

    See https://vizacademy.co.uk/architectural-visualization-portfolio/

  • Graphics, Duh!

    Unsolved
    4
    2 Votes
    4 Posts
    330 Views
    fcarneyF

    Are you using QML? I don't know about widgets, but in QML you can rotate on all 3 axis of an Item. So if you wanted to mirror the text downward you would rotate on the x axis.

  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    171 Views
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Bold font not being used for bold text

    Unsolved
    4
    0 Votes
    4 Posts
    497 Views
    sierdzioS

    This is a forum for Qt Framework, not Unity.

  • encrypted emailing

    Unsolved
    2
    0 Votes
    2 Posts
    310 Views
    No one has replied
  • License

    Unsolved
    6
    0 Votes
    6 Posts
    778 Views
    S

    You never have to publish (i.e. making it public to everyone) your code. At least that depends on the mode of distribution.

    The GPL only places requirements on you when you give your software to someone else. Everyone who receives your software is also eligible to your source code (under GPL, not under LGPL). So, if you give your software to one or two people you also have to give them the source code. If they decide to further give the software to somebody else, they also have to provide the source code to those people. If you put up your software for everyone to download on the internet, then you need to actually publish your source code. This all only applies to GPL. LGPL only means that this applies to the library (Qt in this particular case) and not your own source code. Also, you can provide a written offer valid for at least three? months to provide the source code to everyone who receives your software instead of giving them the source code directly.

    Everything that is private and stays private does not have any requirements on the source code.

  • QT forum manager/ Dark theme

    Unsolved
    2
    0 Votes
    2 Posts
    415 Views
    Thank YouT

    I also wanted to show message count and notification count. For which the easiest method is embedding it and accessing it's element.
    I don't know how to embed this site because of X-Frame-Options . Is there another way to do it?

  • How to get through loss of interests

    Unsolved
    12
    0 Votes
    12 Posts
    740 Views
    Thank YouT

    Thank you lovely peoples. At least, now I feel like I am doing something that is interesting. Having something as goal helps for me.

    When things get easy it loses the challenge a bit.

    Yeah @fcarney sir, maybe it was problem too. Now, I am learning quite new and interesting things.

    talk to at least one friend

    @Pedro I am person who doesn't message unless another person starts. prolly, It must be reason that I don't have that close friend. Just sitting whole day in front of laptop and enjoying whole day on laptop either playing games, or coding or watching videos. Previously, I don't used to like music and movies but now I like music but not much movies. 😊

    I go to local programmer meetups.

    Unfortunately, in country where I live, there are no meetups like that. I am not that much exposed in group. As I said I am kind of introvert and I love to be real when being anonymous(like I am here No one know me here in real so I can be real 😆😂 I haven't posted anything for more than 1 yrs in social media but I come here frequently)

    Built couple of things mostly not related to QT though. I am enjoying more than what I used to feel those days. I have shared one related to Qt topic here. here Now, atleast I don't have to see this forum in white theme 😂

    It is awesome life
    Again thank you to all of you for your thoughts.

  • 0 Votes
    3 Posts
    285 Views
    A

    SGaist, many thanks for your thoughts. :-)

  • This topic is deleted!

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