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.7k Topics 35.6k Posts
  • Localizing Qt Quick Apps

    Unsolved localization translations
    5
    1 Votes
    5 Posts
    3k Views
    ekkescornerE
    @SGaist generation of qm files works if at first lupdate was run manually. so the part of creation of ts files from https://wiki.qt.io/Automating_generation_of_qm_files doesn't work as expected
  • How to use QT Creator code parser to parse .h or .cpp files?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    vlad.vesaV
    thanks, will try to see if I can get something out of that plugin. :)
  • Qt and CLang under Windows

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Like I already wrote, the interest mailing list is a better place to ask this. This forum is mainly user oriented and that's the kind of question that the developers/maintainers can answer.
  • Qmake pre-build step before ANY compilation

    4
    0 Votes
    4 Posts
    9k Views
    afyaA
    [http://stackoverflow.com/questions/35411144/automatic-build-version-in-qt](link url)
  • QtCreator - Localizing - translations

    3
    0 Votes
    3 Posts
    838 Views
    ekkescornerE
    @SGaist thx - have to "learn" how all this is working at Qt ;-) my first steps here after 4 years daily developing Cascades/Qt/4.8 apps with Eclipse Momentics
  • deleting a widget from creator leaves a warning from .moc file

    Unsolved
    3
    0 Votes
    3 Posts
    772 Views
    T
    Thanks you put me onto the right path, I did a full rebuild and the case 2 reappeared. I then remembered I'd set a slot in designer for the context menu. This had put a slot function in my header. Deleting this sorted everything.
  • How can I load an image?

    Unsolved
    10
    0 Votes
    10 Posts
    5k Views
    Ni.SumiN
    Hi @jdent Be sure that you have your image and qml file are in resource (*** .qrc). And code : Image { source: "images/imageName.png"
  • Using Clang for Android

    Unsolved
    2
    1 Votes
    2 Posts
    931 Views
    SGaistS
    Hi, That's a question better asked on the Qt Android development You'll find there Qt's Android port developers/maintainers. There's this chapter in the Android documentation that might hint that it's possible however I don't the how much work it would mean on the Qt side.
  • Qt Creator Crashes on Centos 2.6.32-431.23.3.el6.centos.plus.x86_64

    Unsolved
    2
    0 Votes
    2 Posts
    570 Views
    SGaistS
    Hi and welcome to devnet, What version of Qt and Qt Creator are you using ?
  • Qt 5.5.0 moc: explicitly need to define QT_VERSION

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Using the macx-xcode mkspec ?
  • A little bug in QtCreator3.4.2(OpenS) (Windows8.1, ChineseEnvironment)

    Unsolved qtcreator
    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    Thanks !
  • QT Creator Plugin write to "Compile Output" window

    Unsolved
    1
    0 Votes
    1 Posts
    492 Views
    No one has replied
  • Set depends of a project to another subdirs project.

    Solved
    7
    1 Votes
    7 Posts
    1k Views
    S
    @SGaist ok. thanks
  • Execute make file in Windows if project build on Linux

    Unsolved makefile linux windows c++
    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, Don't try to re-use Makefiles from Linux on Windows. You have your .pro file so open your project with Qt Creator and built it there.
  • Multi-library projects

    Unsolved qmake
    14
    0 Votes
    14 Posts
    5k Views
    SGaistS
    .depends is only for other projects that must be built before. If you have a "link only" lib, I'd put it in a 3rdparty folder with a corresponding .pri file that you would include in the projects needing to link to that library.
  • How to create .ui file for manually edited application (.h & .cpp only)?

    2
    0 Votes
    2 Posts
    16k Views
    Chris KawaC
    How can I create a *.ui file from a manually edited app In Qt Creator go to File -> New File or Project -> Qt -> Qt Designer Form. Select a widget type, e.g. Widget and give the file a meaningful name (usually the same as your h/cpp file): mainwindow.ui. It will be added to you project. Open it in the designer, select the widget and set its property objectName to match the name of your class in your h/cpp (it's not necessary but recommended to keep things in order). In your .h file add: namespace Ui { class MainWindow; //this is the property `objectName` from the previous step. They need to match } and then a private field in your class declaration: class MainWindow : ... private: Ui::MainWindow* ui; //this is again the matching name } in your .cpp file include the header generated by uic: #include "ui_mainwindow.h". the mainwindow part is the name of your .ui file. in your constructor create the ui instance and setup: MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } in the destructor destroy the ui instance: MainWindow::~MainWindow() { delete ui; } How do I integrate external .h and .cpp files (external app) just open your .pro file and add them to HEADERS and SOURCES variables.
  • Qt Installer Framework: How to check if application already installed?

    Unsolved qtinstallerfram
    1
    0 Votes
    1 Posts
    915 Views
    No one has replied
  • detect drop event in qt creator

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    A
    If you want customized drag and drop behavior you have to use a custom data model. Subclass QAbstractItemModel and implement/override the behaviours you want to change. Qt documentation is all what you need.
  • QtCreator: Use clang code model for refactoring

    Unsolved qtcreator clang code model refactor
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Problem with reference documentation

    Unsolved
    4
    0 Votes
    4 Posts
    793 Views
    SGaistS
    So it's now ok after a rebuild ?