Skip to content
Qt 6.11 is out! See what's new in the release blog
  • Qt MaintenanceTool ignores proxy setting

    Unsolved Qt Creator and other tools qt 6 maintenancetool
    3
    0 Votes
    3 Posts
    260 Views
    T
    @Axel-Spoerl said in Qt MaintenanceTool ignores proxy setting: Hit the settings button on the lower left and choose the "Network" tab. Specify your proxy there. This was the first thing I did. In the past this worked but now I can set the proxy and it is ignored. The previous versions as well as the actual version has the problem that it doesn't remember that a proxy was set. It remembers the proxy settings itself but on every start it is set to System settings. If you prefer the command line: /opt/Qt/MaintenanceTool --proxy http://proxyhost:8080 - or whatever the proxy port is instead of 8080. Tried this also. This parameter seems to not exist any more. If I start it with this parameter it starts normal but ignores the setting. According to the help ( MaintenanceTool --help ) this parameter does not exist. Beside other parameters I get only this: --sp, --system-proxy Use system proxy on Windows and Linux. This option has no effect on macOS. (Default) --np, --no-proxy Do not use system proxy. On Linux it should actually work and it does for me, also with 4.11.0. I don't know of any fundamental changes in QNetworkProxy or the IFW. Since you can pin it down to a specific version, it could be that somehow the upgrade has tampered with MaintenanceTool's settings file and an existing proxy setting got lost a local change of proxy settings got in the way there is a bug in 4.11 With that said, could you check you environment for any of those variables and their content? http_proxy / HTTP_PROXY https_proxy / HTTPS_PROXY If they exist and IFW doesn't pick them up, we have landed a bug worth reporting under https://bugreports.qt.io Usually I don't use this environment variables, because the browsers allow to set this in the program. To access the machines on the Intranet I don't need the proxy. Because the list of exceptions for the proxy would be large, I renounced this. However: I tried to set this variables also, but it didn't change anything. To make it clear: The proxy itself is working. Other apps like browsers can access the Internet over the proxy. A.T.
  • 0 Votes
    12 Posts
    679 Views
    M
    I have the development packages for Qt5 and Qt6. As you mentioned it works when I remove Qt5 from the following statement in CMakeLists.txt. #find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) #find_package(QT NAMES Qt6 REQUIRED COMPONENTS Widgets) find_package(QT NAMES Qt5 REQUIRED COMPONENTS Widgets) The first and third line result in a Qt5 build. The second line results in a Qt6 build. The "Qt version" field in my kit seems to have no influence. I set the value to "None". The issue is resolved. However in a weird way.
  • are there only five kinds of layouts in Qt?

    Solved General and Desktop qt 6 qlayout layout
    4
    0 Votes
    4 Posts
    1k Views
    Pl45m4P
    @markleo said in are there only five kinds of layouts in Qt?: Or are there only five kinds of layouts in Qt? Yes and no. In most cases these are the base layouts used. However there are also custom layouts with "special" behavior, like FlowLayout from the Flow Layout Example. That being said, you can combine the basic layout or build your own layout, if you really need something different (what you cannot reproduce using the five above).
  • How do I create real C# bindings for Qt6?

    Unsolved Language Bindings qt 6 csharp dotnet bindings
    4
    0 Votes
    4 Posts
    3k Views
    R
    I'm interested in contributing here if anyone has gotten the ball rolling
  • Qt 6 fontChanged signal?

    Solved General and Desktop font change qapplication qt 6
    9
    1 Votes
    9 Posts
    2k Views
    CJhaC
    @JonB Yeah, I could do something similar, iterate over all widgets and pass on the event. Thanks, I will try this method in the final application.
  • 0 Votes
    7 Posts
    5k Views
    A
    @AlexMax The issues is marked fixed in 6.3 and 6.4, so it it still persists in 6.5, that would probably warrant a new issue, linking to the old one. Or is it captured by linked and still-open https://bugreports.qt.io/browse/QTBUG-99602?
  • 0 Votes
    4 Posts
    3k Views
    VRoninV
    @Kevin470 said in How to rename Target Executable using CMake in Qt6?: Is there some information that I am missing? Yes, how targets work in CMake. In what you posted above, however, everything is straightforward. Just do a find-and-replace for all instances of ProjectName1 to ProjectName2
  • 0 Votes
    7 Posts
    3k Views
    SGaistS
    Connect the videoFrameChanged signal of the sink to a custom slot so you will have the frame available to be saved.
  • 0 Votes
    2 Posts
    1k Views
    G
    I find one solution, I add in .pro: QMAKE_LFLAGS += -Wl,-rpath-link=path/to/sysroot/lib Is this the only way? Thanks.
  • Utilisation des formats d'images divers avec qt

    Unsolved French qt 6 qt creator c++ gui
    2
    0 Votes
    2 Posts
    1k Views
    AxelViennaA
    Bonjour, es-tu sûr que le jpg a la bonne taille et qu'il peut être affiché dans le QPushButton ? Voici une petite méthode pour mettre une icône à la bonne taille. Salutations de Vienne, où il fait froid, dans le lockdown. Axel QImage tint(QString icon, QColor color, qreal strength, int w, int h) { QImage src = QIcon(icon).pixmap(QSize(w,h)).toImage(); if(src.isNull()) return QImage(); QGraphicsScene scene; QGraphicsPixmapItem item; item.setPixmap(QPixmap::fromImage(src)); QGraphicsColorizeEffect effect; effect.setColor(color); effect.setStrength(strength); item.setGraphicsEffect(&effect); scene.addItem(&item); QImage res = src; QPainter ptr(&res); scene.render(&ptr, QRectF(), src.rect() ); return res; }
  • 0 Votes
    2 Posts
    789 Views
    C
    @harlamer Without a minimal compilable example that demonstrates the problem there's not much we can do. We do not know what platform, what font, what texture and texture setup, how the painter has been set up, what "displayed correctly" means, etc.
  • i have errors in Android Settings in QT Quick

    Unsolved Qt 6 android sdk qt creator qt quick qt 6
    2
    0 Votes
    2 Posts
    1k Views
    KroMignonK
    @Osama-Adel Please add Android SDK Command-line Tools, it is required to enable android build with QtCreator
  • How to use Qt 6.1.2 QtVirtualKeyboard layout in Qt 6.2.0

    Unsolved Qt 6 virtualkeyboard qt 6
    3
    0 Votes
    3 Posts
    887 Views
    Y
    hello, the 6.1.2 version : [image: 27278f96-651e-4d17-9ce2-6e556d6ab7e7.PNG] the 6.2.0 version: [image: ad835544-65e4-4eed-919e-1dbbc77451f4.PNG] there ain't much difference but the big difference is the close keyboard button which is in the 6.2.0 version under the comma(you need to hold it) which is annoying/confusing for the user. Kind regards Yina
  • Is Qt Speech Deprecated?

    Unsolved Qt 6 qt speech qt 6 modules
    3
    0 Votes
    3 Posts
    1k Views
    VRoninV
    Looking at the repo it should ship with Qt 6.2
  • 0 Votes
    9 Posts
    3k Views
    R
    @kshegunov Thanks for the correct query! I've researched the links you stated and I think my problem is before theirs. That is why I created a new bug report -> https://bugreports.qt.io/browse/QTCREATORBUG-25686 I hope I have made myself clear enough so they will understand the problem.
  • 0 Votes
    2 Posts
    837 Views
    DrugsAsLifestyleD
    Fixed. This errors was because of Qt 6. I downloaded and linked previous version of QT - 5.15, and this errors disappeared
  • 0 Votes
    3 Posts
    2k Views
    Pablo J. RoginaP
    @BikashRDas said in QNetworkConfiguration and QNetworkConfigurationManager alternatives for Qt 5.15.2: I am using Qt 5.15.2 enterprise edition Is that version backed by a commercial license from Qt? If so, you may want to ask for help from Qt support directly
  • Qt Quick views 2.0 and PDF printing

    Solved QML and Qt Quick pdf qt quick qt 5.14 qt 6
    4
    0 Votes
    4 Posts
    3k Views
    jeanmilostJ
    Thank you for the answers, they provide very valuable info. So there is no real way to have a generic PDF printer, and each developer have to write its own, by writing its own Paint() function. That was that I though, unfortunately. Unfortunately, because writing my own drawing function brings another issue in my case: I cannot get back the content of the delegate property encapsulated inside my TableView object, in my qml interface file from the c++ code. More exactly, I can, in the best situation, retrieve a part of these info, by getting back the items already drawn on the user interface, from the TableView cache. But as not all the items may be available in this case, I may miss important info in various scenarios, e.g.for still not painted items. Or I may also hardcode the values to use during the PDF export inside the c++ code to reflect what was did in the qml file. These solutions may resolve my issue in a certain manner, but are weak in terms of generating good and reusable code, especially when designers are intended to often modify the qml interface during the development cycles. I perhaps will explore the QTextDocument object, and the way it handles the PDF printing. However I don't know if I really can use this component to replace my qml TableView object, as its organization was exactly what I needed to show my data to the user. I will also take a look in the QtWebEngine solution, but this may work only if the text remains editable in the generated PDF, as I said in my original post above.