[Solved] Compiled from source, app doesn't want to open, even from old commits that were working
-
Hi and welcome to devnet,
There's some information missing like: what do you mean by you can not get it to run ? What exact error are you getting ? What OS are you using ? Was there an update to Qt done in between ? Do you have a new antivirus running ?
-
[quote author="SGaist" date="1407703174"]Hi and welcome to devnet,
There's some information missing like: what do you mean by you can not get it to run ? What exact error are you getting ? What OS are you using ? Was there an update to Qt done in between ? Do you have a new antivirus running ?[/quote]
I hit on each of your questions in the main post.
-
There's something fishy there, you should not need to run with admin rights, how was Qt installed ?
-
off this offline installer:
qt-opensource-windows-x86-mingw482_opengl-5.3.1
if you want, i'd be open to you teamviewing into my pc and trying to check it out.
-
Sorry, but I'm currently not a powerful enough connection for that
-
well if you can attempt to build it and see why the binary simply just exits without ever showing a window. then that might help. The entire project is like 300kb.
-
The binary can't be built since you have defined two main function, your test should be an independent sub-project. Anyway once that removed, it builds and run fine at least on OS X.
On a side note you should not have .pro.user files in your repository it's only valid for your computer
-
I don't have two main functions.
One of those is commented out.
-
it was those test files like you said. Maybe they had main's?
-
Then your git repository might not be up to date. Currently there's a main in main.cpp and one in diff_match_past_test.cpp
-
thanks, you found the solution. I wasn't aware that the test.cpp's would build, just not run my app.
-
It's listed in SOURCES so it will build.
What you can to about it is to make a test case project for each of your tests.
-
thanks, I think the issue was two fold.
One I had the .user file
and
two
I had other main's in my test...cpp
Thanks, but it's working now. You were a tremendous help. I'll reincorporate those other functions later.
-
You're welcome!
Then please also update the thread title prepending [solved] so other forum users may know a solution has been found :)