Hello all, it has been a while since i last used this forum...
i am currently running the latest Mint distro and i am very interested in the QT dev kit that i have recently just discovered. I have decent skill with c++ and i have programmed in the terminal before and i really enjoy it. however with my freshly installed Linux Mint i can't get c++ projects to compile. The behavior i get is that the compiler isn't reading my #include lines correctly. it always crashes and reports that all my objects in main are unidefined references. I have looked but i can't find anything that solves this. Is there something about Mint thats different from other distros when it comes to compiling code?
oops... i'm the OP and im already of topic lol I was trying to compile an extremly basic qt example from a book but everytime i try i get "permision denied" i have tried running it from root and i reinstalled qt on as both my standard account and as the root user and i always get the same thing..
here is the code example i am using..
int main( int argc, char *argv )
QApplication app( argc, argv );
QLabel *label = new QLabel( "Hello World with QT!" );
return app.exec( );
as i said its a really basic example... these are the commands i'm using to compile and run the program:
qmake -project // because the book told me to.
qmake HelloWorld.pro // because apparently the .pro file was made by the previous //command.
./HelloWorld // the book doesn't explain this part for linux so i tried this &&
but they all return the permission denied thing... i consider myself a decent c++ programmer but this enviorment is still fairly new to me and i am very lost... i hope my rambling makes sense to more than just me i have been awake far to long lol any help or tips would be really apreciated thanks