+ Reply to Thread
Results 1 to 5 of 5

Thread: why I do NOT have ui_myprog.h?

  1. #1
    Join Date
    Jul 2018
    Posts
    8
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default why I do NOT have ui_myprog.h?

    1. My QT gui program works fine but I do have ui_myprog.h anywhere. Qt 5.1.1 and Visaul studio 2017 C++…?
    Am I missing something?

    2. I have come across on the net. Non Modal dizajn:

    MyownProg:: MyOwnProg(QWidget* parent):
    QMainWindow(parent), ui(new Ui::MyownProg), _dialog(nulptr)
    {

    where:


    _dialog = new Dialog(this)
    -dialog->show();

    ….

    The question is what is _dialog?
    Why they did in this way? Maybe in myownprog.h to include Dialog* _dialog? Or that is same?

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,400
    Thanked 256 Times in 251 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: why I do NOT have ui_myprog.h?

    ui_myprog.h is a file auto generated from myprog.ui

  3. #3
    Join Date
    Jul 2018
    Posts
    8
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: why I do NOT have ui_myprog.h?

    There is no files with ui_myprogorsuch.h. I am working on Msvc 2017 C++…. That was my question with latest qt...That was my questions..

  4. #4
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,400
    Thanked 256 Times in 251 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: why I do NOT have ui_myprog.h?

    It looks like there is no plugin integrating MSVC and Qt.
    You have in project the file myprog.ui (Qt Designer file). At the stage of build the project, the ui_myprog.h file should be automatically generated.

  5. #5
    Join Date
    Jul 2018
    Posts
    8
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: why I do NOT have ui_myprog.h?

    Thanks that was it....

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts