Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Which container is good for below scenario mentioned.

    Solved
    5
    0 Votes
    5 Posts
    501 Views
    VRoninV
    map<int, tuple<string, string/*, string, ... */> > Where map can be a std::map, std::unordered_map, QMap, QHash or any key-value container and tuple is std::pair, QPair or std::tuple or even just a custom struct
  • Time delay in loading progress bar (GIF Format)

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    sankarapandiyanS
    @jsulm said in Time delay in loading progress bar (GIF Format): It crashes here. Means timer is already destroyed You are Absolutely Right!!!!!! Now its Works .. Great Thanks ................ @jsulm @mrjj @JonB
  • How to set the Z-axis length of Q3DSurface

    Unsolved
    2
    0 Votes
    2 Posts
    395 Views
    J
    Hi, I know this thread is already a bit old, but since I had the same problem recently and found no solution here, I thought I´d share mine for the the next one thats looking here. Instead of changing the length of the Axis you can change the default automatic HorizontalAspectRatio to a self defined value by using the setHorizontalAspectRatio function from the QAbstract3DGraph class: https://doc.qt.io/qt-5/qabstract3dgraph.html#horizontalAspectRatio-prop E.g.: graph->setHorizontalAspectRatio(1.0); //for a quadratic appearance. Greetz.
  • Qt Creator: CMAKE How to use Toolchain File

    Unsolved
    2
    0 Votes
    2 Posts
    4k Views
    jsulmJ
    @maxwell31 Add CMAKE_TOOLCHAIN_FILE variable to your CMake project settings. Projects/Build Settings/CMake
  • incremental data fetching logic distorted when resetting the model

    Solved
    4
    0 Votes
    4 Posts
    377 Views
    VRoninV
    @user4592357 said in incremental data fetching logic distorted when resetting the model: and m_nActualChildCount is calculated once This needs to be recalculated if you reset the model
  • connect qt with bigquery

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    Christian EhrlicherC
    @Weimars said in connect qt with bigquery: Any idea what to do? As always in this case (and mentioned many times here in the forum for this specific question) - make sure the odbc plugin finds all required dlls (in your case the odbc dlls). You can check this with e.g. DependencyWalker.
  • Mulitple Show_()'s

    Unsolved
    4
    0 Votes
    4 Posts
    260 Views
    A
    Instead of dealing with window states, I think I will just set the fixed size to that of the monitor, and then position at 0, 0 to achieve a maximized state. Thanks for the help though
  • This topic is deleted!

    Unsolved
    15
    0 Votes
    15 Posts
    155 Views
  • xml file

    Unsolved
    16
    0 Votes
    16 Posts
    2k Views
    jsulmJ
    @siva9111 said in xml file: does not work Please show the code. setPlainText() should always work...
  • Learning how to make Qt "backend" do what I want

    Unsolved
    2
    0 Votes
    2 Posts
    279 Views
    sierdzioS
    @chalres said in Learning how to make Qt "backend" do what I want: QT 3.3, Creator 3.2.1 That's really old! Qt 3 is long out of support. Qt 4 is out of support as well (for years). Use Qt 5, either the newest version (5.13.2) or the newest LTS branch (Qt 5.12.x). How to install and update: use the online installer from Qt web site. It will set everything up for you automatically. Do not install Qt as root user unless you have to. What to do when the update tool fails to find repositories\ Report a bug on Qt bug tracker. found that Qt had a bug all along in the version I used for serial what bug was it?
  • QNetworkReply

    Unsolved
    2
    0 Votes
    2 Posts
    157 Views
    T
    Can you post your code ?
  • Handling TAB-presses exclusively

    Unsolved
    3
    0 Votes
    3 Posts
    359 Views
    qwasder85Q
    @JonB Thanks, I'll do that.
  • Window Flags For Resizing

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    A
    @jsulm, that's unfortunate but thanks for the answer.
  • Qt5.5 multicast program use wlan IP cannot receive packages with wired net is working

    Unsolved
    1
    0 Votes
    1 Posts
    137 Views
    No one has replied
  • QMimeData::setUrls() and macOS 10.15 (Catalina)

    Unsolved
    2
    0 Votes
    2 Posts
    288 Views
    Thuan_FirelightT
    Some additional information. I am seeing this error in Xcode with both Qt 5.4.1 and Qt 5.12.3. The issue only occurs when multiple urls are set on the QMimeData. A single url works fine. There are 3 items on the pasteboard, but 1 drag images. There must be 1 draggingItem per pasteboardItem. Looks like this is reported under https://bugreports.qt.io/browse/QTBUG-71939
  • 0 Votes
    4 Posts
    255 Views
    SGaistS
    You didn't answer the question about the graphics card. What is it ? Are the drivers up do date ?
  • 0 Votes
    2 Posts
    133 Views
    SGaistS
    Hi, Can you check with the latest LTS release ? Can you provide a minimal compilable example showing that behaviour ?
  • How to cross-compile qt5.9.5 to SDR board ?

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    SGaistS
    Hi, Is there any mkspec that closely matches your board ? If so copy it and customize it so it fits your device.
  • 0 Votes
    4 Posts
    370 Views
    V
    P. S. My entitlements.plist looks like this for now: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.network.client</key> <true/> <key>com.apple.security.temporary-exception.files.absolute-path.read-write</key> <array> <string>/</string> </array> </dict> </plist> Update: tried 5.13.2, same thing.
  • Using loader how to save the components and not destroy them

    Unsolved
    2
    0 Votes
    2 Posts
    311 Views
    sierdzioS
    Use StackView. It's simple and works just like you want it to. There is also SwipeView and TabBar, if your needs are different. See the docs.