Hi,
I am new to the unix networking.
I have written one client and server for UDP sockets..
I got the following errors while conpilation
I have include all include files.
Could some one help ...is there any other file to be included.....?
will the include files change on different unix... (3 Replies)
Hello
Simple question about tcsh , i like to make external file that some tcsh script
will read from him var=="some value"
how can i make the include in tcsh files?
Thanks (0 Replies)
I want to include all the subnet files under /etc/dhcpd/ to /etc/dhcpd.conf
so here is my content of dhcpd.conf
...
include "/etc/dhcpd/*";
however, the check-syntax reports syntax error, as they do not recognize the wildcard *, and display that " file /etc/dhcpd/* could not be found.
... (4 Replies)
Hi there!
gcc seems not to include available files, see below:
What should I do?
Look forward to your reply/replies!
Thanks
Grahamb
In the source directory I enter:
#gcc -Wall -I/usr/include ./gtkdaq.c > ./out.log 2>&1
Response:
In file included from ./gtkdaq.c:3:... (2 Replies)
Hey there,
This is gotta be a stupid question, if there ever was one, but I am learning a lot by asking such questions.
Now I am trying to build this humungous library, which has all kinds a dependencies, which I realize as it makes, and i download all those dependent libs.
The compilation is... (1 Reply)
Our admin has upgraded our OS solaris system to 5.11 but no more I can compile any trivial or non-trivial code. I'm trying to compile a trivial c++ program(a Helloworld program) but It gives error indicating that include files do not exist (in this trivial case <stdio.h>), it starts compiling but... (1 Reply)
what is the relationship between
/usr/include/sys/*.h
and
/usr/include/unistd.h ?
Fuctions in unistd.h are syscalls. Do the fuctions in sys/*.h call syscalls? (7 Replies)
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions.
now the result is one huge .txt file with all the contents of other .txt files
how can i add a File Name as a comment before each file?
... (12 Replies)
I am trying to compile a file called PPFormatageMUT.c in which I have included header file which are at some other location but the point is that while compiling the file, it is throwing error saying that
error : no such file or directory
source code location:... (1 Reply)
I wrote this korn script and ran into a hole. I can use find to exclude all the hidden directories and to use my include file/exclude files for running a full backup
find / -depth -ipath '/home/testuser/.*' -prune -o -print| grep -f include.mydirs | grep -v -f exclude.mydirs
but when I... (8 Replies)
Discussion started by: metallica1973
8 Replies
LEARN ABOUT REDHAT
uic
uic(1) General Commands Manual uic(1)NAME
uic - Qt user interface compiler
SYNOPSIS
uic [options] file
DESCRIPTION
This page documents the User Interface Compiler for the Qt GUI application framework. The uic reads a user interface definition (.ui) file
in XML as generated by Qt Designer and creates corresponding C++ header or source files. It also generates an image file that embeds raw
image data in C++ source code.
Generate declaration:
uic [options] <file>
Generate implementation:
uic [options] -impl <headerfile> <file>
<headerfile>: name of the declaration file
Generate image collection:
uic [options] -embed <project> <image1> <image2> <image3> ...
<project>: project name
<image[1..n]>: image files
For convenience, uic can also generate declaration or implementation stubs for subclasses.
Generate subclass declaration:
uic [options] -subdecl <subclassname> <baseclassheaderfile> <file>
<subclassname>: name of the subclass to generate
<baseclassheaderfile>: declaration file of the baseclass
Generate subclass implementation:
uic [options] -subimpl <subclassname> <subclassheaderfile> <file>
<subclassname>: name of the subclass to generate
<subclassheaderfile>: declaration file of the subclass
GENERAL OPTIONS -o file
Write output to file rather than to stdout.
-nofwd Omit forward declarations of custom classes in the generated header file. This is necessary if typedef classes are used.
-tr func
Use func() instead of tr() for internationalization.
-v Display the version of uic and exit.
USAGE
uic is almost always invoked by make(1), rather than by hand.
Here are useful makefile rules if you only use GNU make:
%.h: %.ui
uic $< -o $@
%.cpp: %.ui
uic -impl $*.h $< -o $@
If you want to write portably, you can use individual rules of the following form:
NAME.h: NAME.ui
uic $< -o $@
NAME.cpp: NAME.ui
uic -impl $*.h $< -o $@
You must also remember to add NAME.cpp to your SOURCES (substitute your favorite name) variable and NAME.o to your OBJECTS variable.
(While we prefer to name our C++ source files .cpp, the uic doesn't care, so you can use .C, .cc, .CC, .cxx or even .c++ if you prefer.)
SEE ALSO
http://www.trolltech.com/
AUTHOR
Trolltech AS <info@trolltech.com>
Trolltech AS 2 Aug 2001 uic(1)