Qt Application showing back content - c++

I'm developing an Qt Quick Application with C++ and QML.
The mainwindow doesn't show the content, and shows part of the back window content(the QT IDE)
The problem is when running the project in Debug/Release(both) mode. Running the binary from the project folder works. But I need to test it from debug mode.
I'm using Ubuntu 14.04 (Xfce).
How can I solve it?

Related

How to input the data in c++ in the latest version of qt for non qt projects on mac?

I am using the latest version of Qt creator in mac Catalina. I have used Qt in the past earlier. I am primarily using it to run non-qt applications in C++. The version of Qt creator is 4.11.1 based on Qt 5.14.1.
I am trying to run a program written in c++ which is accepting a simple input. However, I am not sure how to input the data. I tried inputting the data into application output window of Qt but the program doesn't stop. It gets stuck forever. The program doesn't exit at all.
I tried changing the terminal in Qt setting to Mac's terminal. It does work but I would like to input the data through default Qt terminal. Let me know how to make it work. Thanks

No output from heob in a Qt application using Qt Creator

I would like to use heob to check my app for memory leaks. This is what i tried: I opened the project "analogclock" from the examples collection in qtcreator. After that i have chosen "Analyze" and "Heob" from the drop down menu. After choosing the heob path and a click on the ok button, the application starts and a console window "heob32" is displayed. But now nothing happens. Just the word "kill" is displayed in the console window. I canĀ“t see any output and if i close the analogclock app i get the message: "heob: cannot create target process". Can anyone help me further to get useful output from heob?
What OS are you using and what heob did you install?
You need to download and install heob separately from Creator. Creator just installs a link without heob itself. Have you done this? Are you really running on a 32-bit system (there is a heob64 in case you are using a modern OS).
Did you configure your heob installation in Qt Creator correctly?
Can you run heob from the commandline with reasonable behaviour?

Qt windowflags in Linux

Image of the main application and child application
Im using Linux Ubuntu 16.04 and Qt Application
I have a problem about a windowflags in qt, that when I enter in full screen mode, my application model bar and menu bar hides since my application opens 2 application.
So I decided to make another application to Qt::FramelessWindowhint in order the other application cannot be open and only the main application will be shown.
My problem is when I dragged the application to another monitor, the 2nd application will hide.
Can anyone help me about this problem?

Exe is running fine when run with VisualStudio2008 (Release Build) but if I run from Folder directly It crash at only one button

I am using QT,ITK,VTK and build theses libraries in X64.
I am developing an application in X64 using VisualStudio2008 .
This application loading the Image data and also provide around 10 buttons for different functionality when I am running it into debug/Release mode from Visual Studio it works fine, But If I run it from Folder or after making setup by clicking on exe it run fine with all the the features except one that is crashing in mid of the process and it is very random crash .
sometime it crash, sometimes not with the same data and if crash then also not in specific location sometime at
VTKImageData->DeepCopy(data),
ITKConnectorType::Pointer ItkConnector= ITKConnectorType::New();
after displaying QT widget on mainwindow.
But all the other widget functionality are working fine.
Please Help me. Thanks in advance.

Run Mac application of C++ and Qt on another Mac

I am trying run a simple C++ with QT application on another mac. I am trying to avoid having to install Qt on the other mac. This application was created in Xcode with cmake.
Two notes: my application (for some reason) does not create an .app file. It just creates a file with the name of my project (and no extension). I can run this file by double clicking, but still, it is not an .app. Does this matter?
Another thing, I am linking my application to static libraries of Qt. From what I understand, this should allow to run the application even if Qt is not installed, right? The result of running my application on the other mac is simply a terminal window that says: Instruction unknown.