Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • 0 Votes
    3 Posts
    79 Views
    S
    @Kent-Dorfman the error gives the SAME file - the moc file. What is strange is clean builds on Windows works (my copy using Beyond Compare leaves out the .user and build files) but not clean builds on Fedora. The CMake environment was done using QtCreator. And as I said, I deleted the build directory on Fedora and the problem still occurs. Still trying to get my Ubuntu environment to work (CMake can't fine Qt; I've fixed that before on older systems, but did not have time tonight) So far, it seems to be something due to Fedora or Linux. I did reinstall Qt from qt.io instead of using what fedora wanted to install. Same problem. This makes me wonder if it is due to differences between MingW (on Windows) and g++ on Fedora. If I try CMake directly on Fedora, it can't find Qt. Once I fix that on Ubuntu, I will see if I can fix it on Fedora. Thank you for your answer, and I will get more information
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Register QMetaType with specific ID?

    Unsolved
    3
    0 Votes
    3 Posts
    221 Views
    A
    @GrecKo Yes, but I'd like it to be somewhat readable and manually editable. But I suppose I could save the type name instead of the id. Thanks.
  • QTableView performance: slow repaint of scroll area viewport

    Unsolved
    11
    0 Votes
    11 Posts
    287 Views
    Christian EhrlicherC
    @svadym said in QTableView performance: slow repaint of scroll area viewport: I can try to submit a bug report if you say that it's not normal. This would be nice. With a small reproducer (main.cpp only), a recent Qt version (6.9 and up) and some benchmark results from you. Also reduce the update rate to e.g. 10hz. It's fast enough - Noone can read that fast.
  • how to override qtcharts QBarSeries?

    Unsolved
    16
    0 Votes
    16 Posts
    352 Views
    JonBJ
    @Christian-Ehrlicher said in how to override qtcharts QBarSeries?: the export macros are wrong. Which is exactly what I wrote above in https://forum.qt.io/post/829183. I don't know about "name clash". Anyway if you are sure this cannot be done by adding a new subclass in own code then I am sure you will be right and the OP would be best just changing the existing Qt source.
  • 0 Votes
    2 Posts
    49 Views
    Christian EhrlicherC
    @PuskasAlex said in QDesktopServices::openUrl() fails in Qt 6.8 on macOS for file paths with special characters ([, ]): There is any workaround? Except creating a bug report (search before if there is already one) - compare the code between Qt5 and Qt6 - maybe you can spot the problem.
  • QImageReader could not find the size of images

    Unsolved picture qt6 windows imageformats
    8
    0 Votes
    8 Posts
    186 Views
    Grit ClefG
    Create at https://bugreports.qt.io/browse/QTBUG-138530
  • the qml file dialog caused the problem.couldnt find the reason.

    Unsolved
    7
    0 Votes
    7 Posts
    106 Views
    JonBJ
    @nicker-player I see that now, I did not notice it (if it was there) when I posted originally. I know nothing about QML, but file:///D:/program/qt/5.14.1/msvc2017/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml:109:13: Unable to assign QQmlListModel to QString looks to me like styleData.value is an actual QQmlListModel? Which obviously cannot be converted to a string. So, however you do it in QML, what it is the bound value (or its type) in whatever cell in your table?
  • Multimedia recording filtered to 20kHz bandwidth

    Solved
    8
    0 Votes
    8 Posts
    188 Views
    S
    Ah! It's PipeWire. pw-cat --record --target alsa_input.usb-Hanlincrest_Ltd._FUNcube_Dongle_V2.0-00.pro-input-0 --rate 192000 --format s16 sdr.raw sox -t raw -r 192000 -e signed -b 16 -c 2 sdr.raw sdr.wav ...results in a wav file with the same 20kHz filtering. Now I need to find out how to fix that. "Pro Audio" setting isn't working. I guess this is solved from a Qt point of view.
  • Building Qt Multimedia from sources on Windows

    Unsolved
    2
    0 Votes
    2 Posts
    46 Views
    jsulmJ
    @Pedro-Vicente Check the config.log file or use -v parameter when calling configure to get more information.
  • How to get the android-g++ ?

    Unsolved
    2
    0 Votes
    2 Posts
    49 Views
    jsulmJ
    @Khadeer Why do you need the Gnu compiler? Just recompile using clang from Android NDK.
  • Custom Widget put in ScrollArea with no scrollbar

    Solved
    8
    0 Votes
    8 Posts
    166 Views
    F
    @Zbigniew-Sch Thank you for your answer, I have solved my problem. I created custom MyWidget derived from QWidget and overwrited paintEvent method. Then called setGeometry in constructor method and called resize() when scaled. It works as I want.
  • Qline:F:angle seems not correct

    Unsolved
    3
    0 Votes
    3 Posts
    61 Views
    F
    @Christian-Ehrlicher Thank you very much !
  • 0 Votes
    1 Posts
    71 Views
    No one has replied
  • Unable to get hold of 6.8.4 LTS

    Unsolved
    4
    0 Votes
    4 Posts
    109 Views
    jsulmJ
    @Qt6User https://doc.qt.io/qt-6/build-sources.html
  • CMake and AUTOMOC: *syntax error: 'constant'* when using FetchContent

    Unsolved cmake
    2
    0 Votes
    2 Posts
    54 Views
    SGaistS
    Hi, Can you provide a minimal project that shows this issue ?
  • Adding a layout inside an existing layout

    Solved
    9
    0 Votes
    9 Posts
    170 Views
    JonBJ
    @Pl45m4 It was not intended ironically. It was like that when I last investigated, maybe copy/paste etc. is available now. I will check next time I am in Designer.
  • Possible QCommonStyle (QStyleSheetStyle) bug

    Unsolved
    3
    0 Votes
    3 Posts
    97 Views
    R
    Jira ticket has been raised for Issue 1: QTBUG-138495
  • How does AUTOMOC and CMake determine which sources toscan?

    Unsolved
    5
    0 Votes
    5 Posts
    86 Views
    Christian EhrlicherC
    @snoriman said in How does AUTOMOC and CMake determine which sources toscan?: think there is more to it then that because how would adding include_directories() trigger automoc on an external dependency ( It does not.
  • How to scale columns evenly?

    Unsolved
    6
    0 Votes
    6 Posts
    105 Views
    Pl45m4P
    @Nmatan said in How to scale columns evenly?: but is there no method to at least have an 'initial' size for the columns See https://doc.qt.io/qt-6/qheaderview.html#ResizeMode-enum