跳到內容

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
457 主題 3.2k 貼文
  • Flux like architecture with Model/View

    已移動
    1
    0 評價
    1 貼文
    833 瀏覽
    尚無回覆
  • Qt ver not showing up?

    Unsolved
    7
    0 評價
    7 貼文
    2k 瀏覽
    A
    Basically Ive got 2GB on my SSD and 2 other harddisks (2tb ea) one is filled the other is completly clean so I installed it on the completly clean one but I can't use the maintainancetool beacuse my SSD doesn't have space for temporary files. Thats my problem :/ Edit: found a way to clear space I'll update when its done! ^^
  • BROWSER INTERACTION WITH QT

    已鎖定 Unsolved
    1
    0 評價
    1 貼文
    544 瀏覽
    尚無回覆
  • Install Qt 5 on Ubuntu - problem - ~/.local/share/applications

    Unsolved
    6
    0 評價
    6 貼文
    3k 瀏覽
    SGaistS
    You find command doesn't go through all of your machine just the curent folder, likely you home directory.
  • yet another beginner's design question

    Solved
    8
    0 評價
    8 貼文
    2k 瀏覽
    mzimmersM
    @kshegunov got it...thanks for the clarification.
  • Custom Graphs with Animation

    Unsolved
    5
    0 評價
    5 貼文
    3k 瀏覽
    K
    If you want to use D3.js without rewriting it in other language, your first options are either to embed browser, or use QML. Sure you can also run JS code in plain QJSEngine and add your objects there, but that's going to be more work
  • Need QTMultimedia but cant find it?

    Unsolved
    4
    0 評價
    4 貼文
    1k 瀏覽
    K
    Qt 4 has reached EOL long ago. Please consider upgrading to Qt 5
  • how can i create a chat app like telegram in Qt for mobiles

    已移動 Unsolved android network socket mobile app deve c++
    14
    0 評價
    14 貼文
    7k 瀏覽
    QjayQ
    Thanks everyone for insight . I have some idea now from where i should start .
  • Swipe Gesture not working.

    Unsolved
    5
    0 評價
    5 貼文
    3k 瀏覽
    I
    @raven-worx Yes, I'm running the unmodified example code. I start the application from Qt Creator. You are correct there are options to disable Gestures via command line parameters. But options to disable like "no-pan" or "no-pinch" or " no-swipe" must be explicitly set to disable them. Since I'm running from Qt Creator, I haven't set any of these options. Hence all three gestures are enabled.
  • Java in Qt

    已移動 Unsolved
    5
    0 評價
    5 貼文
    3k 瀏覽
    K
    This library looks good as well: https://github.com/MSardelich/CJay Found by simply typing "call java from c++" into Google
  • Snapshot Testing

    Unsolved
    5
    2 評價
    5 貼文
    2k 瀏覽
    benlauB
    Just published an article about how to use Snapshot Testing with TDD for automated GUI testing https://medium.com/e-fever/qml-snapshot-testing-with-tdd-aba81441c52
  • another beginner design question

    Solved
    17
    0 評價
    17 貼文
    5k 瀏覽
    C
    @mzimmers In this kind of scenarios, you should use timer to call a function periodically. NEVER EVER create a while-loop insider your GUI, this will freezes your app. A suggested solution is // dialog.cpp #include "dialog.h" #include "ui_dialog.h" #include <QTimer> #include <QDebug> Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog), runFlag(false) { ui->setupUi(this); QTimer *timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(onWorkerThread())); timer->start(1000); // delay } Dialog::~Dialog() { delete ui; } void Dialog::onWorkerThread() { if (runFlag){ qDebug() << "Worker Thread is running..."; }else{ qDebug() << "Worker Thread is NOT running..."; } } void Dialog::on_ActivateButton_clicked() { runFlag=true; } void Dialog::on_DisactivateButton_clicked() { runFlag=false; } //dialog.h #ifndef DIALOG_H #define DIALOG_H #include <QDialog> namespace Ui { class Dialog; } class Dialog : public QDialog { Q_OBJECT public: explicit Dialog(QWidget *parent = 0); ~Dialog(); private slots: void onWorkerThread(); void on_ActivateButton_clicked(); void on_DisactivateButton_clicked(); private: Ui::Dialog *ui; bool runFlag; }; #endif // DIALOG_H //main.cpp #include "dialog.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); Dialog w; w.show(); return a.exec(); } The GUI is [image: f9b56eaf-5440-4a2d-ab3a-0f0af416c464.PNG]
  • Licenses craziness!

    Unsolved
    3
    0 評價
    3 貼文
    2k 瀏覽
    M
    @SGaist said in Licenses craziness!: What happens usually is that developers use a different version of the database system that was used to build the Qt plugins hence the potential need to re-build the corresponding plugins. This isn't an excuse because I don't face any problem when I use commercial products (as I mentioned before ex. Delphi). Do other companies make a magical solution for this issue?! Of course not. If you want to avoid that, then you should maybe consider using ODBC. You have to take into account that many of the database system you are talking about have several versions supported in parallels with sometimes different features. Do you expect Qt to provide a pre-built plugin for each of these versions ? Since I knew Qt I couldn't use any Qt plugin (specifically SQL plugins) by default because I always need to rebuild it from scratch (the old Qt binary distros didn't include binaries for SQL plugins except SQLite) Because Qt can be used under LGPL/GPL doesn't mean its development is free nor that there are limitless hardware to build and produce the pre-built release nor thousands of developers working on it every day. I understand your frustration regarding licenses but it looks like you don't realise the jungle that it is. Because a product is free it doesn't mean you can do whatever you want to with it. This issue not related to open source version Qt, the commercial version of Qt has same problem!
  • proper design for first project

    Solved
    25
    0 評價
    25 貼文
    14k 瀏覽
    mzimmersM
    Yeah, that was basically it. When I stitched together the examples from above, I neglected to notice that my worker object had two timers declared, and I wasn't consistent on which I used. Works now. I've tested multiple starts and stops, and verified that the "finished" signal works, too. I do believe I have a functional example. I also modified the program so the worker passes the value to the widget for display. So, to summarize what I've learned here: run at least two threads: one for the UI and one to do work. This prevents compute-intensive tasks from blocking the UI updates. create a class for the worker, and instantiate an object in main(). use moveToThread to move the worker object to another thread. make your worker interrupt-driven (work depends mostly on signals from UI). use the arguments in the signal/slot routines to pass data. I think I have a basis for reasonable design now. Thank you to everyone who participated in this.
  • AR Application with sensor tracking

    已移動 Unsolved imu dead reckoning
    2
    0 評價
    2 貼文
    761 瀏覽
    尚無回覆
  • Having trouble linking QT libraries in Visual Studio 2015

    Unsolved
    2
    0 評價
    2 貼文
    1k 瀏覽
    raven-worxR
    @daeto did you specify an absolute or relative lib path in the project's AdditionalLibraryDirectories property? What libs did you add to the project's AdditionalDependencies property? And what does the errors exactly say?
  • Microsoft Fluent Design System: How close can we get to match it?

    Unsolved
    4
    0 評價
    4 貼文
    6k 瀏覽
    6thC6
    Not even aware of "Fluent Design" tech/product name is until seeing your post... still not really knowing. What I can gather it's a Microsoft heavy gloss marketing attempt at 3d interface / Ui? Have you seen: https://blog.qt.io/blog/2017/05/24/qt3d/
  • Questions of the LGPL with QT

    已移動 Solved
    3
    1 評價
    3 貼文
    2k 瀏覽
    gangerMG
    @tekojo Thank you for your detailed answer! This really helps me in the right direction! :D Most things are around what I expected them to be, which is great. I'll mark this thread as solved, thanks again for the help!
  • Static Compile w/o Commercial License

    已移動 Solved
    9
    0 評價
    9 貼文
    5k 瀏覽
    _
    @Konstantin-Tokarev Thanks, I see it now. https://softwareengineering.stackexchange.com/questions/312758/does-providing-object-files-satisfy-lgpl-relink-clause
  • Is it legal?

    已移動 Unsolved
    15
    1 評價
    15 貼文
    6k 瀏覽
    SGaistS
    @Konstantin-Tokarev that's exactly what I meant, thanks for the clarification.