Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • Weird problem with setupUI call

    16
    0 Votes
    16 Posts
    13k Views
    P

    Hi.

    I'd like to up this post : doesn't seem to have any solution here and, as it happens, i have the exact same problem : the setupUi method crashed without apparent reason.
    And this only happen on Windows and on Release mode (the bug isn't reproductible on Linux, or on Windows in debug mode).
    I'm using Qt4.8.0, and I'm compiling with the MinGW provided with QtCreator.

    Here is some code from the header :

    @#ifndef LEVELEDITOR_H
    #define LEVELEDITOR_H

    #include <QWidget>
    #include "texturemanager.h"
    #include "objectmanager.h"

    namespace Ui {
    class LevelEditor;
    }

    class LevelEditor : public QWidget
    {
    Q_OBJECT

    public:
    explicit LevelEditor(QWidget *parent = 0);
    ~LevelEditor();

    void Save(const QString& filepath); bool Load(const QString& name, const QString& filepath); void Test(const QString& workdir);

    public slots:
    void TextureAdded(QString);

    private slots:
    void PickNewTexture(void);
    void TextureListIndexChanged(int);
    void TextureListUpdated(void);

    void CreateNewAnimation(void); void AddAnimationToList(QString); void ObjectListIndexChanged(int); void CreateNewObject(void); void ObjectListUpdated(void); void LandscapeChanged(QString); void UpdateLevelSize(void); void AddEntity(void); void DelEntity(void);

    private:
    Ui::LevelEditor *ui;
    TextureManager _textureManager;
    ObjectManager _objectManager;
    AnimationManager _animationManager;
    QString _currentLevel;
    };

    #endif // LEVELEDITOR_H@

    And here is the constructor :

    @LevelEditor::LevelEditor(QWidget *parent) : QWidget(parent), ui(new Ui::LevelEditor)
    {
    qDebug() << "test1";
    ui->setupUi(this);
    qDebug() << "test2";
    }@

    And here goes the application output :
    @test1
    The program has unexpectedly finished.
    C:\Users\Lovestospooge\Documents\Editor-build-desktop-Qt_4_8_0__4_8_0__Release\release\Editor.exe exited with code -1073741819@

    If, during the past half year, you found something that may cause this, I'd be glad to know.
    If not, then you're not the only one who met with this problem. And it may be interesting to get to the bottom of it :) !

  • 0 Votes
    6 Posts
    4k Views
    sajis997S

    Hi,

    The issue is solved. I had to make the following addition to my elliptical graphics item class:

    [code]
    setFlag(ItemSendsGeometryChanges);
    [/code]

    Thanks
    Sajjad

  • Qextserialport can't open port

    9
    0 Votes
    9 Posts
    8k Views
    K

    bq. @kuzulis I finally got it to build yesterday, but still have a problem to link it to a project (but that’s got nothing to do with the lib, more with my lacking knowledge). If I could make a suggestion, it would be to specify in the readme that you need QtSource to build it… or at least the qwineventnotifier_p.h from QtSource.

    Emm .. solution to this issue "here":http://developer.qt.nokia.com/forums/viewreply/70489/

    In principle, this is not a problem. Yes, in the current version Qt4.x QWinEventNotifier class is private, so the library must be compiled as the link above (the same applies to the repository QextSerialPort on the google.code). But in the future Qt5 this class will be made ​​public so that there should be no problems.

    Therefore, for a transitional (temporary) version of QSerialDevice 2.0 I do not write this "feature" to the ReadMe. The reason is that QSerialDevice 2.0 is frozen, and the future development of Gerrit moved to a QtSerialPort.

    Details, see example "this":http://qt-apps.org/content/show.php?content=112039.

  • [Solved] Gsoap with nokia Qt SDK problems

    13
    0 Votes
    13 Posts
    11k Views
    A

    Hey there. I've followed all those steps and whenever I try to include the gsoap headers in a class other than the main.cpp i get this error when running the project in Qt Creator:

    mwldsym2.exe: Multiply defined symbol: struct Namespace * namespaces (?namespaces@@3PAUNamespace@@A) in
    mwldsym2.exe: files moc_maxintervaltimer.o, maxintervaltimer.o

  • 0 Votes
    5 Posts
    3k Views
    A

    Right, ok.

  • 0 Votes
    3 Posts
    6k Views
    U

    Thanks very much for your answer !

  • Measuring a painted area

    1
    0 Votes
    1 Posts
    887 Views
    No one has replied
  • GSOAP problem in wsdl2h command with WCF&#63;!

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [Solved]RealTimePlot component

    7
    0 Votes
    7 Posts
    6k Views
    T

    bq. Hey, you may want to try my QCustomPlot component:
    http://www.workslikeclockwork.com/index.php/components/qt-plotting-widget/
    Has full documentation and easy learning curve. It currently plots graphs, parametric curves, bar charts and statistical box plots. If that’s not enough, you can always subclass the central “plottable” class to make it show anything you like. It supports four axes with linear or logarithmic scale, reversed axes, automatic tick labels, rotated tick labels, automatic margins, filling, a legend, and much much more.

    I looked at your work and been in contact with you earlier on your homepage.

    You have done a great work but I have solved my earlier problems with qwt so thats no need to change it.

  • 0 Votes
    9 Posts
    7k Views
    K

    Hi All.

    At last!
    The Nokia cloning repository QSerialDevice 2.0 to codereview.qt-project.org

    Now the whole development will be there.

    Developers can get a clone of this:
    $ git clone ssh://codereview.qt-project.org:29418/playground/qtserialport.git

    We ask all interested to take part in the development of the project.

    More
    "this":http://wiki.qt-project.org/Code_Reviews
    and
    "this":http://wiki.qt-project.org/Setting_up_Gerrit

  • 0 Votes
    2 Posts
    2k Views
    L

    Hi.

    I am not experienced with gsoap, but I would like to learn something with this.

    Can you provide a simple example ?

    so I wil be able to reproduce your problem ?

    It looks interesting

    best regards.

  • At wits end: SAPI + Qt = Fail

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Icons library

    2
    0 Votes
    2 Posts
    4k Views
    L

    FamFamFam is a good and free icon library: "http://www.famfamfam.com/":http://www.famfamfam.com/

  • [Solved]Align scrollbar

    7
    0 Votes
    7 Posts
    4k Views
    T

    OK thanks Uwe
    Maybe I can reach my goal if I use the panner in qwt?

  • Get and use QtMmlWidget

    7
    0 Votes
    7 Posts
    7k Views
    U

    [quote author="Eddy" date="1323889356"]I recently installed qwt 6.0.1 and there is no need to get it for using qwt anymore[/quote]
    Since the MathML package became unmaintained I have stripped it down ( Qwt is interested in the renderer only not the widget ) added a couple of minor patches and committed it to the Qwt repository.

    Because this code has a different license as Qwt itsself it is built as extra library ( qwtmathml ). Of course this library is optional and as most users don't use it, it will always be an optional part only.

    Uwe

  • Easyest way to support zip files under QML

    5
    0 Votes
    5 Posts
    4k Views
    G

    Ok, i made the correct post

  • [Solved]RealTime graphics

    5
    0 Votes
    5 Posts
    3k Views
    T

    Yes i have looked at the examples but I don't see any thing like this and I'm not the first to need something like this I think.

    any tips??

  • 0 Votes
    4 Posts
    4k Views
    K

    Supported.

    Behavior is "almost completely" copies QAbstractSocket, with all methods, etc.
    All I/O is also buffered and non-blocking.
    See examples in /tests directory.
    In the general, try.

  • Qextserialport problem

    9
    0 Votes
    9 Posts
    7k Views
    K

    Guys,
    read "this":http://developer.qt.nokia.com/forums/viewreply/67246/.

    Perhaps you change your mind and take another library.

  • [Split] how to plot 3d graphs

    2
    0 Votes
    2 Posts
    2k Views
    A

    Please do not hijack threads like this.
    This thread is about running qt on a specific hw and architecture.

    Do a google search for what you look for, i found this; "QWTPLOT3D":http://qwtplot3d.sourceforge.net/
    That might do the trick.

    I strongly recommend you to read the Qt examples found in the qt installation directory, and direct any questions to a forum parts for helping beginners.