Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.4k Topics 34.5k Posts
  • 0 Votes
    11 Posts
    10k Views
    I

    [quote author="Andre" date="1322400225"]That allows you to make associations, but not to associate them with anything else, right?[/quote]

    Right, but I don't want to associate it with anything else, I want to de-associate it. Just take the 7-zip for instance, uncheck one of the boxes and a file with the respective extension won't be opened with 7-zip anymore.

    [quote author="qxoz" date="1322400610"]i think there is no ability in QtCreator such you describe,
    and easiest way is "http://www.fileinfo.com/help/windows_change_program":http://www.fileinfo.com/help/windows_change_program[/quote]

    Thanks, but this still leaves open the question how to de-associate all file extensions associated with Qt-Creator. I want not a single file to be opened with Qt-Creator by default.

  • 0 Votes
    2 Posts
    2k Views
    G

    In order to add custom signals, you must create a subclass using regular C++.

  • Problem with Lupdate

    3
    0 Votes
    3 Posts
    2k Views
    S

    in the same project some libraries report the same message but ts file generated,except the app pro file terminated unusually

  • Feature request Qt Creator

    15
    0 Votes
    15 Posts
    6k Views
    T

    How about using Ctrl-Shift-W (or File->Close All) to close all open editors?

  • Malfunctioning watch expressions with CDB

    5
    0 Votes
    5 Posts
    4k Views
    T

    Sorry, I hardly ever work on windows, not sure what the current state of the art is there:-)

  • Creating Files In Qt

    3
    0 Votes
    3 Posts
    2k Views
    A

    Thanks! That appears to do the trick.

  • Sort/filter model/view from database table!

    12
    0 Votes
    12 Posts
    9k Views
    A

    That only means that your filter filters out everything: no row matches whatever the filter was that was created based on what was typed in the line edit.

    I have no way of checking how you implemented that, but based on the implementation shown in this topic:
    @
    void MainWindow::filterChanged(const QString &filter)
    {
    proxyModel->setFilterRegExp(QString("^%1").arg(filter));
    }
    @
    the filter should match any item that starts with whatever you typed in the line edit.

  • How to export a video.

    3
    0 Votes
    3 Posts
    2k Views
    G

    90 Minutes to push your topic? You're not serious, are you?

    Pushing a topic in that short time is most likely to get you no answer at all. It's commonly accepted to bring a yet unanswered topic back after waiting at least a few days, not minutes.

  • Documentation displayed like without .css

    4
    0 Votes
    4 Posts
    2k Views
    A

    I had the same problem with my qt 4.7.4 on Windows. You need to download qt sources (here: http://qt.nokia.com/downloads/linux-x11-cpp ), take \4.7.4\doc\qch\ folder from it (with it's contents) and replace your \qch\ folder with it. It helped me.

  • 0 Votes
    14 Posts
    10k Views
    F

    [quote author="Volker" date="1322785621"]* Have your model contain all relevant data.

    Set the desired column to display with QListView's setModelColumn() method get the text for the textEdit with the data() method from the model[/quote]

    Voker is right.
    You should try something like this:
    @
    textEdit->setText(listView->currentIndex().data(Qt::DisplayRole).toString());
    @

  • UI tool to configure Qt

    3
    0 Votes
    3 Posts
    2k Views
    A

    Gold!

  • Error when opening "src.pro" in SDK

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Qt Demo in SDK

    15
    0 Votes
    15 Posts
    17k Views
    T

    I had the exact same problem with 4.7.4 on Ubuntu 10.04 and OS X 10.7, but I was able to find the header file at QtGui/private/qpixmapdata_p.h. Maybe, the following file is the same: http://qt.gitorious.org/+qt-developers/qt/staging/blobs/ae6bc1d824f5ae24a259be0c68241873cb96739f/src/gui/image/qpixmapdata_p.h

    Copy and paste it under "shared", the directory you're working, because changing the line in arthurwidgets.cpp from #include <private/qpixmapdata_p.h> to #include <QtGui/private/qpixmapdata_p.h> didn't solve the problem (at least for me). Instead, change it to #include "qpixmapdata_p.h" assuming you saved the header file in the working directory. Then, it should compile and build fine. Hope this helps.

  • Adding gcc and gdb to Creator (Windows XP)

    14
    0 Votes
    14 Posts
    6k Views
    G

    Nope, I never was in need of using boost.

  • Problem with *.XSD files in resources

    10
    0 Votes
    10 Posts
    5k Views
    J

    good idea
    thanks

  • Can't step into Qt code (MinGW)

    5
    0 Votes
    5 Posts
    4k Views
    E

    bq. 2. Added “C:\QtSDK\QtSources\4.7.4” as Qt Sources in Qt Creator debugger options

    I think the problem is not in the sources location.
    When debugging with Qt 4.7.3 stack view shows source file names even when sources location is not setup.
    With Qt 4.7.4 dll names are shown in the stack instead of source file names.

  • 0 Votes
    3 Posts
    2k Views
    mzimmersM

    OK, thanks, Volker. I've got a bunch of other questions about Creator on Windows, but I'll put them in a separate thread.

  • Need some help with Cross Compile basics

    9
    0 Votes
    9 Posts
    4k Views
    R

    Sorry if my questions are (admitately) very basic. I've been searching for 2 days for some basic answers and usually when it takes a long time to find the answers it's either too exotic a question or too simple (as in everyone knows that, right?)
    What I'm posting now is for the benifit of other nubies, so that hopefully other folks don't have so much trouble finding the simple answers:
    Thanks Volker for just simply letting us nubies know: It can't be done (cross-compile to Mac target) due to needing Cocoa on the host.
    So far what I've found is that Targeting FreeBSD with Gnome desktop is about as close as we're going to get without actually getting Mac Hardware.
    As for cross-compiling on Windows host to Linux target, the advice is forget about it.
    "http://www.developer.nokia.com/Community/Discussion/showthread.php?224026-Steps-to-cross-compile-Qt-Application-for-LINUX-from-Windows":http://www.developer.nokia.com/Community/Discussion/showthread.php?224026-Steps-to-cross-compile-Qt-Application-for-LINUX-from-Windows
    ... so my next step is to install Qt in a VMware FreeBSD VM, copy over all the source code files and build it there. Once I get that working, I'll send the results to a friend who has a mac and see if it works. I'll let folks know how it goes.

  • How to compile pro file for LinuX machine

    2
    0 Votes
    2 Posts
    3k Views
    Q

    If you already install Qt SDK for Linux just rebuild your library on it.

  • Qmake x86/x64 and dependent lib files

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied