Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • VS 2019 & Qt 5.13.2

    Solved
    2
    0 Votes
    2 Posts
    513 Views
    V
    I solved the problem as following instruction; Delete local user profile by admin account Login again, it will recreate local user profile Open VS Install Qt extension Create different temporary Qt profile Change project's Qt profile to new one and apply Rechange Qt profile to back/orginal one Delete temporary Qt profile that all !
  • LNK1168: cannot open blah.exe for writing

    6
    0 Votes
    6 Posts
    10k Views
    H
    @hskoglund It works. Thank you !!
  • QTableView: select row with a specific id

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    Christian EhrlicherC
    Maybe QAbstractItemModel::match() - but custom stuff is faster I would guess
  • double free or corruption (out) why

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    Christian EhrlicherC
    @pauledd: Nice to hear, can you please mark the topic as solved, thx :)
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • how to calculate the centro id of rectilinear polygon

    Unsolved
    3
    0 Votes
    3 Posts
    308 Views
    Chris KawaC
    Have you tried wikipedia?
  • 0 Votes
    4 Posts
    2k Views
    E
    @mrjj I see, thank you. I'm going for that route then
  • Printing to console from the project file?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    L
    @dheerendra Thanks it works
  • Create tabs for QTabWidget, but do not display all tabs.

    Solved
    2
    0 Votes
    2 Posts
    202 Views
    Chris KawaC
    I'd like to just create, say Tab2, but not actually display this tab. Simply QWidget* tab2 = new Tab2(). But somehow have a handle to the tabs I do not add yet The pointer is a"handle". so that I can add and remove them at will. Just use addTab/removeTab as in your example whenever you need.
  • Realm database in Qt. How?

    Solved
    7
    0 Votes
    7 Posts
    936 Views
    Pablo J. RoginaP
    @bogong Issue closed. so go and mark the issue as solved. Thanks.
  • QEvent, QEventLoop, batch process events?

    Unsolved qevent qeventloop
    8
    0 Votes
    8 Posts
    1k Views
    SGaistS
    Even two if you take the QtScxml module. Well, I am not behind the design of the system so I can just offer some thoughts. I would say that if you need that level of control of the event loop, you might not be using the right tool for your use case.
  • QMacCocoaViewContainer broken in macOS 10.13 (High Sierra)

    Unsolved
    2
    0 Votes
    2 Posts
    215 Views
    M
    @crystalidea Whats your XCode version ?
  • Qt Creator: How to access QLabel inserted by Ui Designer from MainWindow.cpp

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    JonBJ
    @clhallinan said in Qt Creator: How to access QLabel inserted by Ui Designer from MainWindow.cpp: I'm gaining competency w/ C++, but a beginner w/ Qt. Your question relates to general C++ programming rather than anything Qt. @Gerhard's reply above is correct. When you declare class methods or variables, you normally do not put static in from of them. This means they have to be accessed via an instance of the class, by one of instancePtr->method(); instance.method(); If however you have declared the method/variable with static then you do not access it via an instance. That is the time where you go ClassName::method(); so you are using the ::. That is what the error message was telling you. You might want to read up on the use of the static keyword in C++, for future reference.
  • VS 2019 and Qt VS Tools 2.4.2

    Unsolved
    3
    0 Votes
    3 Posts
    473 Views
    _
    I can choose the installed Qt version on the solution, but on the project everything is still disabled... I have sucessfully compiled a Qt project at home where I have VS 2017, here at work I have VS 2019. Anybody having issues on the 2019 integration?
  • Qt Creator mouse cursor disappears after pressing ctrl-s to save a document

    Unsolved
    2
    0 Votes
    2 Posts
    768 Views
    fcarneyF
    Rebooting computer fixed. It was not enough to restart Qt Creator, I had to reboot. I might have been fixed if I just logged out, I don't know. Sounds like a X11 issue.
  • 1 Votes
    6 Posts
    4k Views
    SGaistS
    You're welcome ! Since you have it working now, please mark the thread as solved using the "Topic Tools" button so other forum users may know a solution has been found :-) Seems the cache hid the fact that you did everything already !
  • How to check if the contents of QComboBox are empty or not?

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    GerhardG
    if (ui.ComboBox->count() == 0)
  • QTDesigner Plugin dll Unloaded Immediately after Loading

    Unsolved qtdesigner plugin unloaded
    2
    0 Votes
    2 Posts
    790 Views
    Christian EhrlicherC
    Maybe a dependency is missing so the dll can not be loaded -> use Dependency Walker to see what dependencies you're missing.
  • This topic is deleted!

    Unsolved
    1
    -2 Votes
    1 Posts
    10 Views
    No one has replied
  • Embedding an ncurses window into a QT widget GUI

    Unsolved
    4
    0 Votes
    4 Posts
    711 Views
    aha_1980A
    Hi @simozz, https://github.com/ohwgiles/quilte is a project that does this more or less - it's a terminal emulator written in Qt. It has dependencies however and will not work on Windows, if I get it right. But it should show you the principle. Regards