[SOLVED]Project something not working
-
Hello!
I don't know why, but after start debugging not working my project just show the project menu.
Why? Please help!
My project: https://www.dropbox.com/sh/dxsiz2pyrpnay32/c5Uc0emH-L
Thank you!
-
I would suggest to fix all warnings that you have during the build.
Then it may become more clear where the error is.Couple things that I see immediately
First, add to you .pro file
@
CONFIG += c++1
@Second, C++ does not support multiple returns like you put it Paklikeveres::kartyaosztas()
-
I wrote in the .pro file:
@
CONFIG += c++1
@and delete multiple returns, but still not work.
Errors:
https://www.dropbox.com/s/ce6sm0aahv25loh/Képernyőfotó 2014-04-19 - 9.38.50.pnghttps://www.dropbox.com/s/p2lnfpduhbe38pf/Képernyőfotó 2014-04-19 - 9.43.45.png
I try run this project one older save, but I get same errors, in turn not in errors.
-
Problem solved.
Wrong code:
@
for(int i = 0; i <= 15-1; i++)
{
mapper->setMapping(jpakli[i], i);
connect(jpakli[i], SIGNAL(clicked()), mapper, SLOT(map()));
}
@without the for loop is not error.
second problem was:
In the jatek file have one QPushButton jpakli[ 15 ] array and the for loop tried new buttons to 20. (sorry my wrong English language)
Thank you!
-
I corrected in the .pro file. Thank you!