<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationDetails" xlink:href="qlys-20171231.xsd#BusinessCombinationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationNotes" xlink:href="qlys-20171231.xsd#BusinessCombinationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:href="qlys-20171231.xsd#BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationTables" xlink:href="qlys-20171231.xsd#BusinessCombinationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:href="qlys-20171231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="qlys-20171231.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:href="qlys-20171231.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:href="qlys-20171231.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:href="qlys-20171231.xsd#CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="qlys-20171231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="qlys-20171231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:href="qlys-20171231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="qlys-20171231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="qlys-20171231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="qlys-20171231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:href="qlys-20171231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="qlys-20171231.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:href="qlys-20171231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlans" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansExpenseDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeStockAndBenefitPlansTables" xlink:href="qlys-20171231.xsd#EmployeeStockAndBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="qlys-20171231.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:href="qlys-20171231.xsd#GoodwillAndIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:href="qlys-20171231.xsd#GoodwillAndIntangibleAssetsNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:href="qlys-20171231.xsd#GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:href="qlys-20171231.xsd#GoodwillAndIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxes" xlink:href="qlys-20171231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTables" xlink:href="qlys-20171231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesTaxRateReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="qlys-20171231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:href="qlys-20171231.xsd#NetIncomePerShareAttributableToCommonStockholders" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:href="qlys-20171231.xsd#NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:href="qlys-20171231.xsd#NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNet" xlink:href="qlys-20171231.xsd#OtherIncomeExpenseNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNetDetails" xlink:href="qlys-20171231.xsd#OtherIncomeExpenseNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/OtherIncomeExpenseNetTables" xlink:href="qlys-20171231.xsd#OtherIncomeExpenseNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:href="qlys-20171231.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:href="qlys-20171231.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:href="qlys-20171231.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:href="qlys-20171231.xsd#QuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:href="qlys-20171231.xsd#QuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:href="qlys-20171231.xsd#QuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:href="qlys-20171231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:href="qlys-20171231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:href="qlys-20171231.xsd#SegmentInformationAndInformationAboutGeographicArea" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:href="qlys-20171231.xsd#SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:href="qlys-20171231.xsd#SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FA4DF6DCAC026133D530BF690A8FF621" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FA4DF6DCAC026133D530BF690A8FF621" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BDAA1C3BAB8F56042CD3BF690A8F32C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FA4DF6DCAC026133D530BF690A8FF621" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BDAA1C3BAB8F56042CD3BF690A8F32C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BDAA1C3BAB8F56042CD3BF690A8F32C7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BDAA1C3BAB8F56042CD3BF690A8F32C7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_A8C27B56E71C6B3C7033BF690A8F68FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_A8C27B56E71C6B3C7033BF690A8F68FA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_E73F97A0B6FA73BBB0EFBF690A90782E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ED43774544A11E2C467BF690A8F9853" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_E73F97A0B6FA73BBB0EFBF690A90782E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1E186BB18C7B55AE34A8BF690A9071D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1E186BB18C7B55AE34A8BF690A9071D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredOther1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_CD9FB11F8E433C681B55BF690A955DA9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_CD9FB11F8E433C681B55BF690A955DA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_837CF32FF3AACCE91C57BF690A90A793" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_837CF32FF3AACCE91C57BF690A90A793" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_F82856699FFC61D01BA5BF6D710D7F8D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_F82856699FFC61D01BA5BF6D710D7F8D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_20A1D909F520850988B1BF6E73AEBBF7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_20A1D909F520850988B1BF6E73AEBBF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_9F298457126439676C0CBF6A288ACFFF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_79A17D38FD085B2ECEFCBF690A90EA8D" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_9F298457126439676C0CBF6A288ACFFF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_718E7A665ECEF4D833E597F87DC87B54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_718E7A665ECEF4D833E597F87DC87B54" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3E2DB47A7212E6D154EA97F87DC8BDF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_718E7A665ECEF4D833E597F87DC87B54" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3E2DB47A7212E6D154EA97F87DC8BDF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3E2DB47A7212E6D154EA97F87DC8BDF5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3E2DB47A7212E6D154EA97F87DC8BDF5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_2DB800A50671998D761497F87DC86BD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_2DB800A50671998D761497F87DC86BD4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_F2742B2E27C7562E90AB97F87DC8249D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_F2742B2E27C7562E90AB97F87DC8249D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_NevisAndNetWatcherMember" xlink:label="loc_qlys_NevisAndNetWatcherMember_3A8CBEE951488F9F039397F87DC8270A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_46B63B1D13A07AAEA26197F87DC8FD74" xlink:to="loc_qlys_NevisAndNetWatcherMember_3A8CBEE951488F9F039397F87DC8270A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_3D5D203D894E36125DCC97F87DC88C5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_3D5D203D894E36125DCC97F87DC88C5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0FC44548A759C3424A7897F87DC88D46" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0FC44548A759C3424A7897F87DC88D46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_5B3C4ED3B2A1A4668E8B97F87DC8EAEE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_5B3C4ED3B2A1A4668E8B97F87DC8EAEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_399E4D47D529AE0F2B0997F87DC894D9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0106F90188273F5C7D1E97F87DC8B718" xlink:to="loc_us-gaap_Goodwill_399E4D47D529AE0F2B0997F87DC894D9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_651947C37A671E3B33EB980B6F318570" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C814E60190C3BBD1548E980B6F31EB48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_651947C37A671E3B33EB980B6F318570" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C814E60190C3BBD1548E980B6F31EB48" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_77BDC187D6FDB93F6A65980B6F31FEDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C814E60190C3BBD1548E980B6F31EB48" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_77BDC187D6FDB93F6A65980B6F31FEDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_77BDC187D6FDB93F6A65980B6F31FEDD" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_77BDC187D6FDB93F6A65980B6F31FEDD" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_LeaseAgreementForHeadquartersMember" xlink:label="loc_qlys_LeaseAgreementForHeadquartersMember_999F406EE7A6F78941BA980B6F3163E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_9C5C167EE2244D23A19B980B6F3118BE" xlink:to="loc_qlys_LeaseAgreementForHeadquartersMember_999F406EE7A6F78941BA980B6F3163E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_D59F8794D6E09C9D1593980B6F3125E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_C814E60190C3BBD1548E980B6F31EB48" xlink:to="loc_us-gaap_CreditFacilityAxis_D59F8794D6E09C9D1593980B6F3125E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_D59F8794D6E09C9D1593980B6F3125E7" xlink:to="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_D59F8794D6E09C9D1593980B6F3125E7" xlink:to="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_E79D9378A5A5A0BEF786980B6F310096" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_82FFCE22CCC9B5ECB709980B6F31EFA2" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_E79D9378A5A5A0BEF786980B6F310096" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract" xlink:label="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_9FE37A949DA1825624FB980B6F315426" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_651947C37A671E3B33EB980B6F318570" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_9FE37A949DA1825624FB980B6F315426" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_1AF752AA852D195599BB980B6F32E6D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_651947C37A671E3B33EB980B6F318570" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_1AF752AA852D195599BB980B6F32E6D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1ABD92832D7BA317D673980B6F321F08" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_651947C37A671E3B33EB980B6F318570" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1ABD92832D7BA317D673980B6F321F08" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_9530557CABC75136B2F0BFD47268C15C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_9530557CABC75136B2F0BFD47268C15C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C0F2108C46C07A01CB8EBFD4727DB081_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_9530557CABC75136B2F0BFD47268C15C" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C0F2108C46C07A01CB8EBFD4727DB081_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C0F2108C46C07A01CB8EBFD4727DB081" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_9530557CABC75136B2F0BFD47268C15C" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C0F2108C46C07A01CB8EBFD4727DB081" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherExpenseMember" xlink:label="loc_us-gaap_OtherExpenseMember_F4B42CC2F36A058D7B92BFD49BCE5B83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_C0F2108C46C07A01CB8EBFD4727DB081" xlink:to="loc_us-gaap_OtherExpenseMember_F4B42CC2F36A058D7B92BFD49BCE5B83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_29205071DCEE5CB49FD1BFBAC83A8123" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_29205071DCEE5CB49FD1BFBAC83A8123" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_29205071DCEE5CB49FD1BFBAC83A8123" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_29205071DCEE5CB49FD1BFBAC83A8123" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_E1D5E7DB6044205B5DE1BFBAC83ADC7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_E1D5E7DB6044205B5DE1BFBAC83ADC7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_F96DB8F937726F5C9F27BFBAC83AD721" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_CD4A009C5F3B8CEC81E7BFBAC83A53B8" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_F96DB8F937726F5C9F27BFBAC83AD721" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_B181ABE7D6453CD12869BFBAC83A146D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_StatementScenarioAxis_B181ABE7D6453CD12869BFBAC83A146D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_ECF8DDD3EC0F2193CF67BFBAC83AEE05_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_B181ABE7D6453CD12869BFBAC83A146D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_ECF8DDD3EC0F2193CF67BFBAC83AEE05_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_ECF8DDD3EC0F2193CF67BFBAC83AEE05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_B181ABE7D6453CD12869BFBAC83A146D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_ECF8DDD3EC0F2193CF67BFBAC83AEE05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestatementAdjustmentMember" xlink:label="loc_us-gaap_RestatementAdjustmentMember_025F689D16C9B11A2738BFBAC83BC3A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_ECF8DDD3EC0F2193CF67BFBAC83AEE05" xlink:to="loc_us-gaap_RestatementAdjustmentMember_025F689D16C9B11A2738BFBAC83BC3A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_4A48C8D3180CF80D26F9BFBAC83B482D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4A48C8D3180CF80D26F9BFBAC83B482D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_104EA11DEEF4D2C54AB7BFBAC83B48A9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4A48C8D3180CF80D26F9BFBAC83B482D" xlink:to="loc_us-gaap_EquityComponentDomain_104EA11DEEF4D2C54AB7BFBAC83B48A9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_104EA11DEEF4D2C54AB7BFBAC83B48A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4A48C8D3180CF80D26F9BFBAC83B482D" xlink:to="loc_us-gaap_EquityComponentDomain_104EA11DEEF4D2C54AB7BFBAC83B48A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_89EE4B8AD954B3194A31BFBAC83B0138" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_104EA11DEEF4D2C54AB7BFBAC83B48A9" xlink:to="loc_us-gaap_RetainedEarningsMember_89EE4B8AD954B3194A31BFBAC83B0138" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_ED54D6666BD2BCE131EEBFBAC83BF02B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_ED54D6666BD2BCE131EEBFBAC83BF02B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F1B70D2556B8A15DEA39BFBAC83BC184_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_ED54D6666BD2BCE131EEBFBAC83BF02B" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F1B70D2556B8A15DEA39BFBAC83BC184_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F1B70D2556B8A15DEA39BFBAC83BC184" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_ED54D6666BD2BCE131EEBFBAC83BF02B" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F1B70D2556B8A15DEA39BFBAC83BC184" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_4FF5590F82A6BDE18CFDBFBAC83B2E9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_F1B70D2556B8A15DEA39BFBAC83BC184" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_4FF5590F82A6BDE18CFDBFBAC83B2E9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9F10A851CBC954DD4DBEBFBAC83B1BC9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9F10A851CBC954DD4DBEBFBAC83B1BC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4B1E3EEE1486C881D2EBBFBAC83B572A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9F10A851CBC954DD4DBEBFBAC83B1BC9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4B1E3EEE1486C881D2EBBFBAC83B572A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4B1E3EEE1486C881D2EBBFBAC83B572A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9F10A851CBC954DD4DBEBFBAC83B1BC9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4B1E3EEE1486C881D2EBBFBAC83B572A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_80FABF7CA12615020E29BFBAC83B69F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4B1E3EEE1486C881D2EBBFBAC83B572A" xlink:to="loc_us-gaap_AccountsReceivableMember_80FABF7CA12615020E29BFBAC83B69F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8C76317CBA866C11B4CCBFBAC83C8093" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8C76317CBA866C11B4CCBFBAC83C8093" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C57DFBD6F1C8F6AB40ADBFBAC83CDB53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8C76317CBA866C11B4CCBFBAC83C8093" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C57DFBD6F1C8F6AB40ADBFBAC83CDB53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C57DFBD6F1C8F6AB40ADBFBAC83CDB53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8C76317CBA866C11B4CCBFBAC83C8093" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C57DFBD6F1C8F6AB40ADBFBAC83CDB53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_346BE468D32D166EFCAABFBAC83C0F94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C57DFBD6F1C8F6AB40ADBFBAC83CDB53" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_346BE468D32D166EFCAABFBAC83C0F94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_01168DCD5D36018F5BD8BFBAC83CF9C2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_01168DCD5D36018F5BD8BFBAC83CF9C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_57518B37D0A73CA6D69EBFBAC83C79B3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01168DCD5D36018F5BD8BFBAC83CF9C2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_57518B37D0A73CA6D69EBFBAC83C79B3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_57518B37D0A73CA6D69EBFBAC83C79B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01168DCD5D36018F5BD8BFBAC83CF9C2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_57518B37D0A73CA6D69EBFBAC83C79B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_82582068040244F9C6BABFBAC83CE3DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_57518B37D0A73CA6D69EBFBAC83C79B3" xlink:to="loc_us-gaap_ForwardContractsMember_82582068040244F9C6BABFBAC83CE3DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_83CE51358824F0676A90BFBAC83CDE51" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_83CE51358824F0676A90BFBAC83CDE51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_298A3A3F8FBD89DAD01CBFBAC83C0655_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_83CE51358824F0676A90BFBAC83CDE51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_298A3A3F8FBD89DAD01CBFBAC83C0655_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_298A3A3F8FBD89DAD01CBFBAC83C0655" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_83CE51358824F0676A90BFBAC83CDE51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_298A3A3F8FBD89DAD01CBFBAC83C0655" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_F52E57696809931518D0BFBAC83C4E26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_298A3A3F8FBD89DAD01CBFBAC83C0655" xlink:to="loc_qlys_ScannerAppliancesMember_F52E57696809931518D0BFBAC83C4E26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_E74D19A541BAE8A7FEDFBFBAC83C0819" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_B526BBE9C2062B29DEB9BFBAC838CF6E" xlink:to="loc_us-gaap_RangeAxis_E74D19A541BAE8A7FEDFBFBAC83C0819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E74D19A541BAE8A7FEDFBFBAC83C0819" xlink:to="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E74D19A541BAE8A7FEDFBFBAC83C0819" xlink:to="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_3EA4A811F130A5BD0ACBBFBAC83C6BF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0" xlink:to="loc_us-gaap_MinimumMember_3EA4A811F130A5BD0ACBBFBAC83C6BF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_3EF1CA16F247CAB08893BFBAC83CDE05" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9AB1E177A3A7218F5487BFBAC83CCFB0" xlink:to="loc_us-gaap_MaximumMember_3EF1CA16F247CAB08893BFBAC83CDE05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_6C1681F64BD4777DCDDEBFBAC83D4B29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_6C1681F64BD4777DCDDEBFBAC83D4B29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_9AD445CFCFE0C3ED0AD8BFBAC83D9F23" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_CostOfRevenue_9AD445CFCFE0C3ED0AD8BFBAC83D9F23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_D6CF148D27E3DC6BD8A7BFBAC83DA04D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_D6CF148D27E3DC6BD8A7BFBAC83DA04D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_F46037BC5EDED38B08DBBFBAC83DF219" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_SellingAndMarketingExpense_F46037BC5EDED38B08DBBFBAC83DF219" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ConcentrationOfCreditRiskAbstract" xlink:label="loc_qlys_ConcentrationOfCreditRiskAbstract_97531B1E672F93238CD4BFBAC83DCFDC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_qlys_ConcentrationOfCreditRiskAbstract_97531B1E672F93238CD4BFBAC83DCFDC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ConcentrationRiskNumberOfCustomers" xlink:label="loc_qlys_ConcentrationRiskNumberOfCustomers_7FAC301887898EF36E54BFBAC83D087A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ConcentrationOfCreditRiskAbstract_97531B1E672F93238CD4BFBAC83DCFDC" xlink:to="loc_qlys_ConcentrationRiskNumberOfCustomers_7FAC301887898EF36E54BFBAC83D087A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1D6E476791ED0BC7BBE0BFBAC83DC8D1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1D6E476791ED0BC7BBE0BFBAC83DC8D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_736C78082FF24927F410BFBAC83D7A33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_1D6E476791ED0BC7BBE0BFBAC83DC8D1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_736C78082FF24927F410BFBAC83D7A33" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_GoodwillAndIntangibleAssetsNetAbstract" xlink:label="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_285D7435A6B37E17E510BFBAC83D5533" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_285D7435A6B37E17E510BFBAC83D5533" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_DFAEF50B3531E1033847BFBAC83DA15C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_285D7435A6B37E17E510BFBAC83D5533" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_DFAEF50B3531E1033847BFBAC83DA15C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_9D15AFC971DDB2A0FCA1BFBAC83DAF1A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_285D7435A6B37E17E510BFBAC83D5533" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_9D15AFC971DDB2A0FCA1BFBAC83DAF1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentAbstract" xlink:label="loc_us-gaap_ResearchAndDevelopmentAbstract_5B7AF28CF3C98070345EBFBAC83DC80C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_ResearchAndDevelopmentAbstract_5B7AF28CF3C98070345EBFBAC83DC80C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_CapitalizedSoftwareDevelopmentCosts" xlink:label="loc_qlys_CapitalizedSoftwareDevelopmentCosts_DC4774F9649C6CB894ACBFBAC83D776A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_5B7AF28CF3C98070345EBFBAC83DC80C" xlink:to="loc_qlys_CapitalizedSoftwareDevelopmentCosts_DC4774F9649C6CB894ACBFBAC83D776A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_8B828794F97A7742E63CBFBAC83E5E99" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_5B7AF28CF3C98070345EBFBAC83DC80C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_8B828794F97A7742E63CBFBAC83E5E99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_7DFFC3F9B41A80DCA233BFBAC83E82E2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_5B7AF28CF3C98070345EBFBAC83DC80C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_7DFFC3F9B41A80DCA233BFBAC83E82E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SummaryOfDerivativeInstrumentsAbstract" xlink:label="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeNumberOfInstrumentsHeld" xlink:label="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_AEC491D155D51E4822D4BFBAC83EDA78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_AEC491D155D51E4822D4BFBAC83EDA78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_8289FD42E0F647AC4F5CBFBAC83E34DE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_invest_DerivativeNotionalAmount_8289FD42E0F647AC4F5CBFBAC83E34DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_39F498385391418BB96DBFBAC83E8C59" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_39F498385391418BB96DBFBAC83E8C59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_FC85BBD22DB2971CB568BFBAC83E40FC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_FC85BBD22DB2971CB568BFBAC83E40FC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_OtherForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_B117522837EB7441A87BBFBAC83E9FE0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_B117522837EB7441A87BBFBAC83E9FE0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_A885FAF938CDFCA5A443BFBAC83E9268" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_982AF5086B73F451A0AABFBAC83E5FB8" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_A885FAF938CDFCA5A443BFBAC83E9268" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketingAndAdvertisingExpenseAbstract" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_5D1A11A316AC6DABFCACBFBAC83E608A" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_5D1A11A316AC6DABFCACBFBAC83E608A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_53470AA7A78EDED09489BFBAC83E04D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_5D1A11A316AC6DABFCACBFBAC83E608A" xlink:to="loc_us-gaap_AdvertisingExpense_53470AA7A78EDED09489BFBAC83E04D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_756D89831406B0738F2CBFBAC83D7BC3" xlink:to="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_F8EB59639F2D14CFE2FABFD2A0071029" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_F8EB59639F2D14CFE2FABFD2A0071029" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_8AFA96B5CC1FE5111ECCBFBAC83EC2A3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_8AFA96B5CC1FE5111ECCBFBAC83EC2A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5E305F17DD1E09672415BFBAC83F500C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5E305F17DD1E09672415BFBAC83F500C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_SalesCommissionAmortizationPeriod" xlink:label="loc_qlys_SalesCommissionAmortizationPeriod_3E044D03406076CFAF2DBFBBCE334977" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_qlys_SalesCommissionAmortizationPeriod_3E044D03406076CFAF2DBFBBCE334977" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6F25831E3E28A3BEC6A5BFBAC83FD737" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6F25831E3E28A3BEC6A5BFBAC83FD737" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_E4D7A598BE5D5E946892BFBAC83F01EF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_282B15F274D3F828AFE7BFBAC83EDE26" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_E4D7A598BE5D5E946892BFBAC83F01EF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_15B448F7C46A57977BEEB514C6780DB9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_177E8B62AC5084BEA91EB514C676CD23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_15B448F7C46A57977BEEB514C6780DB9" xlink:to="loc_us-gaap_StatementTable_177E8B62AC5084BEA91EB514C676CD23" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_46A501CDE5256DD64192B524F0C4ED6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_177E8B62AC5084BEA91EB514C676CD23" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_46A501CDE5256DD64192B524F0C4ED6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_EF164DC985D0E3D34AE4B525EE104F3C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_46A501CDE5256DD64192B524F0C4ED6C" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_EF164DC985D0E3D34AE4B525EE104F3C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_EF164DC985D0E3D34AE4B525EE104F3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_46A501CDE5256DD64192B524F0C4ED6C" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_EF164DC985D0E3D34AE4B525EE104F3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_91116392A7CC44E20EAEB5260FF3FA15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_EF164DC985D0E3D34AE4B525EE104F3C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_91116392A7CC44E20EAEB5260FF3FA15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_FBB75FA2C85220001929B514C677F670" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_177E8B62AC5084BEA91EB514C676CD23" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_FBB75FA2C85220001929B514C677F670" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_FBB75FA2C85220001929B514C677F670" xlink:to="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_FBB75FA2C85220001929B514C677F670" xlink:to="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_59511760301102471DF4B514C6776AD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:to="loc_us-gaap_CommonStockMember_59511760301102471DF4B514C6776AD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_73E7978F63D3642E1361B514C678AD98" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_73E7978F63D3642E1361B514C678AD98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FFDE3CF2849ACA44404EB514C6787F46" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FFDE3CF2849ACA44404EB514C6787F46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_1D60CC7D3C71AB4E2D66B514C678A361" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D0E450A6D41DCC70BF33B514C67741E7" xlink:to="loc_us-gaap_RetainedEarningsMember_1D60CC7D3C71AB4E2D66B514C678A361" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_15B448F7C46A57977BEEB514C6780DB9" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_8191AF123CC1278179C7B514C678EDD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_StockholdersEquity_8191AF123CC1278179C7B514C678EDD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_D0CA569386F85E611665B514C67832F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_SharesOutstanding_D0CA569386F85E611665B514C67832F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_FA7BD4B12A3E2EEC58F3B514C678C35A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_NetIncomeLoss_FA7BD4B12A3E2EEC58F3B514C678C35A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_22AC03BC8B8DEC92AC09B514C678815E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_22AC03BC8B8DEC92AC09B514C678815E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_B0D93BECF96EE19B8767B514C678DF16" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_B0D93BECF96EE19B8767B514C678DF16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_27F6D3EC30322D8BA8CBB514C678F33B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_27F6D3EC30322D8BA8CBB514C678F33B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_StockIssuedDuringPeriodValueRestrictedStockAwardVested" xlink:label="loc_qlys_StockIssuedDuringPeriodValueRestrictedStockAwardVested_3BB534B8E2F2F28B0E1FB514C679F522" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_qlys_StockIssuedDuringPeriodValueRestrictedStockAwardVested_3BB534B8E2F2F28B0E1FB514C679F522" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested" xlink:label="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_F02ED55B7C2702D2CCD8B514C679A033" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_F02ED55B7C2702D2CCD8B514C679A033" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognitionEarlyExercised" xlink:label="loc_qlys_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognitionEarlyExercised_308F727A3CC44F6F0A9DB514C679C3EF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_qlys_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognitionEarlyExercised_308F727A3CC44F6F0A9DB514C679C3EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_13B69C4F52E453F8476FB514C6796557" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_13B69C4F52E453F8476FB514C6796557" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_33751B799C3341E03CA5B514C6794E55" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_33751B799C3341E03CA5B514C6794E55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_3E50AD42BECDC491DDA8B514C6793894" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_3E50AD42BECDC491DDA8B514C6793894" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_2227CA4EA138F0C07407B514C6798F6E" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_2227CA4EA138F0C07407B514C6798F6E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares" xlink:label="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_39425762E41AD3E30C68B52B280082E0" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_39425762E41AD3E30C68B52B280082E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A6F97D21509D8FCAB630B514C67938A0" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A6F97D21509D8FCAB630B514C67938A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_E8381FF33D77B6489835B5245440759E" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E82A3CB42C25139649CDB514C67884B6" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_E8381FF33D77B6489835B5245440759E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansCommonStockAndPreferredStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_502BC309EADFF00EE971BF6A46A6BA73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_502BC309EADFF00EE971BF6A46A6BA73" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_F63B6160E3BDAAF78851BF6A46A600FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_502BC309EADFF00EE971BF6A46A6BA73" xlink:to="loc_us-gaap_PlanNameAxis_F63B6160E3BDAAF78851BF6A46A600FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_F63B6160E3BDAAF78851BF6A46A600FA" xlink:to="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_F63B6160E3BDAAF78851BF6A46A600FA" xlink:to="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_7D5F8649928DE6A3BB58BF6A46ABDB58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_7D5F8649928DE6A3BB58BF6A46ABDB58" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_67B921105E80548B570FBF6A46AC6F68" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_21BA87AB013568C9EA20BF6A46ABCA3C" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_67B921105E80548B570FBF6A46AC6F68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_3E74C3005EDF226833FDBF6A46AC0EAB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_502BC309EADFF00EE971BF6A46A6BA73" xlink:to="loc_us-gaap_StatementClassOfStockAxis_3E74C3005EDF226833FDBF6A46AC0EAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3E74C3005EDF226833FDBF6A46AC0EAB" xlink:to="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3E74C3005EDF226833FDBF6A46AC0EAB" xlink:to="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_DCCCBFADB62A6CD5122DBF6A46ACC1FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_78FD36FF4047D86AD928BF6A46AC1642" xlink:to="loc_us-gaap_PreferredStockMember_DCCCBFADB62A6CD5122DBF6A46ACC1FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_9349A7CE4472CEB226FEBF6A46ACA3F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_9349A7CE4472CEB226FEBF6A46ACA3F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_812BEFAB40C62636E198BF6A46ACBB5F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_812BEFAB40C62636E198BF6A46ACBB5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_BAC14AFFE6D115138347BF6A46AC5C23" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_BAC14AFFE6D115138347BF6A46AC5C23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E6165CBEF524CD8D5908BF6A46AC4F84" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_4A2DB497DC8F13416169BF6A46ADD2AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_4A2DB497DC8F13416169BF6A46ADD2AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_BB6310DB40C561B6E45ABF6A46AD8785" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_BB6310DB40C561B6E45ABF6A46AD8785" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_A262494C537B34464626BF74CB461FBB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:to="loc_us-gaap_PreferredStockSharesIssued_A262494C537B34464626BF74CB461FBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_DBB1EF04CA9AAC9EAB5DBF75D4FA359B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_1593AA34B907E49DEDC5BF6A46ADE026" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_DBB1EF04CA9AAC9EAB5DBF75D4FA359B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_47EDE9C9F9C53FEF2D11BFF73F9DE436" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_47EDE9C9F9C53FEF2D11BFF73F9DE436" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_3423A39D89D4AD8D2C3CBFF73F9E6A32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_47EDE9C9F9C53FEF2D11BFF73F9DE436" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_3423A39D89D4AD8D2C3CBFF73F9E6A32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_3423A39D89D4AD8D2C3CBFF73F9E6A32" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_3423A39D89D4AD8D2C3CBFF73F9E6A32" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_102BBD65FBFCB2481225BFF73F9EFA2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:to="loc_us-gaap_CostOfSalesMember_102BBD65FBFCB2481225BFF73F9EFA2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4F83CFE8CA2A9C0BDB49BFF73F9F252A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4F83CFE8CA2A9C0BDB49BFF73F9F252A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_D2627754BDA4448E722BBFF73F9F6EF7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_D2627754BDA4448E722BBFF73F9F6EF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_AF15A5ED127881527CB9BFF73F9F308A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FF93089AF4333517B942BFF73F9E30F6" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_AF15A5ED127881527CB9BFF73F9F308A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_04C176B4BCD75FD79CC6BFF73F9F5F27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_47EDE9C9F9C53FEF2D11BFF73F9DE436" xlink:to="loc_us-gaap_AwardTypeAxis_04C176B4BCD75FD79CC6BFF73F9F5F27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3D0996C1387BF4A4DA31BFF73F9F050F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_04C176B4BCD75FD79CC6BFF73F9F5F27" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3D0996C1387BF4A4DA31BFF73F9F050F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3D0996C1387BF4A4DA31BFF73F9F050F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_04C176B4BCD75FD79CC6BFF73F9F5F27" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3D0996C1387BF4A4DA31BFF73F9F050F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_B08F059DC2A8C45CBEF7BFF73F9F46CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3D0996C1387BF4A4DA31BFF73F9F050F" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B08F059DC2A8C45CBEF7BFF73F9F46CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_B6BA6C07D9F9567B7301BFF73F9F478E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_B6BA6C07D9F9567B7301BFF73F9F478E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_EBD7B2EA018C69B866BABFF73F9F6ECB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_EBD7B2EA018C69B866BABFF73F9F6ECB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3EB5337DC9ADF2C5DA12BFF73F9F0B45" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3EB5337DC9ADF2C5DA12BFF73F9F0B45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims" xlink:label="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_D2213BBBBA127C777D07BFF73F9FCA24" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_D2213BBBBA127C777D07BFF73F9FCA24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_F849D6F9C5B5C243EA49BFF73FA03CA1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_81BDEF993519E46486ADBFF73F9F7E20" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_F849D6F9C5B5C243EA49BFF73FA03CA1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansFairValueAssumptionsStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A94979EA32831751780647E71B3E377B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A94979EA32831751780647E71B3E377B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_D37FF681210E7B7C2F5847E71B3E003F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A94979EA32831751780647E71B3E377B" xlink:to="loc_us-gaap_RangeAxis_D37FF681210E7B7C2F5847E71B3E003F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_D37FF681210E7B7C2F5847E71B3E003F" xlink:to="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_D37FF681210E7B7C2F5847E71B3E003F" xlink:to="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_318148B6C2A909FA380147E71B3E39DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92" xlink:to="loc_us-gaap_MinimumMember_318148B6C2A909FA380147E71B3E39DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_CA5B34450FD60224D28147E71B3E1CA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_FA28A1D4D93A728778C947E71B3E8F92" xlink:to="loc_us-gaap_MaximumMember_CA5B34450FD60224D28147E71B3E1CA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_7A9E30294608A6BDC04747E71B3EAD87" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A94979EA32831751780647E71B3E377B" xlink:to="loc_us-gaap_AwardTypeAxis_7A9E30294608A6BDC04747E71B3EAD87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284470D50A6419F613BC47E71B3EA6E9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_7A9E30294608A6BDC04747E71B3EAD87" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284470D50A6419F613BC47E71B3EA6E9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284470D50A6419F613BC47E71B3EA6E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_7A9E30294608A6BDC04747E71B3EAD87" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284470D50A6419F613BC47E71B3EA6E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_923D39381B06438E68F647E71B3E71F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284470D50A6419F613BC47E71B3EA6E9" xlink:to="loc_us-gaap_EmployeeStockOptionMember_923D39381B06438E68F647E71B3E71F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_BB0EB85BBB4810576B1C47E71B3E25FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_BB0EB85BBB4810576B1C47E71B3E25FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C4DB7CC712881CEB590447E71B3E3E45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C4DB7CC712881CEB590447E71B3E3E45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_B5257135E63142FE458747E71B3E38FA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_B5257135E63142FE458747E71B3E38FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_03DBD017629D2F5D164F47E71B3EBC5C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21D7307DC85B5D0FBDB747E71B3EA86D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_03DBD017629D2F5D164F47E71B3EBC5C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansOptionsOutstandingAndVestedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_F9BAEB8A7EED2485E5C7B51968A61424" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_F9BAEB8A7EED2485E5C7B51968A61424" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_C9156A3912839A2D0E2FB51968A6D5AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_F9BAEB8A7EED2485E5C7B51968A61424" xlink:to="loc_us-gaap_PlanNameAxis_C9156A3912839A2D0E2FB51968A6D5AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21F1C42695D0706E1189B51968A6A878_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_C9156A3912839A2D0E2FB51968A6D5AF" xlink:to="loc_us-gaap_PlanNameDomain_21F1C42695D0706E1189B51968A6A878_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21F1C42695D0706E1189B51968A6A878" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_C9156A3912839A2D0E2FB51968A6D5AF" xlink:to="loc_us-gaap_PlanNameDomain_21F1C42695D0706E1189B51968A6A878" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_AD8BD39319C1868556D3B51968A6515F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_21F1C42695D0706E1189B51968A6A878" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_AD8BD39319C1868556D3B51968A6515F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_0A6B9C52C71EA979BDB8B51968A6C208" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_F9BAEB8A7EED2485E5C7B51968A61424" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_0A6B9C52C71EA979BDB8B51968A6C208" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_0A6B9C52C71EA979BDB8B51968A6C208" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_0A6B9C52C71EA979BDB8B51968A6C208" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeOneMember" xlink:label="loc_qlys_ExercisePriceRangeOneMember_24469EFFDA46BFF4EFB0B51968A61646" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeOneMember_24469EFFDA46BFF4EFB0B51968A61646" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeTwoMember" xlink:label="loc_qlys_ExercisePriceRangeTwoMember_D9C0E67F4449E1184657B51968A6FD72" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeTwoMember_D9C0E67F4449E1184657B51968A6FD72" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeThreeMember" xlink:label="loc_qlys_ExercisePriceRangeThreeMember_954B6A76ED2C07B93235B51968A7F144" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeThreeMember_954B6A76ED2C07B93235B51968A7F144" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeFourMember" xlink:label="loc_qlys_ExercisePriceRangeFourMember_27C1CCDBBD9835771F1CB51968A711C7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeFourMember_27C1CCDBBD9835771F1CB51968A711C7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeFiveMember" xlink:label="loc_qlys_ExercisePriceRangeFiveMember_A27F808E1D9B26974EF8B51968A7BE8D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeFiveMember_A27F808E1D9B26974EF8B51968A7BE8D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeSixMember" xlink:label="loc_qlys_ExercisePriceRangeSixMember_635F9C56193F4FA718FAB51968A7D211" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeSixMember_635F9C56193F4FA718FAB51968A7D211" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeSevenMember" xlink:label="loc_qlys_ExercisePriceRangeSevenMember_50F909C4882A1C34D828B51968A7DEC4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeSevenMember_50F909C4882A1C34D828B51968A7DEC4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeEightMember" xlink:label="loc_qlys_ExercisePriceRangeEightMember_7B0B8664ED8EC5AFF152B51968A76EF2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeEightMember_7B0B8664ED8EC5AFF152B51968A76EF2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeNineMember" xlink:label="loc_qlys_ExercisePriceRangeNineMember_624F133F143FB50F1152B51968A73480" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeNineMember_624F133F143FB50F1152B51968A73480" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ExercisePriceRangeTenMember" xlink:label="loc_qlys_ExercisePriceRangeTenMember_B632C376A5425DCDAC17B51968A72130" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_874DC8B3F179A47869ABB51968A61205" xlink:to="loc_qlys_ExercisePriceRangeTenMember_B632C376A5425DCDAC17B51968A72130" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_74BF394C1FA0A442E100B51968A7EF1A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_F9BAEB8A7EED2485E5C7B51968A61424" xlink:to="loc_us-gaap_AwardTypeAxis_74BF394C1FA0A442E100B51968A7EF1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9B0956A1F51DDCC00701B51968A8FC53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_74BF394C1FA0A442E100B51968A7EF1A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9B0956A1F51DDCC00701B51968A8FC53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9B0956A1F51DDCC00701B51968A8FC53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_74BF394C1FA0A442E100B51968A7EF1A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9B0956A1F51DDCC00701B51968A8FC53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_DB4A4F2E78C202A25A08B51968A81666" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9B0956A1F51DDCC00701B51968A8FC53" xlink:to="loc_us-gaap_EmployeeStockOptionMember_DB4A4F2E78C202A25A08B51968A81666" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_22767515994A6F9956A2B51968A835D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_22767515994A6F9956A2B51968A835D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_4246BD936683AB453F80B51968A81C44" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_4246BD936683AB453F80B51968A81C44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_00F8EE2D47E792791CB6B51968A8A6AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_00F8EE2D47E792791CB6B51968A8A6AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_4774EB6AC63CA5B8828DB51968A8ECC9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_4774EB6AC63CA5B8828DB51968A8ECC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_9205C7FEA18C53A118E6B51968A8AE21" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_9205C7FEA18C53A118E6B51968A8AE21" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_7EE3AF2D5F5CFEC5C526B51968A847CC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_7EE3AF2D5F5CFEC5C526B51968A847CC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_BC892B4F286B9EBB62E1B51968A8C8A2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_BC892B4F286B9EBB62E1B51968A8C8A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_BF5A88939D2292F5079AB51968A87A68" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_BF5A88939D2292F5079AB51968A87A68" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_B3A26D896D3B1C4FBE17B51968A88593" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_B3A26D896D3B1C4FBE17B51968A88593" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_285997C78DA0F4893F3CB51968A8A901" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_593489EC401219CFB7CAB51968A856CC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_285997C78DA0F4893F3CB51968A8A901" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansPlanInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_015A1091BEAF201A4346BF6A46980A5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_015A1091BEAF201A4346BF6A46980A5D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_015A1091BEAF201A4346BF6A46980A5D" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF_default" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_015A1091BEAF201A4346BF6A46980A5D" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_IncreaseOfNumberOfSharesOptionMember" xlink:label="loc_qlys_IncreaseOfNumberOfSharesOptionMember_7DDC9FB6EFC5E9C3AD20BF6A4698CE33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF" xlink:to="loc_qlys_IncreaseOfNumberOfSharesOptionMember_7DDC9FB6EFC5E9C3AD20BF6A4698CE33" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember" xlink:label="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_C6A3AFB1BBD6AC1D0244BF6A4698AF49" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_954E4A1284039960A286BF6A469832FF" xlink:to="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_C6A3AFB1BBD6AC1D0244BF6A4698AF49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_5D665D7F3AE711CF21DBBF6A4698F234" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:to="loc_us-gaap_PlanNameAxis_5D665D7F3AE711CF21DBBF6A4698F234" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_5D665D7F3AE711CF21DBBF6A4698F234" xlink:to="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_5D665D7F3AE711CF21DBBF6A4698F234" xlink:to="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_1BDC82D57F555B94D341BF6A4699682A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_1BDC82D57F555B94D341BF6A4699682A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_192E885D421E5800B2C8BF6A4699195F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_25DBAB8FA0B7A9C3FCC3BF6A4698F165" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_192E885D421E5800B2C8BF6A4699195F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C9928BC8A2E4E7FE03D2BF6A4699B358" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:to="loc_us-gaap_AwardTypeAxis_C9928BC8A2E4E7FE03D2BF6A4699B358" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23E70379BECC9396EED0BF6A469902C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C9928BC8A2E4E7FE03D2BF6A4699B358" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23E70379BECC9396EED0BF6A469902C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23E70379BECC9396EED0BF6A469902C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C9928BC8A2E4E7FE03D2BF6A4699B358" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23E70379BECC9396EED0BF6A469902C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_448544D96E15CFE0ED2EBF6A4699CEA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23E70379BECC9396EED0BF6A469902C6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_448544D96E15CFE0ED2EBF6A4699CEA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_A9F81639345F75DE67ADBF6A4699BD1D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9B6A615F8CE86584E71EBF6A46989E0F" xlink:to="loc_us-gaap_RangeAxis_A9F81639345F75DE67ADBF6A4699BD1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_A9F81639345F75DE67ADBF6A4699BD1D" xlink:to="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_A9F81639345F75DE67ADBF6A4699BD1D" xlink:to="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_C4A1FD120AB0E041E0C7BF6A46990B48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082" xlink:to="loc_us-gaap_MaximumMember_C4A1FD120AB0E041E0C7BF6A46990B48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_CE7A2AEAE9D4B8A9F99CBF6A469951EF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_DADA2B5EB89AB2AADBCBBF6A4699E082" xlink:to="loc_us-gaap_MinimumMember_CE7A2AEAE9D4B8A9F99CBF6A469951EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1307DA9D01E7F5790F97BF6A469AFCC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1307DA9D01E7F5790F97BF6A469AFCC4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_4695B945C524E6FABA55BF6A469A8DD5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_4695B945C524E6FABA55BF6A469A8DD5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_95C239FD3718C8140CB4BF6A469A446D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_95C239FD3718C8140CB4BF6A469A446D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_EC6DE5BE3602A481FC4FBF6A469AC5AD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_EC6DE5BE3602A481FC4FBF6A469AC5AD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_1EA33D541E7029D8653BBF6A469A92E1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_1EA33D541E7029D8653BBF6A469A92E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_CC5B45F87ED646AB9A82BF6A469A0099" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_CC5B45F87ED646AB9A82BF6A469A0099" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_FD6C5A9D0AA2EB1D34C5BF798B0143D4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_FD6C5A9D0AA2EB1D34C5BF798B0143D4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_449D62EDC0FFF81F0C74BF6A469ABFAC" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_449D62EDC0FFF81F0C74BF6A469ABFAC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_C4A6AF5A5ED8E76D0515BF6A469AC5A0" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E99A8D5F88ED89A16A53BF6A469A0A86" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_C4A6AF5A5ED8E76D0515BF6A469AC5A0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A46249AAB35A706FEF65B95FECAA770A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A46249AAB35A706FEF65B95FECAA770A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5D3F8EAE346E2E0D8941B95FECABD961" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A46249AAB35A706FEF65B95FECAA770A" xlink:to="loc_us-gaap_AwardTypeAxis_5D3F8EAE346E2E0D8941B95FECABD961" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1DB5C00B051A229B9A4CB95FECABD0EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5D3F8EAE346E2E0D8941B95FECABD961" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1DB5C00B051A229B9A4CB95FECABD0EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1DB5C00B051A229B9A4CB95FECABD0EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5D3F8EAE346E2E0D8941B95FECABD961" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1DB5C00B051A229B9A4CB95FECABD0EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_BBE604D156D2778AE2BCB95FECABFE0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1DB5C00B051A229B9A4CB95FECABD0EC" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_BBE604D156D2778AE2BCB95FECABFE0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5E8B6079B777676564F2B95FECAB96B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5E8B6079B777676564F2B95FECAB96B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D233EAF2AC3401EC98A7B95FECAB9FB0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D233EAF2AC3401EC98A7B95FECAB9FB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_AE4F6F4601E0E90B3897B95FECABCC36" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_AE4F6F4601E0E90B3897B95FECABCC36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9E0269F0F69D92D002D8B95FECAB576E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9E0269F0F69D92D002D8B95FECAB576E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_958FE12FF1EC09ABCB8DB95FECAC5746" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_958FE12FF1EC09ABCB8DB95FECAC5746" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_514DA4082F03A162CB16B95FECACE897" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCD49571A0961769061CB95FECAB5B8D" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_514DA4082F03A162CB16B95FECACE897" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8047521E287B45F136E447E71B2E9476" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8047521E287B45F136E447E71B2E9476" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_31B0F8EB85EA8B44594047E71B2E049C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8047521E287B45F136E447E71B2E9476" xlink:to="loc_us-gaap_AwardTypeAxis_31B0F8EB85EA8B44594047E71B2E049C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D24D7B6D567CE3C9CF9647E71B2E367D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_31B0F8EB85EA8B44594047E71B2E049C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D24D7B6D567CE3C9CF9647E71B2E367D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D24D7B6D567CE3C9CF9647E71B2E367D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_31B0F8EB85EA8B44594047E71B2E049C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D24D7B6D567CE3C9CF9647E71B2E367D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2BC45D2C406032B7DFD547E71B2F654F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D24D7B6D567CE3C9CF9647E71B2E367D" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2BC45D2C406032B7DFD547E71B2F654F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_70DA28184470EF02D09B47E71B2FE3F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_70DA28184470EF02D09B47E71B2FE3F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_77E0EE96ACCF867CA00547E71B2FEDF2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_77E0EE96ACCF867CA00547E71B2FEDF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_CEB25976395A5FAFA28947E71B2F05B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_CEB25976395A5FAFA28947E71B2F05B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_015CC2A13BAB272299EB47E71B2F0F35" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B48BD7916349C788658447E71B2F5B14" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_015CC2A13BAB272299EB47E71B2F0F35" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_FAE36BA8843F7572B92447E71B2F35C7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_FAE36BA8843F7572B92447E71B2F35C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_483A7D57395FEED3897447E71B2FDB81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_483A7D57395FEED3897447E71B2FDB81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_870152DFB46C0AB2A6BE47E71B2FE7D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_870152DFB46C0AB2A6BE47E71B2FE7D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5102D337364C8741443747E71B2F00D6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5102D337364C8741443747E71B2F00D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_409255715B709F127ACF47E71B2F5FEA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EFCB9340E1E4BE1C328747E71B2F7FFC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_409255715B709F127ACF47E71B2F5FEA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_751B2D9C05D4F8F3E0AB47E71B2F5277" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_C6603B0058C6B8C47EBA47E71B2FC724" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_751B2D9C05D4F8F3E0AB47E71B2F5277" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeStockAndBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesRestrictedCashReconciliationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6CA1453EB786C25B839498059B662151" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_51CB55C7903F581CFDE498059B65A730" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6CA1453EB786C25B839498059B662151" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_51CB55C7903F581CFDE498059B65A730" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_A9188B50F18BC6970EE998059B65882E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_51CB55C7903F581CFDE498059B65A730" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_A9188B50F18BC6970EE998059B65882E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_A9188B50F18BC6970EE998059B65882E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_A9188B50F18BC6970EE998059B65882E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_82BCF676DFAB8F949A5898059B66AA84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_82BCF676DFAB8F949A5898059B66AA84" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AvailableForSaleSecuritiesLineItemMember" xlink:label="loc_qlys_AvailableForSaleSecuritiesLineItemMember_31C53A716EB2E5FE197D98059B668BB3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6" xlink:to="loc_qlys_AvailableForSaleSecuritiesLineItemMember_31C53A716EB2E5FE197D98059B668BB3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_LongTermInvestmentsMember" xlink:label="loc_qlys_LongTermInvestmentsMember_1F67A12B127D0F93F62A98059B6655A6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_5E241AC3E36C51BB473298059B6595D6" xlink:to="loc_qlys_LongTermInvestmentsMember_1F67A12B127D0F93F62A98059B6655A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_45992EE29751A7BCC2BC98059B66AEB1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_51CB55C7903F581CFDE498059B65A730" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_45992EE29751A7BCC2BC98059B66AEB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_45992EE29751A7BCC2BC98059B66AEB1" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_45992EE29751A7BCC2BC98059B66AEB1" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_B1B992636282143A4BEA98059B669377" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_CashMember_B1B992636282143A4BEA98059B669377" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_9CABA83ECB6598A1B60198059B667847" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_MoneyMarketFundsMember_9CABA83ECB6598A1B60198059B667847" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_4A0884B7F6ECF9461A4D98059B660B2C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_4A0884B7F6ECF9461A4D98059B660B2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_2D58684F81E757D5328C98059B665510" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_CommercialPaperMember_2D58684F81E757D5328C98059B665510" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_31C7C647438A79AB184798059B665B4D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_31C7C647438A79AB184798059B665B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_292F89F70A7FDDBB570798059B66F779" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_21E2B459CBC9A57A65FA98059B66BD3E" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_292F89F70A7FDDBB570798059B66F779" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6CA1453EB786C25B839498059B662151" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_DF7D421C47BC3D93AFF898059B669980" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_DF7D421C47BC3D93AFF898059B669980" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1936B57D57E09814583D98059B66609E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1936B57D57E09814583D98059B66609E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_CE7233A9F88907A143F798059B6785EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_CE7233A9F88907A143F798059B6785EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_D2F125633D6B7941BB6698059B67619C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_599B62F422E9463031A998059B6602B0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_D2F125633D6B7941BB6698059B67619C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D13D04B8788264DA123EBBB53807361C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D13D04B8788264DA123EBBB53807361C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ED345CFB9EA514D226C6BBB538076027" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D13D04B8788264DA123EBBB53807361C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ED345CFB9EA514D226C6BBB538076027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ED345CFB9EA514D226C6BBB538076027" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ED345CFB9EA514D226C6BBB538076027" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_30068EA768EB998EBDAEBBB538072C26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:to="loc_us-gaap_CommercialPaperMember_30068EA768EB998EBDAEBBB538072C26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_0EEB2B9023FAA4533472BBB5380730C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_0EEB2B9023FAA4533472BBB5380730C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_6B61C1A36EE8BB3730BABBB53807AD3C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_6B61C1A36EE8BB3730BABBB53807AD3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_A0812033A1F61F458882BBB538077520" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BA0A25FD6345878F82DDBBB538073698" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_A0812033A1F61F458882BBB538077520" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_3CE78B31CC9FF0F10020BBB53807E01C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_3CE78B31CC9FF0F10020BBB53807E01C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_2D2AEFC252D5A7A53530BBB5380742EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_2D2AEFC252D5A7A53530BBB5380742EB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_53FBD60678440916CE6ABBB53807F7AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_53FBD60678440916CE6ABBB53807F7AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_C134A2465D2DD8CBBCFEBBB53807C38E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_944AFF8538C7E15275C0BBB5380717A7" xlink:to="loc_us-gaap_AvailableForSaleSecurities_C134A2465D2DD8CBBCFEBBB53807C38E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34428C3B880950C7D635B5207482C90D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34428C3B880950C7D635B5207482C90D" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_82BE19F1F56A00CDF814B520747F5D25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_82BE19F1F56A00CDF814B520747F5D25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_82BE19F1F56A00CDF814B520747F5D25" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_82BE19F1F56A00CDF814B520747F5D25" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_13199E3AF92230EE4221B52074808094" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_D5A7B7ACD593B4ED2B5CB520747F14DA" xlink:to="loc_us-gaap_ForwardContractsMember_13199E3AF92230EE4221B52074808094" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_D014AA9A47963D07E7B9B5207480D364" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_D014AA9A47963D07E7B9B5207480D364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_D014AA9A47963D07E7B9B5207480D364" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_D014AA9A47963D07E7B9B5207480D364" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_319F858C6AF9126BE35EB5207480C0C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:to="loc_us-gaap_CommercialPaperMember_319F858C6AF9126BE35EB5207480C0C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_03D36F97CB37D4D6C6A8B5207480849D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_03D36F97CB37D4D6C6A8B5207480849D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_9FF94B3453E6C3B5619EB5207480456D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_9FF94B3453E6C3B5619EB5207480456D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_6F0008B4AE445CC622BCB520748066F7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A3BEA8B808B9E100CC7EB5207480E37B" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_6F0008B4AE445CC622BCB520748066F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_39F4634D6B80D0CF9EB4B5207481AA21" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_39F4634D6B80D0CF9EB4B5207481AA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_39F4634D6B80D0CF9EB4B5207481AA21" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_39F4634D6B80D0CF9EB4B5207481AA21" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_BDC4B4E3BE5E41BAACBDB52074814B5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_BDC4B4E3BE5E41BAACBDB52074814B5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_D3A6B150DFF9B3B66475B5207481B1FD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_D3A6B150DFF9B3B66475B5207481B1FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_3E032AFDDA2E06CB0302B5207481011E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1DEB9D8061820D2597AFB5207481673D" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_3E032AFDDA2E06CB0302B5207481011E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D7BFCC8F079F865CC620B52074818858" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D7BFCC8F079F865CC620B52074818858" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D7BFCC8F079F865CC620B52074818858" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D7BFCC8F079F865CC620B52074818858" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_E8F73105C16C923FF20BB5207481D462" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_81D9CC1133DACC12ED7FB520748141EF" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_E8F73105C16C923FF20BB5207481D462" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_71216500D92AA6EDF854B5207481D14D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5C7127D4FD6D176C9B40B520747F33D7" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_71216500D92AA6EDF854B5207481D14D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_71216500D92AA6EDF854B5207481D14D" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_5A8AA086FEC0325E7FF9B52074822403" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_71216500D92AA6EDF854B5207481D14D" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_5A8AA086FEC0325E7FF9B52074822403" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_5A8AA086FEC0325E7FF9B52074822403" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4973AF30BC3179CEAFADB5207482586F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_34D118A642496EEB2468B52074827574" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_5A8AA086FEC0325E7FF9B52074822403" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_34D118A642496EEB2468B52074827574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_F243CC4F718A012DBA13B5207482E9D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34428C3B880950C7D635B5207482C90D" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_F243CC4F718A012DBA13B5207482E9D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_E5FFEE717AE05FE93DD2B5207482558F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_F243CC4F718A012DBA13B5207482E9D0" xlink:to="loc_us-gaap_AvailableForSaleSecurities_E5FFEE717AE05FE93DD2B5207482558F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_5D85736794130CF16C9EB52074714A6F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EDB0E79679874E6FB2B8B52074700AB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_5D85736794130CF16C9EB52074714A6F" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EDB0E79679874E6FB2B8B52074700AB7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F044708C192551D01B89B5207471EA61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EDB0E79679874E6FB2B8B52074700AB7" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F044708C192551D01B89B5207471EA61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F044708C192551D01B89B5207471EA61" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F044708C192551D01B89B5207471EA61" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_0A0D71756B5B180602D9B5207471FB0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_971FE58CB90B9BC46952B520747122D2" xlink:to="loc_us-gaap_ForwardContractsMember_0A0D71756B5B180602D9B5207471FB0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_20292AD485D8B6FF95B7B520747105CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_5D85736794130CF16C9EB52074714A6F" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_20292AD485D8B6FF95B7B520747105CC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:type="locator" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsTable" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B017EE727C24E2EEDD91BFBBB99E468F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B017EE727C24E2EEDD91BFBBB99E468F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_298ECEE5AFB5F1F7EBDDBFBBB99F5806" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B017EE727C24E2EEDD91BFBBB99E468F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_298ECEE5AFB5F1F7EBDDBFBBB99F5806" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_298ECEE5AFB5F1F7EBDDBFBBB99F5806" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_298ECEE5AFB5F1F7EBDDBFBBB99F5806" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_1A70F0F0EB571F5BA4F7BFBBB99F01E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_1A70F0F0EB571F5BA4F7BFBBB99F01E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_9333A78DF6AAA77A9441BFBBB99F2F97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B4E25DF90CC233CB42D1BFBBB99FB416" xlink:to="loc_us-gaap_PatentsMember_9333A78DF6AAA77A9441BFBBB99F2F97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_E856748498EDCA70D7C7BFBBB99FD7A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_E856748498EDCA70D7C7BFBBB99FD7A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_C599B0F782A3A22B7003BFBBB9A02A39" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_C599B0F782A3A22B7003BFBBB9A02A39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_BE23551E1DCC2EAE247BBFBBB9A0FB73" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_BE23551E1DCC2EAE247BBFBBB9A0FB73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_EAEDBE582717009029E7BFBBB9A0807C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_EAEDBE582717009029E7BFBBB9A0807C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_C2A2924385A3D936EE4FBFBBB9A0C324" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_C2A2924385A3D936EE4FBFBBB9A0C324" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_DBA1B74C52CE2F8FFE85BFBBB9A07025" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_DBA1B74C52CE2F8FFE85BFBBB9A07025" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2E7FE0B20F7CEA3549D8BFBBB9A0387E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2E7FE0B20F7CEA3549D8BFBBB9A0387E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_CE1457590F0C0DC68646BFBBB9A68FBB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_CE1457590F0C0DC68646BFBBB9A68FBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_4B5C3D6868517ACA14FCBFBBB9A6D72E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EB6992EF3FB34F907173BFBBB99FE00E" xlink:to="loc_us-gaap_Goodwill_4B5C3D6868517ACA14FCBFBBB9A6D72E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20171231.xsd#qlys_IncomeTaxLineItems" xlink:label="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:type="locator" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_IncomeTaxTable" xlink:label="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F7096D2803B04CFBCB0EBFBBB7942C06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F7096D2803B04CFBCB0EBFBBB7942C06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B22ACC20E860038D1D41BFBBB794BCC6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F7096D2803B04CFBCB0EBFBBB7942C06" xlink:to="loc_us-gaap_EquityComponentDomain_B22ACC20E860038D1D41BFBBB794BCC6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B22ACC20E860038D1D41BFBBB794BCC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F7096D2803B04CFBCB0EBFBBB7942C06" xlink:to="loc_us-gaap_EquityComponentDomain_B22ACC20E860038D1D41BFBBB794BCC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_8F260DC923E528476ABEBFBBB794CBFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B22ACC20E860038D1D41BFBBB794BCC6" xlink:to="loc_us-gaap_RetainedEarningsMember_8F260DC923E528476ABEBFBBB794CBFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_DECFBFA84E8F4142DC33BFBBB7944D62" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_DECFBFA84E8F4142DC33BFBBB7944D62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_695218DFE127424A371BBFBBB7993B35_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_DECFBFA84E8F4142DC33BFBBB7944D62" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_695218DFE127424A371BBFBBB7993B35_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_695218DFE127424A371BBFBBB7993B35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_DECFBFA84E8F4142DC33BFBBB7944D62" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_695218DFE127424A371BBFBBB7993B35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_9A927134AED9CB5BECA9BFBBB799CCD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_695218DFE127424A371BBFBBB7993B35" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_9A927134AED9CB5BECA9BFBBB799CCD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_AF39B41204280D2B44E4BFBBB7990FB2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_AF39B41204280D2B44E4BFBBB7990FB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_AF39B41204280D2B44E4BFBBB7990FB2" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_AF39B41204280D2B44E4BFBBB7990FB2" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_D9EFCA9C87E7B4CA519EBFBBB79A6CCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_D9EFCA9C87E7B4CA519EBFBBB79A6CCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_8419CAD2D04279720633BFBBB79A38CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_8419CAD2D04279720633BFBBB79A38CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_9CB0BDB73372E6F12312BFBBB79AAD03" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_FE2C7B790BB413C5DD65BFBBB79AF8F1" xlink:to="loc_us-gaap_ForeignCountryMember_9CB0BDB73372E6F12312BFBBB79AAD03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_5319268C6DE20E8B625DBFBBB79A182E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_D98AEACE2F851EE5360BBFBBB79313C8" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_5319268C6DE20E8B625DBFBBB79A182E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_CA9F9207CE45FEF5DAC2BFBBB79AC62F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_5319268C6DE20E8B625DBFBBB79A182E" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_CA9F9207CE45FEF5DAC2BFBBB79AC62F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_CA9F9207CE45FEF5DAC2BFBBB79AC62F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_5319268C6DE20E8B625DBFBBB79A182E" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_CA9F9207CE45FEF5DAC2BFBBB79AC62F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchMember" xlink:label="loc_us-gaap_ResearchMember_0075AE9CAB3F19D56AAABFBBB79A7F61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_CA9F9207CE45FEF5DAC2BFBBB79AC62F" xlink:to="loc_us-gaap_ResearchMember_0075AE9CAB3F19D56AAABFBBB79A7F61" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_B2E2EABB1812D4C926A8BFBBB79A5D88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_B2E2EABB1812D4C926A8BFBBB79A5D88" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingTransitionTaxforAccumulatedForeignEarningsProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingTransitionTaxforAccumulatedForeignEarningsProvisionalIncomeTaxExpenseBenefit_8614CEAC4EEC984D08C4BFBBB79AE931" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingTransitionTaxforAccumulatedForeignEarningsProvisionalIncomeTaxExpenseBenefit_8614CEAC4EEC984D08C4BFBBB79AE931" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings" xlink:label="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_C21002B5E24F90DC3F67BFBBB79A73A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_C21002B5E24F90DC3F67BFBBB79A73A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_3448AA1BD853FC996D2ABFBBB79ABF57" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_3448AA1BD853FC996D2ABFBBB79ABF57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_D27A87CDB88FFB993479BFBBB79A724D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_D27A87CDB88FFB993479BFBBB79A724D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8EBC97812D60F88F28BDBFBBB79B2492" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8EBC97812D60F88F28BDBFBBB79B2492" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_320F25654DF998F0FD65BFBBB79BE0E3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_320F25654DF998F0FD65BFBBB79BE0E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_4A054E76014268F81AC4BFBBB79B5D53" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_4A054E76014268F81AC4BFBBB79B5D53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_DA3475710CBCF2864D3DBFBBB79B5E77" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_OperatingLossCarryforwards_DA3475710CBCF2864D3DBFBBB79B5E77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_BC1F0A56C4449F8D189CBFBBB79BC643" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_BC1F0A56C4449F8D189CBFBBB79BC643" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_15116B6B61D31A71BA13BFBBB79BB2F6" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_15116B6B61D31A71BA13BFBBB79BB2F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_AFFF48E4A59187210B35BFBBB79BA5D0" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_F08E2A725BDE7628B4A5BFBBB79AE290" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_AFFF48E4A59187210B35BFBBB79BA5D0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_8C5B7C3D5577E16E8DB0B95D3E9550CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_8C5B7C3D5577E16E8DB0B95D3E9550CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7C580FE9DDE57FC3AF04B95D3E951A8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_8C5B7C3D5577E16E8DB0B95D3E9550CF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7C580FE9DDE57FC3AF04B95D3E951A8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7C580FE9DDE57FC3AF04B95D3E951A8B" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7C580FE9DDE57FC3AF04B95D3E951A8B" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_36E48E93E58620D62436B95D3E95D3AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70" xlink:to="loc_us-gaap_EmployeeStockOptionMember_36E48E93E58620D62436B95D3E95D3AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_3F90F4530FFCE98EFB38B95D3E95EC45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3D6B37760EF2C9893548B95D3E95AA70" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_3F90F4530FFCE98EFB38B95D3E95EC45" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_NumeratorAbstract" xlink:label="loc_qlys_NumeratorAbstract_5C0A455456DA9242FC5CB95D3E95BD65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_qlys_NumeratorAbstract_5C0A455456DA9242FC5CB95D3E95BD65" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_NetIncomeLossAvailabletoCommonStockholdersBasicandDiluted" xlink:label="loc_qlys_NetIncomeLossAvailabletoCommonStockholdersBasicandDiluted_783D982F2CD32918AD94B95FD644658E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_NumeratorAbstract_5C0A455456DA9242FC5CB95D3E95BD65" xlink:to="loc_qlys_NetIncomeLossAvailabletoCommonStockholdersBasicandDiluted_783D982F2CD32918AD94B95FD644658E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_DenominatorAbstract" xlink:label="loc_qlys_DenominatorAbstract_B9DDF7E652D80B654287B95D3E95A187" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_qlys_DenominatorAbstract_B9DDF7E652D80B654287B95D3E95A187" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_116BCEEEDB44E875F0EFB95D3E956667" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_B9DDF7E652D80B654287B95D3E95A187" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_116BCEEEDB44E875F0EFB95D3E956667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DilutiveSecuritiesAbstract" xlink:label="loc_us-gaap_DilutiveSecuritiesAbstract_A71C9F9497CCD4E58334B95D3E95CBF5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_B9DDF7E652D80B654287B95D3E95A187" xlink:to="loc_us-gaap_DilutiveSecuritiesAbstract_A71C9F9497CCD4E58334B95D3E95CBF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_AEA1583F5DFE8125C2C3B95D3E959D7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_A71C9F9497CCD4E58334B95D3E95CBF5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_AEA1583F5DFE8125C2C3B95D3E959D7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_F5715F8C82F5EACB24D7B95D3E95CDE3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_A71C9F9497CCD4E58334B95D3E95CBF5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_F5715F8C82F5EACB24D7B95D3E95CDE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ECB19A01E14BE6FDB580B95D3E95488B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_B9DDF7E652D80B654287B95D3E95A187" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ECB19A01E14BE6FDB580B95D3E95488B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_215E6BAB2DEE48602812B95D3E955C66" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_us-gaap_EarningsPerShareBasic_215E6BAB2DEE48602812B95D3E955C66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_DAB96724598DE50FEEBFB95D3E95AF39" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_us-gaap_EarningsPerShareDiluted_DAB96724598DE50FEEBFB95D3E95AF39" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_AntidilutiveSecuritiesAbstract" xlink:label="loc_qlys_AntidilutiveSecuritiesAbstract_5E822FE8EBC1CD9A3050B95D3E95D79E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DBBD7CC27F842B234638B95D3E95F07A" xlink:to="loc_qlys_AntidilutiveSecuritiesAbstract_5E822FE8EBC1CD9A3050B95D3E95D79E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_6ADB90A03489F77DFEDFB95D3E95BEDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AntidilutiveSecuritiesAbstract_5E822FE8EBC1CD9A3050B95D3E95D79E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_6ADB90A03489F77DFEDFB95D3E95BEDA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/OtherIncomeExpenseNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5F839AF1ED9B6D5AE3E4BBB537FBB64F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5F839AF1ED9B6D5AE3E4BBB537FBB64F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_253AB07CB8B495D92E77BBB537FB7382" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5F839AF1ED9B6D5AE3E4BBB537FBB64F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_253AB07CB8B495D92E77BBB537FB7382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_253AB07CB8B495D92E77BBB537FB7382" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_253AB07CB8B495D92E77BBB537FB7382" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_5944BA8668C277D0D95BBBB537FD349F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_us-gaap_ComputerEquipmentMember_5944BA8668C277D0D95BBBB537FD349F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_D8507DF2E76584F68AF1BBB537FDAB25" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_D8507DF2E76584F68AF1BBB537FDAB25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_7D287CF09DBAC7BEBFCFBBB537FDD69B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_7D287CF09DBAC7BEBFCFBBB537FDD69B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_93F3DFF95F945BADA403BBB537FD08B9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_qlys_ScannerAppliancesMember_93F3DFF95F945BADA403BBB537FD08B9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_82E1AE69AE057ECA2B6CBBB537FDD96F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_93F3DFF95F945BADA403BBB537FD08B9" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_82E1AE69AE057ECA2B6CBBB537FDD96F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_AF77B5D20D32FB7F92B4BBB537FDD3B3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_93F3DFF95F945BADA403BBB537FD08B9" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_AF77B5D20D32FB7F92B4BBB537FDD3B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_543C6C3EDE8E278EAFCCBBB537FDECE2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_543C6C3EDE8E278EAFCCBBB537FDECE2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_OtherFixedAssetsNotPlacedInServiceMember" xlink:label="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_0336D609E55800B19D13BBB537FD6F29" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D84139545E64EA2BA68BBBB537FD046F" xlink:to="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_0336D609E55800B19D13BBB537FD6F29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_B87794AE61672B0B9ECDBBB537FD3EA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_B87794AE61672B0B9ECDBBB537FD3EA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4142DF35742E96A38431BBB537FD6F15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4142DF35742E96A38431BBB537FD6F15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_B606D61A79DBC028E910BBB537FDF143" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_B606D61A79DBC028E910BBB537FDF143" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization" xlink:label="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_8C4E64A574A8F79EF980BBB537FDE1A1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_8C4E64A574A8F79EF980BBB537FDE1A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1" xlink:label="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_6F32330E6402C3CB4BF8BBB537FD364A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_6F32330E6402C3CB4BF8BBB537FD364A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_722394CE67C11766EA59BBB537FD15DC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_722394CE67C11766EA59BBB537FD15DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_E9CA6F4A0356CA4082A9BBB537FD2DEF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2A5EBD75D6443B6E4D0BBBB537FD0488" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_E9CA6F4A0356CA4082A9BBB537FD2DEF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_84E3FF1E47BAFF0BAD3047E71B100DE5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2B37727AFD7B195283F047E71B0F315A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_84E3FF1E47BAFF0BAD3047E71B100DE5" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2B37727AFD7B195283F047E71B0F315A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_EA9E2980064D410FB7FB47E71B0F43AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2B37727AFD7B195283F047E71B0F315A" xlink:to="loc_us-gaap_StatementGeographicalAxis_EA9E2980064D410FB7FB47E71B0F43AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_EA9E2980064D410FB7FB47E71B0F43AB" xlink:to="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_EA9E2980064D410FB7FB47E71B0F43AB" xlink:to="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_2448526AF16C0D265D6547E71B10F255" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C" xlink:to="loc_country_US_2448526AF16C0D265D6547E71B10F255" xlink:type="arc" />
    <link:loc xlink:href="qlys-20171231.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_49711DB9485B014CDDDB47E71B101C56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_9A8BDB452F1309DBB22847E71B0FB02C" xlink:to="loc_qlys_OtherGeographicAreasMember_49711DB9485B014CDDDB47E71B101C56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_A98157FC0A42406E9E6F47E71B1087F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_84E3FF1E47BAFF0BAD3047E71B100DE5" xlink:to="loc_us-gaap_NumberOfOperatingSegments_A98157FC0A42406E9E6F47E71B1087F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_3C77A598085D343DD20E47E71B108413" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_84E3FF1E47BAFF0BAD3047E71B100DE5" xlink:to="loc_us-gaap_Revenues_3C77A598085D343DD20E47E71B108413" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_FCBA6C0E37EBA40A628247E71B1014F4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_84E3FF1E47BAFF0BAD3047E71B100DE5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_FCBA6C0E37EBA40A628247E71B1014F4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="extended" />
</link:linkbase>
