Hi Rob, So I have been trying to begin learning Qt, but after viewing Qt documentations, I realize that there are some problems that obstruct my learning:
1. Couldn't compile LyX-outline project as described here: http://blog.oak-tree.us/index.php/2010/06/25/lyx-outline02-1 I couldn't run CMake. The error message is very long, so I paste it in a txt file and put it in the attachment of this email. 2. When I was following the building-a-notepad tutorial ( http://qt-project.org/doc/qt-5.0/qtdoc/gettingstartedqt.html), the Qt Creator on my computer didn't have the "Application" under "Project" label as in the screenshot in the tutorial. Since I have tried to install Qt on my computer but it turned out to be an unsuccessful attempt, I deleted the older Qt's and installed a new one. I moved everything I can find with "Qt" to Trash, downloaded Qt 4.8.4 and debug libraries and Qt Creator 2.7.0. I installed the Creator first by following the instructions, then the libraries. I was thinking may be it was because I have installed so much and deleted (incompletely) some of them so my computer is a total mess right now. What should I do? Which step I followed was wrong? Thanks, Ashley ------------------------------------ *Xueqing Shan* Vanderbilt University, '16
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBINTL_INCLUDE_DIR (ADVANCED) used as include directory in directory /Users/Ashley/Developer/GSoC2013/lyx-outline/src/support used as include directory in directory /Users/Ashley/Developer/GSoC2013/lyx-outline/src/support/tests used as include directory in directory /Users/Ashley/Developer/GSoC2013/lyx-outline/src/support/tests used as include directory in directory /Users/Ashley/Developer/GSoC2013/lyx-outline/src/support/tests used as include directory in directory /Users/Ashley/Developer/GSoC2013/lyx-outline/src/client CMake Error at src/frontends/CMakeLists.txt:11 (add_subdirectory): add_subdirectory given source "qt4" which is not an existing directory. -- -- Building out-of-source -- The C compiler identification is Clang 4.2.0 -- The CXX compiler identification is Clang 4.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- -- Using GCC version 4.2.1 -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Found Qt-Version 4.8.4 -- Looking for magic_file -- Looking for magic_file - not found -- Function magic_file not found -- Looking for magic_open -- Looking for magic_open - not found -- Function magic_open not found -- Looking for magic_load -- Looking for magic_load - not found -- Function magic_load not found -- Looking for magic_close -- Looking for magic_close - not found -- Function magic_close not found -- Looking for magic_error -- Looking for magic_error - not found -- Function magic_error not found -- Looking for iconv -- Looking for iconv - not found -- Found iconv library: /usr/lib/libiconv.dylib -- Found Z: /usr/lib/libz.dylib -- -- ----- PACKAGE : LyX2.1 -- ----- PACKAGE_VERSION : 2.1.0dev -- ----- PROGRAM_SUFFIX : -- ----- LYX_DATE : 2011-04-29 -- ----- LYX_DIR_VER : LYX_DIR_21x -- ----- LYX_USERDIR_VER : LYX_USERDIR_21x -- ----- LYX_ABS_TOP_SRCDIR : /Users/Ashley/Developer/GSoC2013/lyx-outline -- ----- LYX_ABS_INSTALLED_DATADIR : /usr/local/lyx2.1 -- ----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/local/lyx2.1/locale -- ----- LYX_INSTALL_SUFFIX : 2.1 -- -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for C++ include aspell.h -- Looking for C++ include aspell.h - not found -- Looking for C++ include aspell/aspell.h -- Looking for C++ include aspell/aspell.h - not found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/utime.h -- Looking for include file sys/utime.h - not found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file argz.h -- Looking for include file argz.h - not found -- Looking for open -- Looking for open - found -- Looking for chmod -- Looking for chmod - found -- Looking for close -- Looking for close - found -- Looking for dcgettext -- Looking for dcgettext - not found -- Looking for popen -- Looking for popen - found -- Looking for pclose -- Looking for pclose - found -- Looking for _open -- Looking for _open - not found -- Looking for _close -- Looking for _close - not found -- Looking for _popen -- Looking for _popen - not found -- Looking for _pclose -- Looking for _pclose - not found -- Looking for getpid -- Looking for getpid - found -- Looking for gettext -- Looking for gettext - not found -- Looking for _getpid -- Looking for _getpid - not found -- Looking for mkdir -- Looking for mkdir - found -- Looking for _mkdir -- Looking for _mkdir - not found -- Looking for setenv -- Looking for setenv - found -- Looking for putenv -- Looking for putenv - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for strerror -- Looking for strerror - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strdup -- Looking for strdup - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for alloca -- Looking for alloca - not found -- Looking for __fsetlocking -- Looking for __fsetlocking - not found -- Looking for mempcpy -- Looking for mempcpy - not found -- Looking for __argz_count -- Looking for __argz_count - not found -- Looking for __argz_next -- Looking for __argz_next - not found -- Looking for __argz_stringify -- Looking for __argz_stringify - not found -- Looking for setlocale -- Looking for setlocale - found -- Looking for tsearch -- Looking for tsearch - found -- Looking for getegid -- Looking for getegid - found -- Looking for getgid -- Looking for getgid - found -- Looking for getuid -- Looking for getuid - found -- Looking for wcslen -- Looking for wcslen - found -- Looking for mkfifo -- Looking for mkfifo - found -- Looking for alloca -- Looking for alloca - not found -- Looking for asprintf -- Looking for asprintf - found -- Looking for wprintf -- Looking for wprintf - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for printf -- Looking for printf - found -- Looking for pid_t -- Looking for pid_t - not found -- Looking for intmax_t -- Looking for intmax_t - not found -- Looking for uintmax_t -- Looking for uintmax_t - not found -- Looking for LC_MESSAGES -- Looking for LC_MESSAGES - found -- Check size of intmax_t -- Check size of intmax_t - done -- Check size of long double -- Check size of long double - done -- Check size of long long -- Check size of long long - done -- Check size of wchar_t -- Check size of wchar_t - done -- Check size of wint_t -- Check size of wint_t - failed -- Performing Test HAVE_ICONV_CONST -- Performing Test HAVE_ICONV_CONST - Failed -- Performing Test SIZEOF_WCHAR_T_IS_2 -- Performing Test SIZEOF_WCHAR_T_IS_2 - Failed -- Performing Test SIZEOF_WCHAR_T_IS_4 -- Performing Test SIZEOF_WCHAR_T_IS_4 - Success -- Mac LinkBack support -- doxygen not found, ==> no doxygen creation -- -- Build options, switch LYX_* variables by -DLYX_*=ON or OFF: -- -- LYX_CPACK = OFF : Use the CPack management (Implies LYX_INSTALL option) -- LYX_LOCALVERSIONING = OFF : Add version info to created package name (only used if LYX_CPACK option set) -- LYX_INSTALL = OFF : Build install projects/rules (implies a bunch of other options) -- LYX_NLS = ON : Enable Native Language Support (NLS) -- LYX_ASPELL = OFF : Require aspell -- LYX_ENCHANT = OFF : Require Enchant -- LYX_HUNSPELL = OFF : Require Hunspell -- LYX_DEVEL_VERSION = OFF : Build developer version -- LYX_RELEASE = OFF : Build release version, build debug when disabled -- LYX_DEBUG = ON : Enforce debug build -- LYX_NO_OPTIMIZE = OFF : Don't use any optimization/debug flags -- LYX_PACKAGE_SUFFIX = ON : Use version suffix for packaging -- LYX_PCH = OFF : Use precompiled headers -- LYX_MERGE_FILES = OFF : Merge source files into one compilation unit -- LYX_MERGE_REBUILD = OFF : Rebuild generated files from merged files build -- LYX_QUIET = OFF : Don't generate verbose makefiles -- LYX_INSTALL_PREFIX = OFF : Install path for LyX -- LYX_EXTERNAL_LIBINTL = ON : Use external libintl -- LYX_BUNDLE = OFF : Build bundle (experimental) -- LYX_DMG = OFF : Build as Mac bundle, needed for .dmg (experimental) -- LYX_COCOA = OFF : Use Cocoa on Mac -- -- CMake command with options is available in shell script -- '/Users/Ashley/Developer/GSoC2013/lyx-outline-build/run_cmake.sh' -- -- Building Native Language Support (LYX_NLS is set), used libraries: -- -- * intl -- - header : LIBINTL_HEADER-NOTFOUND -- - library: -- * iconv -- - header : /usr/include/iconv.h -- - library: /usr/lib/libiconv.dylib -- * zlib -- - header : /usr/include/zlib.h -- - library: /usr/lib/libz.dylib -- -- -- Configuring incomplete, errors occurred!