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
  • Qt Simulator - does it support pinch-to-zoom?

    2
    0 Votes
    2 Posts
    2k Views
    joborJ

    No, sorry at the moment there's no pinch-to-zoom functionality in the Qt Simulator.

    There's already a JIRA issue covering this feature request:
    http://bugreports.qt.nokia.com/browse/QTSIM-77

    You might want to add yourself as watcher to this issue.

  • 0 Votes
    11 Posts
    5k Views
    A

    [quote author="Tobias Hunger" date="1295521416"]Lines 9-11 could be collapsed to @font.setItalic(node->isSymlink());@
    [/quote]
    Even if you don't choose to collapse all that much (readability?), the braces still should be removed, according to the "coding style guidelines":http://qt.gitorious.org/qt/pages/QtCodingStyle.

  • 0 Votes
    8 Posts
    3k Views
    G

    Jira is the bug tracker software. It's often used as a synonym for the website itself.

  • Qt Creator debugging problem

    2
    0 Votes
    2 Posts
    3k Views
    T

    Could you please file a "bug report":http://bugreports.qt.nokia.com/ and include the complete debugger log (normally in the top right part of the debugger mode). Some information on versions used (Qt Creator/Qt) and the environment (OS, compiler and debugger used, etc.) would help, too.

    Thanks!

  • 0 Votes
    18 Posts
    9k Views
    K

    My problem had to do with a shadow build and installing unit test files.

  • CellsColor in the QTableView

    10
    0 Votes
    10 Posts
    6k Views
    A

    Of course. QSFPM is a proxy model as well, right?
    If you need a complicated proxy model, depends on what you want to achieve exactly. If you want to color a complete row or column, then that is easy to do with QSFPM. If you want to be able to manually color cells, you need a bit more than that.

  • 0 Votes
    7 Posts
    15k Views
    R

    Hey,

    It has been a while since I worked with QT.
    However I never used qt assistant. Only qt creator.

    I have no idea how I can layout the contents of the scroll bar itself.
    Below you can find the code of a .UI file with a simple scroll field so you can check it out for yourself.
    Maybe it is of some use to you.

    Hope it helps.

    @<?xml version="1.0" encoding="UTF-8"?>
    <ui version="4.0">
    <class>MainWindow</class>
    <widget class="QMainWindow" name="MainWindow">
    <property name="geometry">
    <rect>
    <x>0</x>
    <y>0</y>
    <width>315</width>
    <height>489</height>
    </rect>
    </property>
    <property name="windowTitle">
    <string>MainWindow</string>
    </property>
    <widget class="QWidget" name="centralWidget">
    <widget class="QScrollArea" name="scrollArea">
    <property name="geometry">
    <rect>
    <x>20</x>
    <y>40</y>
    <width>261</width>
    <height>411</height>
    </rect>
    </property>
    <property name="widgetResizable">
    <bool>true</bool>
    </property>
    <widget class="QWidget" name="scrollAreaWidgetContents">
    <property name="geometry">
    <rect>
    <x>0</x>
    <y>0</y>
    <width>318</width>
    <height>518</height>
    </rect>
    </property>
    <layout class="QVBoxLayout" name="verticalLayout">
    <item>
    <widget class="QFrame" name="frame">
    <property name="minimumSize">
    <size>
    <width>300</width>
    <height>500</height>
    </size>
    </property>
    <property name="sizeIncrement">
    <size>
    <width>200</width>
    <height>0</height>
    </size>
    </property>
    <property name="baseSize">
    <size>
    <width>0</width>
    <height>0</height>
    </size>
    </property>
    <property name="frameShape">
    <enum>QFrame::StyledPanel</enum>
    </property>
    <property name="frameShadow">
    <enum>QFrame::Raised</enum>
    </property>
    <widget class="QPushButton" name="pushButton">
    <property name="geometry">
    <rect>
    <x>170</x>
    <y>250</y>
    <width>75</width>
    <height>23</height>
    </rect>
    </property>
    <property name="text">
    <string>PushButton</string>
    </property>
    </widget>
    <widget class="QPushButton" name="pushButton_2">
    <property name="geometry">
    <rect>
    <x>80</x>
    <y>470</y>
    <width>75</width>
    <height>23</height>
    </rect>
    </property>
    <property name="text">
    <string>PushButton</string>
    </property>
    </widget>
    </widget>
    </item>
    </layout>
    </widget>
    </widget>
    </widget>
    </widget>
    <layoutdefault spacing="6" margin="11"/>
    <resources/>
    <connections/>
    </ui>
    @

  • 0 Votes
    2 Posts
    2k Views
    M

    Eike Ziller answered me on the qtcreator mailinglist:

    "Looks like the welcome page uses handleHelpRequest(url + QLatin1String("?view=split")) to achieve that effect."

    This did the trick for me!
    Thanks!

    Regards,
    Markus

  • Sorting in PostgreSQL

    7
    0 Votes
    7 Posts
    3k Views
    M

    Solved

  • Qt Creator keep crashing when opening *.ui file

    27
    0 Votes
    27 Posts
    16k Views
    H

    I've submitted a bug report and the recommendation given is to use latest QT Creator version 2.1

    It can open .UI file now

  • Simulator Screen Capture

    2
    0 Votes
    2 Posts
    2k Views
    S

    I'll answer my own question....

    A workaround is to use PrtSc that works. However, would be nice to be able to record videos. How?

    Thanks

    Simon

  • Text output.

    10
    0 Votes
    10 Posts
    6k Views
    F

    [quote author="Zlatomir" date="1294654121"]@Andre: that is not the case, i really am an amateur programmer and i wouldn't have bothered him with my advices if i knew he already knows the solution ;)[/quote]

    Amateur or not I think Grzegorz's answer should be nicer - let's hope it was not intentional. This is a community forum and anybody answering questions is trying to help by providing opinions and/or suggestions - no guarantees.

    Also, when answering a question we don't have any way of knowing the author's level of expertise and, most of the time, have to start by assuming they can be missing something obvious - I don't see any problem with Zlatomir's answer.

  • [Moved] QML and grouped properties

    10
    0 Votes
    10 Posts
    5k Views
    D

    mbrasser, thanks for answer, topic is moved :)

    fcrochik, I'll do it later.

  • Generated source code files with qmake

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Qt Creator 'automatically' sets compiler path

    7
    0 Votes
    7 Posts
    10k Views
    T

    Creator will ask the ToolChain for any changes required to the environment. The Linux ICC toolchain should add its directory to the PATH, just as the GCC toolchain does. That is not really visible when using the system environment (as gcc and the icc compilers are both only picked up when they are in the path already:-), but this should be visible when using a clean environment.

    Actually I am refactoring the ToolChain handling right now. One effect will be that the whole thing becomes way more configurable (to e.g. support several different versions of gcc, etc.) and powerful. So stay tuned:-)

  • MinGW vs. Cl in Nokia SDK

    6
    0 Votes
    6 Posts
    4k Views
    M

    Thanks. This is very helpful!

  • Merge Qt SDK and Nokia SDK

    17
    0 Votes
    17 Posts
    14k Views
    U

    [quote]... Similarly to the Qt SDK, the new Nokia Qt SDK product, which debuted a few months ago, combines Qt and Qt Creator in one package (along with a number of other useful tools for both desktop and mobile development). It didn’t make sense to us to keep shipping two products that support the same set of use-cases. We therefore decided to retire the Qt SDK and use the time we would have spent on producing and testing it to put a little extra effort into polishing the next version of the Nokia Qt SDK, which we expect to release before Christmas. Effectively, the Qt SDK will be merged into version 1.1 of the Nokia Qt SDK. ...[/quote]"source":http://labs.qt.nokia.com/2010/11/09/qt-4-7-1-released/

  • 0 Votes
    7 Posts
    7k Views
    J

    The problem is solved. I forgot to adjust date and time settings.

  • 0 Votes
    11 Posts
    11k Views
    A

    !http://i51.tinypic.com/zyhllk.png(Mockup of a Text Editor)!

    When minimized I'd like it to go to the very left of the window, with the active-file directory [ie; /Calendar/DailyTasks] as it's text, and an expand button.

    I am currently in the process of collating classes best-suited for my project into a list. Please help me complete population of the following;

    QTextStream QTextEdit QTreeWidget QTabBar ⊕ CLTab QDockWidget QTreeView QDirModel
  • Error in Simulator

    3
    0 Votes
    3 Posts
    3k Views
    S

    I don't think so because it runs ok under QMLViewer under ubuntu

    Simon