![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
Qt executable run-able on other systems?
I am attempting to learn Qt programming with C++.
I know that in order to compile these programs ( just starting out with simple one-button displays ) I need to have the Qt libraries installed on my system. However, say that I was distributing the executable, and I sent it by email to another linux user by email (just an example). Would the other user ( without any libraries installed ) be able to simply run the Qt executable? Thanks ![]()
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#2 |
|
Professional Programmer
|
Depends on if you statically or dynamically linked the program. Usually (iirc), linking is dynamic, so the answer would be no, technically. However, most linux users have the Qt libraries already as they have KDE.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|